Example #1
0
 /// <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);
 }
Example #2
0
 //客户端断开时调用
 protected override void OnDisconnect(DisconnectReason reasonCode, string reasonDetail)
 {
     roomHandler.OnDisconnect(this);
     accountHandler.OnDisconnect(this);
 }
Example #3
0
 /// <summary>
 /// 客户端断开连接
 /// </summary>
 /// <param name="reasonCode"></param>
 /// <param name="reasonDetail"></param>
 protected override void OnDisconnect(DisconnectReason reasonCode, string reasonDetail)
 {
     chat.OnDisconnect(this);
     account.OnDisconnect(this);
 }