ScummVM API documentation
NGI::GameVar Class Reference
Inheritance diagram for NGI::GameVar:
NGI::CObject

Public Member Functions

bool load (MfcArchive &file) override
 
void save (MfcArchive &file) override
 
GameVar * getSubVarByName (const Common::String &name)
 
bool setSubVarAsInt (const Common::String &name, int value)
 
int getSubVarAsInt (const Common::String &name)
 
GameVar * addSubVarAsInt (const Common::String &name, int value)
 
bool addSubVar (GameVar *subvar)
 
int getSubVarsCount ()
 
GameVar * getSubVarByIndex (int idx)
 
- Public Member Functions inherited from NGI::CObject
virtual bool load (MfcArchive &in)
 
virtual void save (MfcArchive &out)
 
bool loadFile (const Common::Path &fname)
 

Public Attributes

GameVar * _nextVarObj
 
GameVar * _prevVarObj
 
GameVar * _parentVarObj
 
GameVar * _subVars
 
GameVar * _field_14
 
Common::String _varName
 
VarValue _value
 
int _varType
 
- Public Attributes inherited from NGI::CObject
ObjType _objtype
 
uint _cnum
 

Member Function Documentation

◆ load()

bool NGI::GameVar::load ( MfcArchive &  file)
overridevirtual

Reimplemented from NGI::CObject.

◆ save()

void NGI::GameVar::save ( MfcArchive &  file)
overridevirtual

Reimplemented from NGI::CObject.


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