public static void ProcessWangChengZhanResult()
 {
     Global.UpdateWangChengZhanWeekDays(false);
     if (WangChengZhanStates.None == WangChengManager.WangChengZhanState)
     {
         if (WangChengManager.IsInWangChengFightingTime())
         {
             WangChengManager.WangChengZhanState        = WangChengZhanStates.Fighting;
             WangChengManager.BangHuiTakeHuangGongTicks = TimeUtil.NOW();
             WangChengManager.WaitingHuangChengResult   = true;
             WangChengManager.NotifyAllWangChengMapInfoData();
             Global.BroadcastHuangChengBattleStart();
         }
     }
     else if (WangChengManager.IsInWangChengFightingTime())
     {
         bool ret = WangChengManager.TryGenerateNewHuangChengBangHui();
         if (ret)
         {
             WangChengManager.HandleHuangChengResultEx(false);
             WangChengManager.NotifyAllWangChengMapInfoData();
         }
         else
         {
             WangChengManager.ProcessTimeAddRoleExp();
         }
     }
     else
     {
         WangChengManager.WangChengZhanState      = WangChengZhanStates.None;
         WangChengManager.WaitingHuangChengResult = false;
         WangChengManager.TryGenerateNewHuangChengBangHui();
         WangChengManager.HandleHuangChengResultEx(true);
         WangChengManager.NotifyAllWangChengMapInfoData();
     }
 }