GamePersistencySystem

Documents the GamePersistencySystem class and its functions.

NOT DOCUMENTED We currently don't have information on how these functions work. They are being documented here for visibility.

Invoking GamePersistencySystem

To invoke the game persistency system, use the following Global function:

gps = Game.GamePersistencySystem()

Sub-functions

ForgetObject

ForgetObject(targetID : PersistentID, notifyEntity : Bool);

GetConstAccessToPSObject

GetConstAccessToPSObject(targetID : PersistentID, psClassName : CName) : ref:PersistentState;

GetPersistentBool

GetPersistentBool(targetEntity : PersistentID, psClassName : CName, varName : CName) : Bool;

GetPersistentFloat

GetPersistentFloat(targetEntity : PersistentID, psClassName : CName, varName : CName) : Float;

GetPersistentInt

GetPersistentInt(targetEntity : PersistentID, psClassName : CName, varName : CName) : Int32;

QueueEntityEvent

QueueEntityEvent(targetEntity : EntityID, evt : ref:Event);

QueuePSDeviceEvent

QueuePSDeviceEvent(action : ref:DeviceAction);

QueuePSEvent

QueuePSEvent(targetID : PersistentID, psClassName : CName, evt : ref:Event);

SetPersistentBool

SetPersistentBool(targetEntity : PersistentID, psClassName : CName, varName : CName, newValue : Bool);

SetPersistentFloat

SetPersistentFloat(targetEntity : PersistentID, psClassName : CName, varName : CName, newValue : Float);

SetPersistentInt

SetPersistentInt(targetEntity : PersistentID, psClassName : CName, varName : CName, newValue : Int32);

Last updated