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

Method energy

source/game/StarNpc.cpp:1053–1055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1051}
1052
1053float Npc::energy() const {
1054 return m_statusController->resource("energy");
1055}
1056
1057bool Npc::energyLocked() const {
1058 return m_statusController->resourceLocked("energy");

Callers 3

writePlayerDataMethod · 0.45
ownerEnergyMethod · 0.45
updateRunningMethod · 0.45

Calls 1

resourceMethod · 0.45

Tested by

no test coverage detected