private readonly List<Panel> _panelList = new List<Panel>();\r
private readonly List<ShipLabel> _hpLabels = new List<ShipLabel>();\r
private readonly BattleInfo.BattleResult[] _result = new BattleInfo.BattleResult[2];\r
- private Label _phaseLabel, _rankLabel, _cellLabel;\r
+ private Label _phaseLabel, _rankLabel, _supportLabel, _cellLabel;\r
private readonly BattleResultRank[] _rank = new BattleResultRank[2];\r
private readonly InformationPanel _informationPanel;\r
private CellInfo _cellInfo;\r
+ private string _supportType;\r
\r
public Spoiler Spoilers { get; set; }\r
\r
case BattleState.Unknown:\r
return;\r
}\r
+ _supportType = sniffer.Battle.SupportType;\r
if ((Spoilers & Spoiler.BattleResult) != 0)\r
{\r
ShowResult(sniffer.Battle.Result);\r
panel.Visible = false;\r
_informationPanel.Visible = false;\r
_rankLabel.Text = "";\r
+ _supportLabel.Text = "";\r
}\r
\r
private void ShowResult(BattleInfo.BattleResult result)\r
{\r
var result = new[] {"完全S", "勝利S", "勝利A", "勝利B", "敗北C", "敗北D", "敗北E"};\r
_rankLabel.Text = result[(int)rank];\r
+ _supportLabel.Text = _supportType;\r
}\r
\r
public void UpdateCellInfo(CellInfo cellInfo)\r
Size = new Size(42, 12)\r
};\r
Controls.Add(_rankLabel);\r
+ _supportLabel = new Label\r
+ {\r
+ Location = new Point(77, 4),\r
+ AutoSize = true\r
+ };\r
+ Controls.Add(_supportLabel);\r
_cellLabel = new Label\r
{\r
Location = new Point(0, 4),\r