Beispiel #1
0
        public override void LoadFromResponse(string apiname, dynamic data)
        {
            base.LoadFromResponse(apiname, (object)data);

            JetBaseAirAttack    = new PhaseJetBaseAirAttack(this, "噴式基地航空隊攻撃");
            JetAirBattle        = new PhaseJetAirBattle(this, "噴式航空戦");
            BaseAirAttack       = new PhaseBaseAirAttack(this, "基地航空隊攻撃");
            FriendlySupportInfo = new PhaseFriendlySupportInfo(this, "友軍艦隊");
            FriendlyAirBattle   = new PhaseFriendlyAirBattle(this, "友軍支援航空攻撃");
            AirBattle           = new PhaseAirBattle(this, "第一次航空戦");
            Support             = new PhaseSupport(this, "支援攻撃");
            AirBattle2          = new PhaseAirBattle(this, "第二次航空戦", "2");

            foreach (var phase in GetPhases())
            {
                phase.EmulateBattle(_resultHPs, _attackDamages);
            }
        }
        public override void LoadFromResponse(string apiname, dynamic data)
        {
            base.LoadFromResponse(apiname, (object)data);

            JetBaseAirAttack    = new PhaseJetBaseAirAttack(this, "噴式基地航空隊攻撃");
            JetAirBattle        = new PhaseJetAirBattle(this, "噴式航空戦");
            BaseAirAttack       = new PhaseBaseAirAttack(this, "基地航空隊攻撃");
            FriendlySupportInfo = new PhaseFriendlySupportInfo(this, "友軍艦隊");
            FriendlyAirBattle   = new PhaseFriendlyAirBattle(this, "友軍支援航空攻撃");
            AirBattle           = new PhaseAirBattle(this, "航空戦");
            Support             = new PhaseSupport(this, "支援攻撃");
            OpeningASW          = new PhaseOpeningASW(this, "先制対潜");
            OpeningTorpedo      = new PhaseTorpedo(this, "先制雷撃", 0);
            Shelling1           = new PhaseShelling(this, "第一次砲撃戦", 1, "1");
            Torpedo             = new PhaseTorpedo(this, "雷撃戦", 2);
            Shelling2           = new PhaseShelling(this, "第二次砲撃戦", 3, "2");
            Shelling3           = new PhaseShelling(this, "第三次砲撃戦", 4, "3");

            foreach (var phase in GetPhases())
            {
                phase.EmulateBattle(_resultHPs, _attackDamages);
            }
        }