13 SetIsUniqueInActionQueue(
false);
14 utility.m_FireteamMgr.GetOnFireteamRemoved().Insert(Event_OnFireteamRemovedFromGroup);
21 m_Utility.m_FireteamMgr.GetOnFireteamRemoved().Remove(Event_OnFireteamRemovedFromGroup);
25 override void OnActionRemoved()
28 m_aAssignedFireteams.Clear();
35 foreach (
auto ft : m_aAssignedFireteams)
36 outFireteams.Insert(ft);
50 m_aAssignedFireteams.Insert(ftLock);
60 m_aAssignedFireteams.Remove(
id);
62 if (m_aAssignedFireteams.IsEmpty())
63 OnAssignedFireteamsEmpty();
73 m_aAssignedFireteams.Remove(
id);
75 if (m_aAssignedFireteams.IsEmpty())
76 OnAssignedFireteamsEmpty();
87 OnFireteamRemovedFromGroup(ft);
92 void OnAssignedFireteamsEmpty()
95 AddDebugMessage(
"All fireteams are destroyed, activity is failed");
106 override string GetDebugPanelText()
109 string str =
"FTs: ";
112 str = str +
string.Format(
"%1, ", m_Utility.m_FireteamMgr.GetFireteamId(ftLock.GetFireteam()));