Cyber Engine Tweaks
Modding
Dictionary
Other
External docs
Other Wikis
Powered By GitBook
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:
1
gps = Game.GamePersistencySystem()
Copied!

Sub-functions

ForgetObject

ForgetObject
Info & Usage
1
ForgetObject(targetID : PersistentID, notifyEntity : Bool);
Copied!

GetConstAccessToPSObject

GetConstAccessToPSObject
Info & Usage
1
GetConstAccessToPSObject(targetID : PersistentID, psClassName : CName) : ref:PersistentState;
Copied!

GetPersistentBool

GetPersistentBool
Info & Usage
1
GetPersistentBool(targetEntity : PersistentID, psClassName : CName, varName : CName) : Bool;
Copied!

GetPersistentFloat

GetPersistentFloat
Info & Usage
1
GetPersistentFloat(targetEntity : PersistentID, psClassName : CName, varName : CName) : Float;
Copied!

GetPersistentInt

GetPersistentInt
Info & Usage
1
GetPersistentInt(targetEntity : PersistentID, psClassName : CName, varName : CName) : Int32;
Copied!

QueueEntityEvent

QueueEntityEvent
Info & Usage
1
QueueEntityEvent(targetEntity : EntityID, evt : ref:Event);
Copied!

QueuePSDeviceEvent

QueuePSDeviceEvent
Info & Usage
1
QueuePSDeviceEvent(action : ref:DeviceAction);
Copied!

QueuePSEvent

QueuePSEvent
Info & Usage
1
QueuePSEvent(targetID : PersistentID, psClassName : CName, evt : ref:Event);
Copied!

SetPersistentBool

SetPersistentBool
Info & Usage
1
SetPersistentBool(targetEntity : PersistentID, psClassName : CName, varName : CName, newValue : Bool);
Copied!

SetPersistentFloat

SetPersistentFloat
Info & Usage
1
SetPersistentFloat(targetEntity : PersistentID, psClassName : CName, varName : CName, newValue : Float);
Copied!

SetPersistentInt

SetPersistentInt
Info & Usage
1
SetPersistentInt(targetEntity : PersistentID, psClassName : CName, varName : CName, newValue : Int32);
Copied!
Last modified 9mo ago