Beispiel #1
0
 //开始战斗成功
 public void StartWarSuc(SockFightResponse resp)
 {
     for (int i = 0; i < curRoom.members.Length; i++)
     {
         if (curRoom.members [i] != null)
         {
             curRoom.members [i].memberState = 2;
         }
     }
     curRoom.room.roomState = 2;
 }
Beispiel #2
0
    //
    public void StartWarSuc(SockFightResponse resp)
    {
        Core.Data.temper.warBattle         = resp.data.battle;
        Core.Data.temper.currentBattleType = TemporyData.BattleType.GPSWar;
        GPSWarInfo info = Core.Data.gpsWarManager.GetGPSWarInfo(resp.data.battleId);

        if (info != null)
        {
            Core.Data.temper.CitySence = info.Cj;
        }
        else
        {
            RED.LogWarning(resp.data.battleId + " not find pgs war info");
        }

        JumpToBattleView();
    }