Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
BackendCallback.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
71class BackendCallback: Managed
72{
74 proto external void SetOnSuccess(BackendCallbackFunc onSuccess);
76 proto external void SetOnError(BackendCallbackFunc onError);
78 proto external ERestResult GetRestResult();
80 proto external int GetBackendRequest();
82 proto external EBackendError GetBackendError();
88 proto external EApiCode GetApiCode();
94 proto external HttpCode GetHttpCode();
100 proto external string GetErrorMessage();
106 proto external string GetErrorUID();
112 proto external Managed GetResultData();
113
114 // callbacks
115
117 [Obsolete("Use BackendCallback.SetOnSuccess() instead.")]
118 event void OnSuccess(int code);
120 [Obsolete("Use BackendCallback.SetOnError() instead.")]
121 event void OnError(int code, int restCode, int apiCode);
123 [Obsolete("Use BackendCallback.SetOnError() instead.")]
124 event void OnTimeout();
125}
126
override void OnTimeout()
Definition BanCommands.c:76
func BackendCallbackFunc
Definition OnlineTypes.c:4
EApiCode
Definition EApiCode.c:13
ERestResult
States and result + error code produced by RestApi.
Definition ERestResult.c:14
EBackendError
Backend error.
HttpCode
Definition HttpCode.c:19