Example #1
0
 /// <summary>
 /// 客户端断开连接
 /// </summary>
 /// <param name="reasonCode"></param>
 /// <param name="reasonDetail"></param>
 protected override void OnDisconnect(DisconnectReason reasonCode, string reasonDetail)
 {
     //倒序
     battleHandler.OnDisConnect(this);
     selectHandler.OnDisConnect(this);
     playerHandler.OnDisConnect(this);
     accountHandler.OnDisConnect(this);
 }