public void RaiseEvent(MissionLoadout item)
 {
     if (OnEventRaised != null)
     {
         OnEventRaised.Invoke(item);
     }
 }
Пример #2
0
 public void OnAcceptButtonClick()
 {
     if (_missionStartRequest != null)
     {
         MissionLoadout loadout = new MissionLoadout
         {
             Mission        = _currentMission,
             AssignedAgents = _agentsDisplayed.Where(ad => ad.Value.IsSelected).Select(ad => ad.Key).ToList()
         };
         _missionStartRequest.RaiseEvent(loadout);
     }
 }
Пример #3
0
 void OnMissionStartRequested(MissionLoadout loadout)
 {
 }