ScummVM API documentation
Wintermute::BaseScriptHolder Class Reference
Inheritance diagram for Wintermute::BaseScriptHolder:
Wintermute::BaseScriptable Wintermute::BaseNamedObject Wintermute::BaseClass Wintermute::BaseObject Wintermute::BaseSprite Wintermute::AdInventory Wintermute::AdInventoryBox Wintermute::AdLayer Wintermute::AdObject Wintermute::AdResponse Wintermute::AdResponseBox Wintermute::AdRotLevel Wintermute::AdScaleLevel Wintermute::AdScene Wintermute::AdSceneGeometry Wintermute::AdSceneNode Wintermute::AdSpriteSet Wintermute::AdTalkDef Wintermute::AdWaypointGroup Wintermute::BaseFader Wintermute::BaseFont Wintermute::BaseGame Wintermute::BaseRegion Wintermute::PartEmitter Wintermute::SXObject Wintermute::UIObject Wintermute::UITiledImage Wintermute::XModel

Public Member Functions

 BaseScriptHolder (BaseGame *inGame)
 
ScScriptinvokeMethodThread (const char *methodName) override
 
virtual void makeFreezable (bool freezable)
 
bool canHandleEvent (const char *eventName) const
 
bool canHandleMethod (const char *eventMethod) const override
 
bool cleanup ()
 
bool removeScript (ScScript *script)
 
bool addScript (const char *filename)
 
bool saveAsText (BaseDynamicBuffer *buffer, int indent) override
 
virtual bool listen (BaseScriptHolder *param1, uint32 param2)
 
bool applyEvent (const char *eventName, bool unbreakable=false)
 
void setFilename (const char *filename)
 
const char * getFilename ()
 
bool parseProperty (char *buffer, bool complete=true)
 
ScValuescGetProperty (const Common::String &name) override
 
bool scSetProperty (const char *name, ScValue *value) override
 
bool scCallMethod (ScScript *script, ScStack *stack, ScStack *thisStack, const char *name) override
 
const char * scToString () override
 
void scDebuggerDesc (char *buf, int bufSize) override
 
virtual bool sendEvent (const char *eventName)
 
- Public Member Functions inherited from Wintermute::BaseScriptable
 BaseScriptable (BaseGame *inGame, bool noValue=false, bool persistable=true)
 
virtual void * scToMemBuffer ()
 
virtual int scToInt ()
 
virtual double scToFloat ()
 
virtual bool scToBool ()
 
virtual void scSetString (const char *val)
 
virtual void scSetInt (int val)
 
virtual void scSetFloat (double val)
 
virtual void scSetBool (bool val)
 
virtual int scCompare (BaseScriptable *val)
 
virtual Common::String debuggerToString () const
 
- Public Member Functions inherited from Wintermute::BaseNamedObject
 BaseNamedObject (BaseGame *inGame)
 
 BaseNamedObject (TDynamicConstructor, TDynamicConstructor)
 
const char * getName () const
 
void setName (const char *name)
 
- Public Member Functions inherited from Wintermute::BaseClass
bool setEditorProp (const Common::String &propName, const Common::String &propValue)
 
Common::String getEditorProp (const Common::String &propName, const Common::String &initVal=Common::String())
 
 BaseClass (TDynamicConstructor, TDynamicConstructor)
 
bool parseEditorProperty (char *buffer, bool complete=true)
 
 BaseClass (BaseGame *GameOwner)
 
virtual const char * getClassName ()
 
virtual bool persist (BasePersistenceManager *persistMgr)
 

Public Attributes

bool _freezable
 
bool _ready
 
BaseArray< ScScript * > _scripts
 
- Public Attributes inherited from Wintermute::BaseScriptable
int32 _refCount
 
ScValue_scValue
 
ScValue_scProp
 
- Public Attributes inherited from Wintermute::BaseNamedObject
char * _name
 
- Public Attributes inherited from Wintermute::BaseClass
bool _persistable
 
BaseGame_gameRef
 

Additional Inherited Members

- Protected Attributes inherited from Wintermute::BaseClass
Common::HashMap< Common::String, Common::String_editorProps
 
Common::HashMap< Common::String, Common::String >::iterator _editorPropsIter
 

The documentation for this class was generated from the following file: