public abstract class AEOSServer extends AEOSBase<EOSServerOptions>
| Constructor and Description |
|---|
AEOSServer() |
| Modifier and Type | Method and Description |
|---|---|
abstract AEOSNetworkClient |
getNetworkClient(long connectionId) |
protected void |
onClientActionRequired(@NotNull EOS_AntiCheatCommon_OnClientActionRequiredCallbackInfo callbackInfo)
Event happens when Anti-Cheat interface wants to apply specified action to the game client
|
protected void |
onClientAuthStatusChanged(EOS_AntiCheatCommon_OnClientAuthStatusChangedCallbackInfo callbackInfo)
Event happens when Anti-Cheat changed auth status for the connected client
|
protected void |
onMessageToClient(@NotNull EOS_AntiCheatCommon_OnMessageToClientCallbackInfo callbackInfo)
Notify the Anti-Cheat client with message server want to send
|
EOS_EResult |
onNetworkClientConnected(@NotNull AEOSNetworkClient antiCheatClient) |
EOS_EResult |
onNetworkClientDisconnected(@NotNull AEOSNetworkClient networkClient) |
void |
shutdown() |
AEOSServer |
start(EOSServerOptions options) |
callApi, callApiSync, initPlatform, onLogMessage, reportPlayerpublic AEOSServer start(EOSServerOptions options) throws EOSException
start in class AEOSBase<EOSServerOptions>EOSExceptionpublic void shutdown()
shutdown in class AEOSBase<EOSServerOptions>public EOS_EResult onNetworkClientConnected(@NotNull @NotNull AEOSNetworkClient antiCheatClient)
public EOS_EResult onNetworkClientDisconnected(@NotNull @NotNull AEOSNetworkClient networkClient)
public abstract AEOSNetworkClient getNetworkClient(long connectionId)
connectionId - connection IDprotected void onMessageToClient(@NotNull
@NotNull EOS_AntiCheatCommon_OnMessageToClientCallbackInfo callbackInfo)
throws EOSException
callbackInfo - info about a client and data to sendEOSException - on errorprotected void onClientActionRequired(@NotNull
@NotNull EOS_AntiCheatCommon_OnClientActionRequiredCallbackInfo callbackInfo)
callbackInfo - info about a client and action to applyprotected void onClientAuthStatusChanged(EOS_AntiCheatCommon_OnClientAuthStatusChangedCallbackInfo callbackInfo)
callbackInfo - info about client and auth status change data