var text = sniffer.CellInfo;\r
if (text == null)\r
return;\r
- if ((Spoilers & Spoiler.NextCell) == 0 && text[0] == '次')\r
- return;\r
- _cellLabel.Text = sniffer.CellInfo;\r
+ _cellLabel.Text = (Spoilers & Spoiler.NextCell) == 0 ? sniffer.CellInfo.Current : sniffer.CellInfo.Next;\r
_cellLabel.Location = new Point(ClientSize.Width - _cellLabel.Width - 2, 4);\r
}\r
\r
_cellLabel = new Label\r
{\r
Location = new Point(0, 4),\r
- AutoSize = true,\r
+ AutoSize = true\r
};\r
Controls.Add(_cellLabel);\r
for (var i = 0; i < 13; i++)\r
{\r
private int _batttleCount;\r
\r
- public string Text { get; set; }\r
+ public string Next { get; set; }\r
+\r
+ public string Current { get; set; }\r
\r
private string _info;\r
\r
public void Port()\r
{\r
- Text = _info;\r
+ Current = Next = _info;\r
+ _info = "";\r
}\r
\r
public void StartBattle()\r
{\r
- Text = _info;\r
+ Current = Next = _info;\r
}\r
\r
public void InspectMapStart(dynamic json)\r
\r
public void InspectMapNext(dynamic json)\r
{\r
+ Current = _info;\r
SetInfo(json);\r
- Text = "次" + _info;\r
+ Next = "次" + _info;\r
}\r
\r
private void SetInfo(dynamic json)\r
\r
public BaseAirCoprs.BaseInfo[] BaseAirCorps => _baseAirCoprs.AllAirCorps;\r
\r
- public string CellInfo => _cellInfo.Text;\r
+ public CellInfo CellInfo => _cellInfo;\r
\r
public void SetLogWriter(Action<string, string, string> writer, Func<DateTime> nowFunc)\r
{\r