MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / playerId

Method playerId

source/game/StarWorldClientState.cpp:42–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42EntityId WorldClientState::playerId() const {
43 return m_playerId.get();
44}
45
46void WorldClientState::setPlayer(EntityId playerId) {
47 return m_playerId.set(playerId);

Callers 5

clientPlayerMethod · 0.80
playersMethod · 0.80
handleIncomingPacketsMethod · 0.80
updateMethod · 0.80
makeWorldCallbacksFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected