|
| proto void | SaveGameOperationCb (SaveGameOperationDelegate 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, Managed context=null) |
| | Invoke the delegate assigned to this callback. Returns false if there is none. To be used from OnResult.
|
| |
|
| void | OnCompleted (bool success, Managed context=null) |
| | Will use the delegate passed to constructor if not implemented.
|
| |
◆ SaveGameOperationCb()
| proto void SaveGameOperationCb.SaveGameOperationCb |
( |
SaveGameOperationDelegate | 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.
◆ InvokeDelegate()
| proto external bool SaveGameOperationCb.InvokeDelegate |
( |
bool | success, |
|
|
Managed | context = null ) |
Invoke the delegate assigned to this callback. Returns false if there is none. To be used from OnResult.
◆ OnCompleted()
| void SaveGameOperationCb.OnCompleted |
( |
bool | success, |
|
|
Managed | context = null ) |
|
protected |
Will use the delegate passed to constructor if not implemented.
- Parameters
-
| statusCode | The result status. OK as expected result, anything else needs handling / logging / throwing errors. |
| context | The optional context instance passed to constructor. |
The documentation for this interface was generated from the following file:
- Game/generated/SaveGame/SaveGameOperationCb.c