コード例 #1
0
    public GetPVEData GetNextPVELevelNode()
    {
        GetPVEData component = new GetPVEData();

        component.GetNextNode();
        return(component);
    }
コード例 #2
0
    public GetPVEData SkipPVELevelNode(int nodeId)
    {
        GetPVEData component = new GetPVEData();

        component.SkipNode(nodeId);
        return(component);
    }
コード例 #3
0
    public GetPVEData StartPVELevel(int levelId, int fleetId, FleetFormation formationType)
    {
        GetPVEData component = new GetPVEData();

        component.StartLevel(levelId, fleetId, formationType);
        return(component);
    }
コード例 #4
0
    public GetPVEData GetPVEEventData()
    {
        GetPVEData component = new GetPVEData();

        component.GetEventData();
        return(component);
    }
コード例 #5
0
    public GetPVEData NotifyPVEBackHome()
    {
        GetPVEData component = new GetPVEData();

        component.NotifyPVEBackHome();
        return(component);
    }
コード例 #6
0
 private void GetPVEData()
 {
     if (!this.isRequestingServer)
     {
         this.isRequestingServer = true;
         this.getDataReq = ServerRequestManager.instance.GetPVEData();
         this.getDataReq.GetDataSuccess += new EventHandler<EventArgs>(this.OnGetDataSuccess);
         this.getDataReq.GetDataFail += new EventHandler<EventArgs>(this.OnGetDataFail);
     }
 }
コード例 #7
0
    public GetPVEData GetPVEBattleResult(bool isContinueNightWar, int fleetid)
    {
        GetPVEData component = new GetPVEData();

        if (isContinueNightWar)
        {
            ShipGirlBot.z.log("[少女夜晚继续卖肉开始]....");
        }
        component.GetBattleResult(isContinueNightWar, fleetid);
        return(component);
    }
コード例 #8
0
    public GetPVEData GetPVEBattleResult(bool isContinueNightWar, int fleetid)
    {
        GetPVEData component = new GetPVEData();

        if (isContinueNightWar)
        {
            z.log(isContinueNightWar? "[少女夜晚继续卖肉开始]....":"[少女白日战斗胜利,战果收取中....]");
        }
        component.GetBattleResult(isContinueNightWar, fleetid);
        return(component);
    }
コード例 #9
0
    public GetPVEData DealPVELevelNode(int nodeId, int fleetId, FleetFormation formationType)
    {
        UserFleet uf = GameData.instance.GetFleetOfId(fleetId);
        PVENode   pl = PVEConfigs.instance.GetNode(nodeId);

        ShipGirlBot.z.log("[少女卖肉开始]...." + uf.title + " @ " + pl.flag + "点 ");

        GetPVEData component = new GetPVEData();

        component.DealNode(nodeId, fleetId, formationType);
        return(component);
    }
コード例 #10
0
 private void SendSkipWar()
 {
     if (!this.isRequestingServer)
     {
         this.isRequestingServer = true;
         if (this.currentNode != null)
         {
             this.searchNodeReq = ServerRequestManager.instance.SkipPVELevelNode(this.currentNode.id);
         }
         else if (this.currentOpponent != null)
         {
         }
         this.searchNodeReq.GetSkipWarResultSuccess += new EventHandler<EventArgs>(this.OnSkipSuccess);
         this.searchNodeReq.GetSkipWarResultFail += new EventHandler<EventArgs>(this.OnSkipFail);
     }
 }
コード例 #11
0
    public GetPVEData DealPVELevelNode(int nodeId, int fleetId, FleetFormation formationType)
    {
        UserFleet uf = GameData.instance.GetFleetOfId(fleetId);
        PVENode pl = PVEConfigs.instance.GetNode(nodeId);
        z.log("[少女卖肉开始]...." + uf.title + " @ " + pl.flag + "点 ");

        GetPVEData component = new GetPVEData();
        component.DealNode(nodeId, fleetId, formationType);
        return component;
    }
コード例 #12
0
 public GetPVEData StartPVELevel(int levelId, int fleetId, FleetFormation formationType)
 {
     GetPVEData component = new GetPVEData();
     component.StartLevel(levelId, fleetId, formationType);
     return component;
 }
コード例 #13
0
 public GetPVEData SkipPVELevelNode(int nodeId)
 {
     GetPVEData component = new GetPVEData();
     component.SkipNode(nodeId);
     return component;
 }
コード例 #14
0
 public GetPVEData NotifyPVEBackHome()
 {
     GetPVEData component = new GetPVEData();
     component.NotifyPVEBackHome();
     return component;
 }
コード例 #15
0
 public GetPVEData GetPVEEventData()
 {
     GetPVEData component = new GetPVEData();
     component.GetEventData();
     return component;
 }
コード例 #16
0
 public GetPVEData GetPVEBattleResult(bool isContinueNightWar, int fleetid)
 {
     GetPVEData component = new GetPVEData();
     if (isContinueNightWar)
     {
         z.log(isContinueNightWar? "[少女夜晚继续卖肉开始]....":"[少女白日战斗胜利,战果收取中....]");
     }
     component.GetBattleResult(isContinueNightWar, fleetid);
     return component;
 }
コード例 #17
0
 public GetPVEData GetNextPVELevelNode()
 {
     GetPVEData component = new GetPVEData();
     component.GetNextNode();
     return component;
 }