OSDN Git Service

艦娘数と装備数を通知する余力の初期値を5にする
authorKazuhiro Fujieda <fujieda@users.osdn.me>
Sun, 19 Aug 2018 13:51:41 +0000 (22:51 +0900)
committerKazuhiro Fujieda <fujieda@users.osdn.me>
Sun, 19 Aug 2018 13:56:23 +0000 (22:56 +0900)
KancolleSniffer/Config.cs
KancolleSniffer/Model/ItemInfo.cs
KancolleSniffer/Model/ShipInfo.cs

index 2277aaf..f687617 100644 (file)
@@ -213,8 +213,8 @@ namespace KancolleSniffer
         public bool PlaySound { get; set; } = true;\r
         public NotificationType NotificationFlags { get; set; } = NotificationType.All;\r
         public NotificationConfig Notifications { get; set; } = new NotificationConfig();\r
-        public int MarginShips { get; set; } = 4;\r
-        public int MarginEquips { get; set; } = 10;\r
+        public int MarginShips { get; set; } = 5;\r
+        public int MarginEquips { get; set; } = 5;\r
         public List<int> NotifyConditions { get; set; }\r
         public List<int> ResetHours { get; set; }\r
         public bool AlwaysShowResultRank { get; set; }\r
index e62905c..237cead 100644 (file)
@@ -28,7 +28,7 @@ namespace KancolleSniffer.Model
         {\r
             _itemMaster = itemMaster;\r
             _itemInventry = itemInventry;\r
-            Counter = new AlarmCounter(() => _itemInventry.Count) {Margin = 10};\r
+            Counter = new AlarmCounter(() => _itemInventry.Count) {Margin = 5};\r
         }\r
 \r
         public void InspectBasic(dynamic json)\r
index 40ba2e3..d9f4d2e 100644 (file)
@@ -68,7 +68,7 @@ namespace KancolleSniffer.Model
             _shipInventry = shipInventry;\r
             _fleets = Enumerable.Range(0, FleetCount).Select((x, i) => new Fleet(_shipInventry, i, () => _hqLevel)).ToArray();\r
             _itemInventry = itemInventry;\r
-            Counter = new AlarmCounter(() => _shipInventry.Count){Margin = 4};\r
+            Counter = new AlarmCounter(() => _shipInventry.Count) {Margin = 5};\r
         }\r
 \r
         public void InspectMaster(dynamic json)\r