mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Implemented MakePrimitive()
This commit is contained in:
parent
77ef0f3579
commit
960469be77
2 changed files with 33 additions and 6 deletions
|
@ -111,10 +111,6 @@ public:
|
|||
|
||||
~ScriptVariable();
|
||||
|
||||
void Archive(Archiver& arc);
|
||||
static void Archive(Archiver& arc, ScriptVariable **obj);
|
||||
void ArchiveInternal(Archiver& arc);
|
||||
|
||||
void CastBoolean(void);
|
||||
void CastConstArrayValue(void);
|
||||
void CastEntity(void);
|
||||
|
@ -235,6 +231,12 @@ public:
|
|||
|
||||
ScriptVariable operator++(int);
|
||||
ScriptVariable operator--(int);
|
||||
|
||||
void Archive(Archiver& arc);
|
||||
static void Archive(Archiver& arc, ScriptVariable** obj);
|
||||
void ArchiveInternal(Archiver& arc);
|
||||
|
||||
void MakePrimitive();
|
||||
};
|
||||
|
||||
class ScriptArrayHolder : public LightClass
|
||||
|
@ -293,6 +295,8 @@ class con_set_Entry<short3, ScriptVariable>
|
|||
|
||||
private:
|
||||
con_set_Entry *next;
|
||||
|
||||
public:
|
||||
ScriptVariable value;
|
||||
|
||||
public:
|
||||
|
@ -318,8 +322,6 @@ public:
|
|||
|
||||
ScriptVariableList();
|
||||
|
||||
void Archive(Archiver& arc) override;
|
||||
|
||||
void ClearList(void);
|
||||
|
||||
ScriptVariable *GetOrCreateVariable(str name);
|
||||
|
@ -338,6 +340,9 @@ public:
|
|||
ScriptVariable *SetVariable(const char *name, ScriptVariable& value);
|
||||
ScriptVariable *SetVariable(unsigned int name, ScriptVariable& value);
|
||||
ScriptVariable *SetVariable(unsigned int name, ScriptVariable&& value);
|
||||
|
||||
void Archive(Archiver& arc) override;
|
||||
void MakePrimitive();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue