Public Member Functions | |
RuntimeScriptValue (int32_t val) | |
bool | IsValid () const |
bool | IsNull () const |
bool | GetAsBool () const |
void * | GetPtrWithOffset () const |
void * | GetRValuePtrWithOffset () const |
RuntimeScriptValue & | Invalidate () |
RuntimeScriptValue & | SetUInt8 (uint8_t val) |
RuntimeScriptValue & | SetInt16 (int16_t val) |
RuntimeScriptValue & | SetInt32 (int32_t val) |
RuntimeScriptValue & | SetFloat (float val) |
RuntimeScriptValue & | SetInt32AsBool (bool val) |
RuntimeScriptValue & | SetFloatAsBool (bool val) |
RuntimeScriptValue & | SetPluginArgument (int32_t val) |
RuntimeScriptValue & | SetStackPtr (RuntimeScriptValue *stack_entry) |
RuntimeScriptValue & | SetData (void *data, int size) |
RuntimeScriptValue & | SetGlobalVar (RuntimeScriptValue *glvar_value) |
RuntimeScriptValue & | SetStringLiteral (const char *str) |
RuntimeScriptValue & | SetStaticArray (void *object, CCStaticArray *manager) |
RuntimeScriptValue & | SetScriptObject (void *object, IScriptObject *manager) |
RuntimeScriptValue & | SetPluginObject (void *object, IScriptObject *manager) |
RuntimeScriptValue & | SetScriptObject (ScriptValueType type, void *object, IScriptObject *manager) |
RuntimeScriptValue & | SetStaticFunction (ScriptAPIFunction *pfn) |
RuntimeScriptValue & | SetPluginMethod (Plugins::ScriptContainer *sc, const Common::String &method) |
RuntimeScriptValue & | SetObjectFunction (ScriptAPIObjectFunction *pfn) |
RuntimeScriptValue & | SetCodePtr (void *ptr) |
RuntimeScriptValue | operator! () const |
bool | operator== (const RuntimeScriptValue &rval) const |
bool | operator!= (const RuntimeScriptValue &rval) const |
RuntimeScriptValue | ReadValue () const |
void | WriteValue (const RuntimeScriptValue &rval) |
Plugins::PluginMethod | pluginMethod () const |
uint8_t | ReadByte () const |
int16_t | ReadInt16 () const |
int32_t | ReadInt32 () const |
void | WriteByte (uint8_t val) |
void | WriteInt16 (int16_t val) |
void | WriteInt32 (int32_t val) |
RuntimeScriptValue & | DirectPtr () |
RuntimeScriptValue & | DirectPtrObj () |
void * | GetDirectPtr () const |
Public Attributes | |
ScriptValueType | Type |
Common::String | methodName |
union { | |
int32_t IValue | |
float FValue | |
}; | |
union { | |
void * Ptr | |
uint8_t * PtrU8 | |
char * CStr | |
RuntimeScriptValue * RValue | |
ScriptAPIFunction * SPfn | |
ScriptAPIObjectFunction * ObjPfn | |
}; | |
union { | |
void * MgrPtr | |
IScriptObject * ObjMgr | |
CCStaticArray * ArrMgr | |
}; | |
int | Size |