ScummVM API documentation
Wintermute::SystemClass Class Reference

Public Member Functions

 SystemClass (const AnsiString &name, PERSISTBUILD build, PERSISTLOAD load, bool persistentClass)
 
int getNumInstances ()
 
bool removeInstance (void *instance)
 
SystemInstanceaddInstance (void *instance, int id, int savedId=-1)
 
bool removeAllInstances ()
 
int getInstanceID (void *pointer)
 
void * idToPointer (int savedID)
 
void setID (int id)
 
int getID () const
 
int getSavedID () const
 
bool isPersistent () const
 
AnsiString getName () const
 
void saveTable (BaseGame *Game, BasePersistenceManager *PersistMgr)
 
void loadTable (BaseGame *Game, BasePersistenceManager *PersistMgr)
 
void saveInstances (BaseGame *Game, BasePersistenceManager *PersistMgr)
 
void loadInstance (void *instance, BasePersistenceManager *PersistMgr)
 
void instanceCallback (SYS_INSTANCE_CALLBACK lpCallback, void *lpData)
 
void resetSavedIDs ()
 
void dump (Common::WriteStream *stream)
 

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