/// <summary> /// 客户端断开连接 /// </summary> /// <param name="reasonCode"></param> /// <param name="reasonDetail"></param> protected override void OnDisconnect(DisconnectReason reasonCode, string reasonDetail) { fight.OnDisconnect(this); select.OnDisconnect(this); player.OnDisconnect(this); account.OnDisconnect(this); }
//客户端断开时调用 protected override void OnDisconnect(DisconnectReason reasonCode, string reasonDetail) { roomHandler.OnDisconnect(this); accountHandler.OnDisconnect(this); }
/// <summary> /// 客户端断开连接 /// </summary> /// <param name="reasonCode"></param> /// <param name="reasonDetail"></param> protected override void OnDisconnect(DisconnectReason reasonCode, string reasonDetail) { chat.OnDisconnect(this); account.OnDisconnect(this); }