// limitations under the License.\r
\r
using System;\r
-using System.Collections.Generic;\r
using System.ComponentModel;\r
using System.Drawing;\r
using System.Windows.Forms;\r
-using KancolleSniffer.Util;\r
+using KancolleSniffer.Model;\r
\r
// ReSharper disable CoVariantArrayConversion\r
\r
_phaseName.Click += PhaseNameOnClick;\r
}\r
\r
- public void SetResult(List<AirBattleResult> resultList)\r
+ public void SetResult(Sniffer sniffer)\r
{\r
- _resultList = resultList.ToArray();\r
+ var state = sniffer.Battle.BattleState;\r
+ if (state != BattleState.Day && state != BattleState.SpNight)\r
+ return;\r
+ _resultList = sniffer.Battle.AirBattleResults.ToArray();\r
if (_resultList.Length == 0)\r
{\r
ResultRemained = false;\r