Esempio n. 1
0
        public override string ToString()
        {
            string text = $"==[遠征結果]==\n";
            string str  = $"帰還艦隊 ID:{base.DeckID}\n";

            ShipModel[] ships = base.Ships;
            foreach (ShipModel shipModel in ships)
            {
                ShipExpModel shipExpInfo = GetShipExpInfo(shipModel.MemId);
                str += $" {shipModel.Name}(ID:{shipModel.MemId}) {shipExpInfo}";
            }
            str += "\n";
            str += $"遠征結果:{result} 遠征名:{MissionName}\n";
            str += $"提督名:{base.Name} Lv{base.Level} [{base.Rank}] 艦隊名:{base.FleetName}\n";
            MaterialInfo materialInfo = GetMaterialInfo();

            str += $"獲得経験値:{base.Exp} 獲得資材:燃/弾/鋼/ボ {materialInfo.Fuel}/{materialInfo.Ammo}/{materialInfo.Steel}/{materialInfo.Baux}";
            str += $" 獲得戦略ポイント:{Spoint}\n";
            List <IReward> items = GetItems();

            for (int j = 0; j < items.Count; j++)
            {
                str += $"獲得アイテム:{items[j]}";
            }
            return(str);
        }
        public override string ToString()
        {
            string text = string.Format("==[艦隊演習結果]==\n", new object[0]);

            text += string.Format("艦隊 ID:{0}({1}) 艦隊演習タイプ:{2}\n", base.DeckID, base.FleetName, this.PracticeType);
            text += string.Format("提督名:{0} Lv{1}  獲得提督経験値:{2}\n", base.Name, base.Level, base.Exp);
            text += "\n";
            ShipModel[] ships = base.Ships;
            for (int i = 0; i < ships.Length; i++)
            {
                ShipModel    shipModel   = ships[i];
                ShipExpModel shipExpInfo = base.GetShipExpInfo(shipModel.MemId);
                text += string.Format(" {0}(ID:{1}) {2}\n", shipModel.Name, shipModel.MemId, shipExpInfo);
                PowUpInfo powUpInfo = this._powup.get_Item(shipModel.MemId);
                text += string.Format("   火力上昇:{0} 雷装上昇:{1} 対空上昇:{2} 対潜上昇:{3} 装甲上昇:{4} 回避上昇:{5} 運上昇:{6}", new object[]
                {
                    powUpInfo.Karyoku,
                    powUpInfo.Raisou,
                    powUpInfo.Taiku,
                    powUpInfo.Taisen,
                    powUpInfo.Soukou,
                    powUpInfo.Kaihi,
                    powUpInfo.Lucky
                });
                text += "\n";
            }
            return(text);
        }
Esempio n. 3
0
        public override string ToString()
        {
            string str = $"==[艦隊演習結果]==\n";

            str += $"艦隊 ID:{base.DeckID}({base.FleetName}) 艦隊演習タイプ:{PracticeType}\n";
            str += $"提督名:{base.Name} Lv{base.Level}  獲得提督経験値:{base.Exp}\n";
            str += "\n";
            ShipModel[] ships = base.Ships;
            foreach (ShipModel shipModel in ships)
            {
                ShipExpModel shipExpInfo = GetShipExpInfo(shipModel.MemId);
                str += $" {shipModel.Name}(ID:{shipModel.MemId}) {shipExpInfo}\n";
                PowUpInfo powUpInfo = _powup[shipModel.MemId];
                str += $"   火力上昇:{powUpInfo.Karyoku} 雷装上昇:{powUpInfo.Raisou} 対空上昇:{powUpInfo.Taiku} 対潜上昇:{powUpInfo.Taisen} 装甲上昇:{powUpInfo.Soukou} 回避上昇:{powUpInfo.Kaihi} 運上昇:{powUpInfo.Lucky}";
                str += "\n";
            }
            return(str);
        }
Esempio n. 4
0
        public override string ToString()
        {
            string text = string.Format("==[遠征結果]==\n", new object[0]);

            text = string.Format("帰還艦隊 ID:{0}\n", base.DeckID);
            ShipModel[] ships = base.Ships;
            for (int i = 0; i < ships.Length; i++)
            {
                ShipModel    shipModel   = ships[i];
                ShipExpModel shipExpInfo = base.GetShipExpInfo(shipModel.MemId);
                text += string.Format(" {0}(ID:{1}) {2}", shipModel.Name, shipModel.MemId, shipExpInfo);
            }
            text += "\n";
            text += string.Format("遠征結果:{0} 遠征名:{1}\n", this.result, this.MissionName);
            text += string.Format("提督名:{0} Lv{1} [{2}] 艦隊名:{3}\n", new object[]
            {
                base.Name,
                base.Level,
                base.Rank,
                base.FleetName
            });
            MaterialInfo materialInfo = this.GetMaterialInfo();

            text += string.Format("獲得経験値:{0} 獲得資材:燃/弾/鋼/ボ {1}/{2}/{3}/{4}", new object[]
            {
                base.Exp,
                materialInfo.Fuel,
                materialInfo.Ammo,
                materialInfo.Steel,
                materialInfo.Baux
            });
            text += string.Format(" 獲得戦略ポイント:{0}\n", this.Spoint);
            List <IReward> items = this.GetItems();

            for (int j = 0; j < items.get_Count(); j++)
            {
                text += string.Format("獲得アイテム:{0}", items.get_Item(j));
            }
            return(text);
        }
 public void __InitResultData__(int exp_rate_before, ShipModel after_ship, int exp, List <int> levelup_info)
 {
     this._lov      = ((after_ship != null) ? after_ship.Lov : 0);
     this._exp_info = new ShipExpModel(exp_rate_before, after_ship, exp, levelup_info);
 }
Esempio n. 6
0
 public void __InitResultData__(int exp_rate_before, ShipModel after_ship, int exp, List <int> levelup_info)
 {
     _lov      = (after_ship?.Lov ?? 0);
     _exp_info = new ShipExpModel(exp_rate_before, after_ship, exp, levelup_info);
 }