Esempio n. 1
0
 public static void HandleOutMapHuangDiRoleChanging()
 {
     if (HuangChengManager.HuangDiRoleID > 0)
     {
         GameClient client = GameManager.ClientMgr.FindClient(HuangChengManager.HuangDiRoleID);
         if (client == null || client.ClientData.MapCode != Global.GetHuangChengMapCode())
         {
             HuangChengManager.HandleDeadHuangDiRoleChanging(null);
         }
     }
 }
Esempio n. 2
0
 public static void HandleLeaveMapHuangDiRoleChanging(GameClient client)
 {
     if (HuangChengManager.HuangDiRoleID > 0)
     {
         if (client.ClientData.RoleID == HuangChengManager.HuangDiRoleID)
         {
             if (HuangChengManager.WaitingHuangChengResult)
             {
                 HuangChengManager.HandleDeadHuangDiRoleChanging(null);
             }
         }
     }
 }