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

Method IssueWatch

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

Source from the content-addressed store, hash-verified

2286 ClearSelectedUnits();
2287}
2288
2289void InGameUI::SendFireReady(AIUnit* unit, bool ready)
2290{
2291 if (!unit)
2292 {
2293 return;
2294 }
2295 AIGroup* grp = unit->GetGroup();
2296 if (!grp)
2297 {
2298 return;
2299 }
2300 grp->ReportFire(unit, ready);
2301}
2302
2303void InGameUI::SendAnswer(AIUnit* unit, AI::Answer answer)
2304{
2305 AIGroup* grp = unit->GetGroup();
2306 if (!grp)

Callers

nothing calls this directly

Calls 5

IsEmptySelectedUnitsFunction · 0.85
ListSelectedUnitsFunction · 0.85
ClearSelectedUnitsFunction · 0.85
SendStateMethod · 0.80
DirectionMethod · 0.45

Tested by

no test coverage detected