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

Method IsGunner

engine/Poseidon/AI/AIUnit.cpp:1350–1354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1348}
1349
1350bool AIUnit::IsGunner() const
1351{
1352 Transport* vehIn = GetVehicleIn();
1353 return vehIn && vehIn->GunnerBrain() == this;
1354}
1355
1356bool AIUnit::IsInCargo() const
1357{

Callers 5

SendAnswerMethod · 0.45
CheckGetInGetOutMethod · 0.45
FindTargetMethod · 0.45
DrawGroupInfoMethod · 0.45
SimulateHUDMethod · 0.45

Calls 1

GunnerBrainMethod · 0.80

Tested by

no test coverage detected