Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ setAdmin
Method
setAdmin
source/game/StarPlayer.cpp:2035–2037 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2033
}
2034
2035
void Player::setAdmin(bool isAdmin) {
2036
m_isAdmin = isAdmin;
2037
}
2038
2039
bool Player::isAdmin() const {
2040
return m_isAdmin;
Callers
3
handlePackets
Method · 0.45
admin
Method · 0.45
TestUniverse
Method · 0.45
Calls
no outgoing calls
Tested by
1
TestUniverse
Method · 0.36