Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
DSSessionCallback Interface Reference
Inheritance diagram for DSSessionCallback:
[legend]

Public Member Functions

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)
 

Member Function Documentation

◆ OnConnect()

void DSSessionCallback.OnConnect ( )

Session connect event.

◆ OnDeleteFailed()

void DSSessionCallback.OnDeleteFailed ( string  fileName)

Delete Fail event handling.

◆ OnDeleteSuccess()

void DSSessionCallback.OnDeleteSuccess ( string  fileName)

Delete Success event handling.

◆ OnDisconnect()

void DSSessionCallback.OnDisconnect ( )

Session disconnect event.

◆ OnInitialize()

void DSSessionCallback.OnInitialize ( )

Initialize event - here specify what you want to load before game starts.

Implemented in SaveTestCallback.

◆ OnLoaded()

void DSSessionCallback.OnLoaded ( string  fileName)

Load event handling.

Implemented in SaveTestCallback.

◆ OnLoadFailed()

void DSSessionCallback.OnLoadFailed ( string  fileName)

Load Fail event handling.

◆ OnNew()

void DSSessionCallback.OnNew ( )

Initializing new session.

◆ OnPlayerSaveEvent()

void DSSessionCallback.OnPlayerSaveEvent ( int  iPlayerId)

Event when timed player saving is about to happen.

Parameters
iPlayerId- Id of Player which will be saved

◆ OnReady()

void DSSessionCallback.OnReady ( )

Ready event handling - point where session goes to game.

◆ OnSaveFailed()

void DSSessionCallback.OnSaveFailed ( string  fileName)

Save Fail event handling.

◆ OnSaveSuccess()

void DSSessionCallback.OnSaveSuccess ( string  fileName)

Save Success event handling.

Implemented in SaveTestCallback.

◆ OnSaving()

void DSSessionCallback.OnSaving ( string  fileName)

Save event handling.

Implemented in SaveTestCallback.

◆ OnSetup()

void DSSessionCallback.OnSetup ( string  fileName)

Setup event handling.


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