public override string GetBattleDetail(int index)
        {
            var sb = new StringBuilder();

            string baseair    = BaseAirAttack.GetBattleDetail(index);
            string airbattle1 = AirBattle.GetBattleDetail(index);
            string support    = Support.GetBattleDetail(index);
            string airbattle2 = AirBattle2.GetBattleDetail(index);

            if (baseair != null)
            {
                sb.AppendLine("《基地航空隊攻撃》").Append(baseair);
            }
            if (airbattle1 != null)
            {
                sb.AppendLine("《第一次航空戦》").Append(airbattle1);
            }
            if (support != null)
            {
                sb.AppendLine("《支援攻撃》").Append(support);
            }
            if (airbattle2 != null)
            {
                sb.AppendLine("《第二次航空戦》").Append(airbattle2);
            }

            return(sb.ToString());
        }
        public override string GetBattleDetail(int index)
        {
            var sb = new StringBuilder();

            string baseair        = BaseAirAttack.GetBattleDetail(index);
            string airbattle      = AirBattle.GetBattleDetail(index);
            string support        = Support.GetBattleDetail(index);
            string asw            = OpeningASW.GetBattleDetail(index);
            string openingTorpedo = OpeningTorpedo.GetBattleDetail(index);
            string shelling1      = Shelling1.GetBattleDetail(index);
            string shelling2      = Shelling2.GetBattleDetail(index);
            string shelling3      = Shelling3.GetBattleDetail(index);
            string torpedo        = Torpedo.GetBattleDetail(index);

            if (baseair != null)
            {
                sb.AppendLine("《基地航空隊攻撃》").Append(baseair);
            }
            if (airbattle != null)
            {
                sb.AppendLine("《航空戦》").Append(airbattle);
            }
            if (support != null)
            {
                sb.AppendLine("《支援攻撃》").Append(support);
            }
            if (asw != null)
            {
                sb.AppendLine("《開幕対潜》").Append(asw);
            }
            if (openingTorpedo != null)
            {
                sb.AppendLine("《開幕雷撃》").Append(openingTorpedo);
            }
            if (shelling1 != null)
            {
                sb.AppendLine("《第一次砲撃戦》").Append(shelling1);
            }
            if (shelling2 != null)
            {
                sb.AppendLine("《第二次砲撃戦》").Append(shelling2);
            }
            if (shelling3 != null)
            {
                sb.AppendLine("《第三次砲撃戦》").Append(shelling3);
            }
            if (torpedo != null)
            {
                sb.AppendLine("《雷撃戦》").Append(torpedo);
            }

            return(sb.ToString());
        }
Example #3
0
        public override string GetBattleDetail(int index)
        {
            var sb = new StringBuilder();

            string baseair   = BaseAirAttack.GetBattleDetail(index);
            string airbattle = AirBattle.GetBattleDetail(index);

            if (baseair != null)
            {
                sb.AppendLine("《基地航空隊攻撃》").Append(baseair);
            }
            if (airbattle != null)
            {
                sb.AppendLine("《航空戦》").Append(airbattle);
            }

            return(sb.ToString());
        }