Закрытые члены | |
void | BackendApi () |
void | ~BackendApi () |
proto native bool | Initiate () |
Initiate backend - request processing. | |
proto native bool | Shutdown () |
Shutdown backend - request processing. | |
proto native bool | IsDisconnected () |
Backend offline - authentication may be initiated. | |
proto native bool | IsRuntime () |
Backend fully working and initialized. | |
proto native bool | IsBusy () |
Backend is busy - authentication in process. | |
string | GetErrorCode (int code) |
Error code to string. | |
void | OnCannotInitiate (int code) |
Called when initiate cannot be called. | |
void | OnCannotShutdown (int code) |
Called when shutdown cannot be proceeded. | |
void | OnSuccess (string step) |
Called when step was successfully proceeded. | |
void | OnFail (string step) |
Called when step failed. | |
proto native void | Request (int request, BackendCallback cb, JsonApiStruct dataObject) |
Ask specific request with callback result. | |
proto native void | PlayerRequest (int request, BackendCallback cb, JsonApiStruct dataObject, int iPlayerId) |
Ask player request with callback result from controller (Lobby) | |
proto native void | FeedbackMessage (BackendCallback cb, JsonApiStruct dataObject, string message) |
Send feedback message and/ or script object with whatever data on it (additionally it is possible to handle callback as well) | |
proto native void | SetCredentialsItem (EBackendCredentials item, string str) |
Set credentials value per item. | |
proto native string | GetCredentialsItem (EBackendCredentials item) |
Get credentials value per item. | |
proto native void | VerifyCredentials () |
Invoke credentials update (authenticate with new name+password) | |
См. определение в файле BackendApi.c строка 129