public void OnNetworkClientDisconnect(NetworkClient client, int reason) { isConnected = false; this.status = Status.Diconnected; ClientPluginController.OnClientPluginEvent(ClientPluginEvent.LoginServerDisconnect, reason); }
public void OnNetworkClientConnect(NetworkClient client, int result) { isConnected = true; this.status = Status.ConnectedNotAuthorized; ClientPluginController.OnClientPluginEvent(ClientPluginEvent.LoginServerConnect, result); }