OpenMoHAA 0.82.0
|
Public Member Functions | |
ScriptVariable (const ScriptVariable &variable) | |
ScriptVariable (ScriptVariable &&variable) | |
void | CastBoolean (void) |
void | CastConstArrayValue (void) |
void | CastEntity (void) |
void | CastFloat (void) |
void | CastInteger (void) |
void | CastString (void) |
void | Clear () |
void | ClearPointer () |
const char * | GetTypeName (void) const |
variabletype | GetType (void) const |
qboolean | IsEntity (void) |
qboolean | IsListener (void) |
qboolean | IsNumeric (void) |
qboolean | IsConstArray () const |
qboolean | IsString (void) |
qboolean | IsVector (void) |
void | PrintValue (void) |
void | SetFalse (void) |
void | SetTrue (void) |
int | arraysize (void) const |
size_t | size (void) const |
bool | booleanNumericValue (void) |
bool | booleanValue (void) const |
Entity * | entityValue (void) |
void | evalArrayAt (ScriptVariable &var) |
void | setArrayAt (ScriptVariable &index, ScriptVariable &value) |
void | setArrayAtRef (ScriptVariable &index, ScriptVariable &value) |
void | setArrayRefValue (ScriptVariable &var) |
char | charValue (void) const |
void | setCharValue (char newvalue) |
ScriptVariable * | constArrayValue (void) |
void | setConstArrayValue (ScriptVariable *pVar, unsigned int size) |
void | setContainerValue (Container< SafePtr< Listener > > *newvalue) |
void | setSafeContainerValue (ContainerClass< SafePtr< Listener > > *newvalue) |
float | floatValue (void) const |
void | setFloatValue (float newvalue) |
int | intValue (void) const |
void | setIntValue (int newvalue) |
Listener * | listenerValue (void) const |
Listener * | listenerAt (uintptr_t index) const |
void | setListenerValue (Listener *newvalue) |
void | newPointer (void) |
void | setPointer (const ScriptVariable &newvalue) |
void | setRefValue (ScriptVariable *ref) |
str | stringValue (void) const |
void | setStringValue (str newvalue) |
Vector | vectorValue (void) const |
void | setVectorValue (const Vector &newvector) |
class PathNode * | pathNodeValue (void) const |
class Waypoint * | waypointValue (void) const |
void | greaterthan (ScriptVariable &variable) |
void | greaterthanorequal (ScriptVariable &variable) |
void | lessthan (ScriptVariable &variable) |
void | lessthanorequal (ScriptVariable &variable) |
void | complement (void) |
void | minus (void) |
ScriptVariable & | operator= (const ScriptVariable &variable) |
ScriptVariable & | operator= (ScriptVariable &&variable) |
ScriptVariable & | operator[] (ScriptVariable &index) |
ScriptVariable * | operator[] (unsigned index) const |
ScriptVariable * | operator* () |
void | operator+= (const ScriptVariable &value) |
void | operator-= (const ScriptVariable &value) |
void | operator*= (const ScriptVariable &value) |
void | operator/= (const ScriptVariable &value) |
void | operator%= (const ScriptVariable &value) |
void | operator&= (const ScriptVariable &value) |
void | operator^= (const ScriptVariable &value) |
void | operator|= (const ScriptVariable &value) |
void | operator<<= (const ScriptVariable &value) |
void | operator>>= (const ScriptVariable &value) |
bool | operator!= (const ScriptVariable &value) |
bool | operator== (const ScriptVariable &value) |
ScriptVariable | operator++ (int) |
ScriptVariable | operator-- (int) |
void | Archive (Archiver &arc) |
void | ArchiveInternal (Archiver &arc) |
void | MakePrimitive () |
![]() | |
void * | operator new (size_t s) |
void | operator delete (void *ptr) |
void * | operator new (size_t size, void *placement) |
void | operator delete (void *ptr, void *placement) |
template<typename T> | |
void * | operator new (size_t size, T &placement) |
template<typename T> | |
void | operator delete (void *ptr, T &placement) |
Static Public Member Functions | |
static void | Archive (Archiver &arc, ScriptVariable **obj) |
Public Attributes | ||
unsigned char | type | |
union { | ||
char charValue | ||
float floatValue | ||
int intValue | ||
SafePtr< Listener > * listenerValue | ||
str * stringValue | ||
float * vectorValue | ||
void * anyValue | ||
ScriptVariable * refValue | ||
ScriptArrayHolder * arrayValue | ||
ScriptConstArrayHolder * constArrayValue | ||
Container< SafePtr< Listener > > * containerValue | ||
SafePtr< ContainerClass< SafePtr< Listener > > > * safeContainerValue | ||
ScriptPointer * pointerValue | ||
} | m_data | |