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

Method isTeleporting

source/game/StarPlayer.cpp:2052–2054  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2050}
2051
2052bool Player::isTeleporting() const {
2053 return (m_state == State::TeleportIn) || (m_state == State::TeleportOut);
2054}
2055
2056bool Player::isTeleportingOut() const {
2057 return inWorld() && (m_state == State::TeleportOut) && m_teleportTimer >= 0.0f;

Callers 4

canBeamUpMethod · 0.80
canBeamDownMethod · 0.80
updateMethod · 0.80
warpPlayerMethod · 0.80

Calls

no outgoing calls

Tested by 1

warpPlayerMethod · 0.64