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

Function Player

engine/Poseidon/Game/Commands/GameStateExtGrp.cpp:345–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345GameValue Player(const GameState* state)
346{
347 Person* soldier = GWorld->PlayerOn();
348 OLink<Object> player = (Object*)soldier;
349 return GameValueExt(player.GetLink());
350}
351
352GameValue PlayerClearInjured(const GameState* state)
353{

Callers

nothing calls this directly

Calls 3

GameValueExtClass · 0.85
PlayerOnMethod · 0.80
GetLinkMethod · 0.80

Tested by

no test coverage detected