From: Kazuhiro Fujieda Date: Tue, 4 Aug 2020 13:19:54 +0000 (+0900) Subject: 艦娘一覧のCVS形式に運を追加する X-Git-Tag: v12.0~15 X-Git-Url: http://git.osdn.net/view?p=kancollesniffer%2FKancolleSniffer.git;a=commitdiff_plain;h=331d31ad931001ba477b90edc8b569e1fc5cb2cf 艦娘一覧のCVS形式に運を追加する --- diff --git a/KancolleSniffer/Model/TextGenerator.cs b/KancolleSniffer/Model/TextGenerator.cs index 027711a..66b65da 100644 --- a/KancolleSniffer/Model/TextGenerator.cs +++ b/KancolleSniffer/Model/TextGenerator.cs @@ -22,11 +22,11 @@ namespace KancolleSniffer.Model public static class TextGenerator { public static string GenerateShipList(IEnumerable shipList) - => "ID,艦種,艦名,レベル,ExpToNext,cond,素対潜\r\n" + + => "ID,艦種,艦名,レベル,ExpToNext,cond,素対潜,運\r\n" + string.Join("\r\n", from ship in shipList orderby ship.Spec.ShipType, -ship.Level, ship.ExpToNext - select $"{ship.Id},{ship.Spec.ShipTypeName},{ship.Name},{ship.Level},{ship.ExpToNext},{ship.Cond},{ship.ShipAntiSubmarine}"); + select $"{ship.Id},{ship.Spec.ShipTypeName},{ship.Name},{ship.Level},{ship.ExpToNext},{ship.Cond},{ship.ShipAntiSubmarine},{ship.Lucky}"); public static string GenerateKantaiSarashiData(IEnumerable shipList) {