ScummVM API documentation
AGS3::ManagedObjectPool Struct Referencefinal

Public Member Functions

int32_t AddRef (int32_t handle)
 
int CheckDispose (int32_t handle)
 
int32_t SubRef (int32_t handle)
 
int32_t AddressToHandle (void *addr)
 
void * HandleToAddress (int32_t handle)
 
ScriptValueType HandleToAddressAndManager (int32_t handle, void *&object, IScriptObject *&manager)
 
int RemoveObject (void *address)
 
void RunGarbageCollectionIfAppropriate ()
 
int AddObject (void *address, IScriptObject *callback, ScriptValueType obj_type)
 
int AddUnserializedObject (void *address, IScriptObject *callback, ScriptValueType obj_type, int handle)
 
void WriteToDisk (Shared::Stream *out)
 
int ReadFromDisk (Shared::Stream *in, ICCObjectCollectionReader *reader)
 
void reset ()
 

Public Attributes

void * disableDisposeForObject { nullptr }
 

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