25 #ifndef AURORA_NWSCRIPT_VARIABLE_H 26 #define AURORA_NWSCRIPT_VARIABLE_H 30 #include <boost/shared_ptr.hpp> 48 class ObjectReference;
58 typedef std::vector< boost::shared_ptr<Variable> >
Array;
96 void setVector(
float x,
float y,
float z);
97 void getVector(
float &x,
float &y,
float &z)
const;
133 #endif // AURORA_NWSCRIPT_VARIABLE_H
void setReference(Variable *reference)
std::vector< boost::shared_ptr< Variable > > Array
A class holding an UTF-8 string.
boost::shared_ptr< Array > _array
void growArray(Type type, size_t size)
ScriptState * _scriptState
void getVector(float &x, float &y, float &z) const
union Aurora::NWScript::Variable::@6 _value
EngineType * getEngineType() const
Object * getObject() const
size_t getArraySize() const
void setVector(float x, float y, float z)
Variable(Type type=kTypeVoid)
Low-level type definitions to handle fixed width types portably.
bool operator==(const Variable &var) const
ScriptState & getScriptState()
ObjectReference * _object
Variable & operator=(const Variable &var)
bool operator!=(const Variable &var) const
Basic type definitions to handle files used in BioWare's Aurora engine.
std::vector< class Variable > locals
const Array & getArray() const
Common::UString & getString()
Common::UString * _string
std::vector< class Variable > globals
Variable * getReference() const