private void OnConnectEvent(object sender, ConnectEventArgs e) { if (e.isConnecting) { TLogger.INFO("Peer is created."); } else { TLogger.ERROR("Peer create failed."); } }
private void OnLoginEvent(object sender, LoginEventArgs e) { if (e.returnCode == (short)ResultCode.Success) { TLogger.INFO("Login Success. username: "******"Lobby", false, false); return; } string msg = string.Format("Login Failed, {0}", e.debugMessage); TLogger.ERROR(msg); }