Loading...
Searching...
No Matches
SaveGameObtainCallback Interface Reference
Inheritance diagram for SaveGameObtainCallback:
SaveGameCallback

Public Member Functions

proto void SaveGameObtainCallback (SaveGameObtainDelegate delegate=null, Managed context=null)
 Callbacks can be inherited to implement OnResult or constructed by passing a function to handle it with the same parameters.
 
proto external bool InvokeDelegate (bool success, array< SaveGame > saves)
 Invoke the delegate assigned to this callback. Returns false if there is none. To be used from OnResult.
 

Protected Member Functions

void OnCompleted (bool success, array< SaveGame > saves, Managed context=null)
 Will use the delegate passed to constructor if not implemented.
 

Constructor & Destructor Documentation

◆ SaveGameObtainCallback()

proto void SaveGameObtainCallback.SaveGameObtainCallback ( SaveGameObtainDelegate delegate = null,
Managed context = null )

Callbacks can be inherited to implement OnResult or constructed by passing a function to handle it with the same parameters.

Member Function Documentation

◆ InvokeDelegate()

proto external bool SaveGameObtainCallback.InvokeDelegate ( bool success,
array< SaveGame > saves )

Invoke the delegate assigned to this callback. Returns false if there is none. To be used from OnResult.

◆ OnCompleted()

void SaveGameObtainCallback.OnCompleted ( bool success,
array< SaveGame > saves,
Managed context = null )
protected

Will use the delegate passed to constructor if not implemented.

Parameters
statusCodeThe result status. OK as expected result, anything else needs handling / logging / throwing errors.
contextThe optional context instance passed to constructor.

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