ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::BaseScriptable Class Reference

#include <base_scriptable.h>

Inheritance diagram for Wintermute::BaseScriptable:
Collaboration diagram for Wintermute::BaseScriptable:

List of all members.

Public Member Functions

virtual ScScriptinvokeMethodThread (const char *methodName)
 BaseScriptable (BaseGame *inGame, bool noValue=false, bool persistable=true)
 ~BaseScriptable () override
virtual bool canHandleMethod (const char *eventMethod) const
virtual bool scSetProperty (const char *name, ScValue *value)
virtual ScValuescGetProperty (const Common::String &name)
virtual bool scCallMethod (ScScript *script, ScStack *stack, ScStack *thisStack, const char *name)
virtual const char * scToString ()
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 void scDebuggerDesc (char *buf, int bufSize)
virtual Common::String debuggerToString () const

Public Attributes

int32 _refCount
ScValue_scValue
ScValue_scProp

Detailed Description

Definition at line 42 of file base_scriptable.h.


Constructor & Destructor Documentation

Wintermute::BaseScriptable::BaseScriptable ( BaseGame inGame,
bool  noValue = false,
bool  persistable = true 
)

Definition at line 38 of file base_scriptable.cpp.

Wintermute::BaseScriptable::~BaseScriptable (  )  [override]

Definition at line 54 of file base_scriptable.cpp.


Member Function Documentation

bool Wintermute::BaseScriptable::canHandleMethod ( const char *  eventMethod  )  const [virtual]

Reimplemented in Wintermute::BaseScriptHolder.

Definition at line 181 of file base_scriptable.cpp.

Common::String Wintermute::BaseScriptable::debuggerToString (  )  const [virtual]
ScScript * Wintermute::BaseScriptable::invokeMethodThread ( const char *  methodName  )  [virtual]

Reimplemented in Wintermute::BaseScriptHolder.

Definition at line 187 of file base_scriptable.cpp.

int Wintermute::BaseScriptable::scCompare ( BaseScriptable val  )  [virtual]

Reimplemented in Wintermute::SXDate, Wintermute::SXMemBuffer, and Wintermute::SXString.

Definition at line 165 of file base_scriptable.cpp.

void Wintermute::BaseScriptable::scDebuggerDesc ( char *  buf,
int  bufSize 
) [virtual]

Reimplemented in Wintermute::BaseScriptHolder.

Definition at line 176 of file base_scriptable.cpp.

void Wintermute::BaseScriptable::scSetBool ( bool  val  )  [virtual]

Definition at line 149 of file base_scriptable.cpp.

void Wintermute::BaseScriptable::scSetFloat ( double  val  )  [virtual]

Definition at line 144 of file base_scriptable.cpp.

void Wintermute::BaseScriptable::scSetInt ( int  val  )  [virtual]

Definition at line 139 of file base_scriptable.cpp.

void Wintermute::BaseScriptable::scSetString ( const char *  val  )  [virtual]

Reimplemented in Wintermute::SXString.

Definition at line 134 of file base_scriptable.cpp.

bool Wintermute::BaseScriptable::scToBool (  )  [virtual]

Definition at line 128 of file base_scriptable.cpp.

double Wintermute::BaseScriptable::scToFloat (  )  [virtual]

Definition at line 122 of file base_scriptable.cpp.

int Wintermute::BaseScriptable::scToInt (  )  [virtual]

Definition at line 116 of file base_scriptable.cpp.

void * Wintermute::BaseScriptable::scToMemBuffer (  )  [virtual]

Reimplemented in Wintermute::SXMemBuffer.

Definition at line 110 of file base_scriptable.cpp.


Member Data Documentation


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


Generated on Sat Sep 26 2020 05:04:12 for ResidualVM by doxygen 1.7.1
curved edge   curved edge