/// <summary> /// 客户端断开连接 /// </summary> /// <param name="reasonCode"></param> /// <param name="reasonDetail"></param> protected override void OnDisconnect(DisconnectReason reasonCode, string reasonDetail) { MyGameServer.LogInfo("客户端断开连接"); }