public interface NetworkHandler
| Modifier and Type | Method and Description |
|---|---|
void |
onCloudNetworkUpdate(CloudNetwork cloudNetwork)
Called if the cloudnetwork object is updated
|
void |
onCustomChannelMessageReceive(String channel,
String message,
Document document)
Called if a custom channel message was received
|
void |
onCustomSubChannelMessageReceive(String channel,
String message,
Document document)
Called if a custom channel message was received
|
void |
onOfflinePlayerUpdate(OfflinePlayer offlinePlayer)
Called if a OfflinePlayer was updated
|
void |
onPlayerDisconnectNetwork(CloudPlayer cloudPlayer)
Called if a Player Disconnect to the network from cloudnet
|
void |
onPlayerDisconnectNetwork(UUID uniqueId)
Called if a Player Disconnect to the network from cloudnet
|
void |
onPlayerLoginNetwork(CloudPlayer cloudPlayer)
Called if a Player Login to the network from the cloudnet successfully
|
void |
onPlayerUpdate(CloudPlayer cloudPlayer)
Called if a Player was updated on network
|
void |
onProxyAdd(ProxyInfo proxyInfo)
Called if one proxy server was add into the network
|
void |
onProxyInfoUpdate(ProxyInfo proxyInfo)
Called if the proxyinfo from some proxy server was updated
|
void |
onProxyRemove(ProxyInfo proxyInfo)
Called if some proxy server is disconnected from network
|
void |
onServerAdd(ServerInfo serverInfo)
Called if a new server was add into the network
|
void |
onServerInfoUpdate(ServerInfo serverInfo)
Called if the ServerInfo is updated from a game server
|
void |
onServerRemove(ServerInfo serverInfo)
Called if a game server was removed
|
void |
onUpdateOnlineCount(int onlineCount)
Called if the player online count was changed
|
void onServerAdd(ServerInfo serverInfo)
serverInfo - void onServerInfoUpdate(ServerInfo serverInfo)
serverInfo - void onServerRemove(ServerInfo serverInfo)
serverInfo - void onProxyAdd(ProxyInfo proxyInfo)
void onProxyInfoUpdate(ProxyInfo proxyInfo)
proxyInfo - void onProxyRemove(ProxyInfo proxyInfo)
proxyInfo - void onCloudNetworkUpdate(CloudNetwork cloudNetwork)
cloudNetwork - void onCustomChannelMessageReceive(String channel, String message, Document document)
channel - message - document - void onCustomSubChannelMessageReceive(String channel, String message, Document document)
channel - message - document - void onPlayerLoginNetwork(CloudPlayer cloudPlayer)
cloudPlayer - void onPlayerDisconnectNetwork(CloudPlayer cloudPlayer)
cloudPlayer - void onPlayerDisconnectNetwork(UUID uniqueId)
cloudPlayer - void onPlayerUpdate(CloudPlayer cloudPlayer)
cloudPlayer - void onOfflinePlayerUpdate(OfflinePlayer offlinePlayer)
void onUpdateOnlineCount(int onlineCount)
onlineCount - Copyright © 2020. All rights reserved.