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

Method SendKilled

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

Source from the content-addressed store, hash-verified

2270{
2271 if (IsEmptySelectedUnits())
2272 {
2273 return;
2274 }
2275 grp->SendState(new RadioMessageTarget(grp, ListSelectedUnits(), nullptr, false, true));
2276 ClearSelectedUnits();
2277}
2278
2279void InGameUI::IssueWatchAuto(AIGroup* grp)
2280{
2281 if (IsEmptySelectedUnits())
2282 {
2283 return;
2284 }
2285 grp->SendState(new RadioMessageWatchAuto(grp, ListSelectedUnits()));
2286 ClearSelectedUnits();
2287}
2288
2289void InGameUI::SendFireReady(AIUnit* unit, bool ready)

Callers

nothing calls this directly

Calls 4

SendUnitDownMethod · 0.80
UnitWithIDMethod · 0.80
GetGroupMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected