Package host.anzo.eossdk.eosex
Class AEOSServer
- Since:
- 8/16/2023
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AEOSNetworkClientgetNetworkClient(long connectionId) protected voidonClientActionRequired(@NotNull EOS_AntiCheatCommon_OnClientActionRequiredCallbackInfo callbackInfo) Event happens when Anti-Cheat interface wants to apply specified action to the game clientprotected voidEvent happens when Anti-Cheat changed auth status for the connected clientprotected voidonMessageToClient(@NotNull EOS_AntiCheatCommon_OnMessageToClientCallbackInfo callbackInfo) Notify the Anti-Cheat client with message server want to sendonNetworkClientConnected(@NotNull AEOSNetworkClient antiCheatClient) onNetworkClientDisconnected(@NotNull AEOSNetworkClient networkClient) voidshutdown()start(EOSServerOptions options) Methods inherited from class host.anzo.eossdk.eosex.AEOSBase
callApi, callApiSync, initPlatform, onLogMessage, reportPlayer
-
Constructor Details
-
AEOSServer
public AEOSServer()
-
-
Method Details
-
start
- Overrides:
startin classAEOSBase<EOSServerOptions>- Throws:
EOSException
-
shutdown
public void shutdown()- Overrides:
shutdownin classAEOSBase<EOSServerOptions>
-
onNetworkClientConnected
-
onNetworkClientDisconnected
-
getNetworkClient
- Parameters:
connectionId- connection ID- Returns:
- network client by unique connection ID
-
onMessageToClient
protected void onMessageToClient(@NotNull @NotNull EOS_AntiCheatCommon_OnMessageToClientCallbackInfo callbackInfo) throws EOSException Notify the Anti-Cheat client with message server want to send- Parameters:
callbackInfo- info about a client and data to send- Throws:
EOSException
-
onClientActionRequired
protected void onClientActionRequired(@NotNull @NotNull EOS_AntiCheatCommon_OnClientActionRequiredCallbackInfo callbackInfo) Event happens when Anti-Cheat interface wants to apply specified action to the game client- Parameters:
callbackInfo- info about a client and action to apply
-
onClientAuthStatusChanged
protected void onClientAuthStatusChanged(EOS_AntiCheatCommon_OnClientAuthStatusChangedCallbackInfo callbackInfo) Event happens when Anti-Cheat changed auth status for the connected client- Parameters:
callbackInfo- info about client and auth status change data
-