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

Method unset

src/common/StateDatabase.cpp:164–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162
163
164void StateDatabase::unset(const std::string& name, Permission accessLevel) {
165 ItemMap::iterator it = lookup(name);
166 if (accessLevel >= it->second.permission) {
167 it->second.value = "";
168 it->second.isSet = false;
169 it->second.isTrue = false;
170 notify(it);
171 }
172}
173
174
175void StateDatabase::touch(const std::string& name, Permission accessLevel) {

Callers 11

updateConfigFileFunction · 0.80
cmdUnsetFunction · 0.80
dismissMethod · 0.80
parseFunction · 0.80
dumpResourcesFunction · 0.80
setupConfigsFunction · 0.80
initDisplayFunction · 0.80
postWindowInitFunction · 0.80
parseFunction · 0.80
setupConfigsFunction · 0.80
UnsetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected