MCPcopy Create free account
hub / github.com/TurningWheel/Barony / isLocalPlayerAlive

Method isLocalPlayerAlive

src/player.cpp:3318–3321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3316 return ((splitscreen && bSplitscreen) || playernum == clientnum || (intro && multiplayer == SINGLE));
3317}
3318const bool Player::isLocalPlayerAlive() const
3319{
3320 return (isLocalPlayer() && entity && !client_disconnected[playernum]);
3321}
3322
3323Entity* Player::getPlayerInteractEntity(const int playernum)
3324{

Callers 12

actPedestalBaseMethod · 0.80
actFloorDecorationFunction · 0.80
ingameHudFunction · 0.80
doRumbleMethod · 0.80
tooltipInRangeMethod · 0.80
handleTooltipsMethod · 0.80
consolecommand.cppFile · 0.80
updateShopMethod · 0.80
updateGUIMethod · 0.80
claimItemsMethod · 0.80
updateSignGUIMethod · 0.80
sound_updateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected