Enfusion Script API
|
Public Member Functions | |
override void | OnInitialize () |
Initialize event - here specify what you want to load before game starts. | |
override void | OnSaving (string fileName) |
Save event handling. | |
override void | OnLoaded (string fileName) |
Load event handling. | |
override void | OnSaveSuccess (string fileName) |
Save Success event handling. | |
Public Member Functions inherited from DSSessionCallback | |
void | OnConnect () |
Session connect event. | |
void | OnDisconnect () |
Session disconnect event. | |
void | OnSaving (string fileName) |
Save event handling. | |
void | OnLoaded (string fileName) |
Load event handling. | |
void | OnSetup (string fileName) |
Setup event handling. | |
void | OnPlayerSaveEvent (int iPlayerId) |
Event when timed player saving is about to happen. | |
void | OnLoadFailed (string fileName) |
Load Fail event handling. | |
void | OnSaveFailed (string fileName) |
Save Fail event handling. | |
void | OnSaveSuccess (string fileName) |
Save Success event handling. | |
void | OnDeleteFailed (string fileName) |
Delete Fail event handling. | |
void | OnDeleteSuccess (string fileName) |
Delete Success event handling. | |
void | OnInitialize () |
Initialize event - here specify what you want to load before game starts. | |
void | OnNew () |
Initializing new session. | |
void | OnReady () |
Ready event handling - point where session goes to game. | |
Public Member Functions inherited from Managed | |
proto external ref Managed | Clone () |
Return shallow copy of object, or null if it is not allowed (not public constructor) | |
Public Attributes | |
BackendApi | api |
Protected Attributes | |
ref SavePoint | savePoint = new SavePoint() |
override void SaveTestCallback.OnInitialize | ( | ) |
Initialize event - here specify what you want to load before game starts.
Implements DSSessionCallback.
override void SaveTestCallback.OnLoaded | ( | string | fileName | ) |
Load event handling.
Implements DSSessionCallback.
override void SaveTestCallback.OnSaveSuccess | ( | string | fileName | ) |
Save Success event handling.
Implements DSSessionCallback.
override void SaveTestCallback.OnSaving | ( | string | fileName | ) |
Save event handling.
Implements DSSessionCallback.
BackendApi SaveTestCallback.api |