MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / setBool

Method setBool

src/common/StateDatabase.cpp:152–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150
151
152void StateDatabase::setBool(const std::string& name, const bool& value,
153 Permission accessLevel) {
154 set(name, value ? std::string("1") : std::string("0"), accessLevel);
155}
156
157
158void StateDatabase::setFloat(const std::string& name, const float& value,

Callers 12

readMethod · 0.80
cmdMessagePanelFunction · 0.80
changePlayerTeamFunction · 0.80
enteringServerFunction · 0.80
callbackMethod · 0.80
callbackMethod · 0.80
callbackMethod · 0.80
executeMethod · 0.80
callbackMethod · 0.80
setupConfigsFunction · 0.80
initDisplayFunction · 0.80
SetBoolMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected