\r
public int MaterialLogInterval\r
{\r
- set { _materialLogInterval = value; }\r
+ set => _materialLogInterval = value;\r
}\r
\r
public string OutputDir\r
{\r
- set { _writer = new LogWriter(value).Write; }\r
+ set => _writer = new LogWriter(value).Write;\r
}\r
\r
public Logger(ShipInfo ship, ItemInfo item, BattleInfo battle)\r
_map = json;\r
}\r
\r
+ public void InspectClearItemGet(dynamic json)\r
+ {\r
+ if ((_logType & LogType.Achivement) == 0)\r
+ return;\r
+ if (json.api_bounus_count == 0)\r
+ return;\r
+ foreach (var entry in json.api_bounus)\r
+ {\r
+ if (entry.api_type != 18)\r
+ continue;\r
+ _writer("戦果",\r
+ _nowFunc().ToString(DateTimeFormat) + "," + _lastExp + "," + (int)entry.api_count,\r
+ "日付,経験値,EO");\r
+ break;\r
+ }\r
+\r
+ }\r
+\r
public void InspectBattle(dynamic json)\r
{\r
if (_battle != null) // 通常の夜戦は無視する\r
_endOfMonth = _endOfMonth.AddDays(days);\r
}\r
}\r
- _nextDate = new DateTime(now.Year, now.Month, now.Day, 5, 0, 0);\r
- if (now.Hour >= 5)\r
+ _nextDate = new DateTime(now.Year, now.Month, now.Day, 2, 0, 0);\r
+ if (now.Hour >= 2)\r
_nextDate = _nextDate.AddDays(1);\r
if (_nextDate.Day == 1)\r
_nextDate = _nextDate.AddDays(1);\r