◆ BackendApi()
◆ ~BackendApi()
◆ FeedbackMessage()
Send feedback message and/ or script object with whatever data on it (additionally it is possible to handle callback as well)
- Parameters
-
cb | Is script callback where you will recieve result/ error or even data when request finsihes |
data | Is optional callback when request uses or response return Json data and you want to work with object |
message | Is custom |
◆ GetCredentialsItem()
Get credentials value per item.
- Parameters
-
item | Is type of EBackendCredentials parameter you want to read |
◆ GetErrorCode()
◆ Initiate()
proto native bool Initiate |
( |
| ) |
|
|
private |
Initiate backend - request processing.
◆ IsBusy()
proto native bool IsBusy |
( |
| ) |
|
|
private |
Backend is busy - authentication in process.
◆ IsDisconnected()
proto native bool IsDisconnected |
( |
| ) |
|
|
private |
Backend offline - authentication may be initiated.
◆ IsRuntime()
proto native bool IsRuntime |
( |
| ) |
|
|
private |
Backend fully working and initialized.
◆ OnCannotInitiate()
void OnCannotInitiate |
( |
int |
code | ) |
|
|
inlineprivate |
◆ OnCannotShutdown()
void OnCannotShutdown |
( |
int |
code | ) |
|
|
inlineprivate |
◆ OnFail()
Called when step failed.
References Print().
◆ OnSuccess()
Called when step was successfully proceeded.
References Print().
◆ PlayerRequest()
Ask player request with callback result from controller (Lobby)
- Parameters
-
request | Is type of request, which is EBackendRequest |
cb | Is script callback where you will recieve result/ error or even data when request finsihes |
data | Is optional callback when request uses or response return Json data and you want to work with object |
iPlayerId | Is Player Id used on player identity |
◆ Request()
Ask specific request with callback result.
- Parameters
-
request | Is type of request, which is EBackendRequest |
cb | Is script callback where you will recieve result/ error or even data when request finsihes |
data | Is optional callback when request uses or response return Json data and you want to work with object |
◆ SetCredentialsItem()
Set credentials value per item.
- Parameters
-
item | Is type of EBackendCredentials parameter you want to set |
str | Is value itself |
◆ Shutdown()
proto native bool Shutdown |
( |
| ) |
|
|
private |
Shutdown backend - request processing.
◆ VerifyCredentials()
proto native void VerifyCredentials |
( |
| ) |
|
|
private |
Invoke credentials update (authenticate with new name+password)
The documentation for this class was generated from the following file: