MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / IssueWatchTarget

Method IssueWatchTarget

engine/Poseidon/UI/InGame/InGameUI.cpp:2114–2131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2112 action.param2 = item._param2;
2113 action.param3 = item._param3;
2114 action.priority = 0;
2115 action.showWindow = false;
2116 action.hideOnUse = false;
2117 unit->GetVehicle()->StartActionProcessing(action, unit);
2118 }
2119 }
2120 }
2121
2122 ClearSelectedUnits();
2123}
2124
2125void InGameUI::IssueMove(AIGroup* grp, int where)
2126{
2127 if (IsEmptySelectedUnits())
2128 {
2129 return;
2130 }
2131
2132 AIUnit* unit = nullptr;
2133 for (int i = 0; i < MAX_UNITS_PER_GROUP; i++)
2134 {

Callers

nothing calls this directly

Calls 4

IsEmptySelectedUnitsFunction · 0.85
ListSelectedUnitsFunction · 0.85
ClearSelectedUnitsFunction · 0.85
SendTargetMethod · 0.45

Tested by

no test coverage detected