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

Method setFloat

src/common/StateDatabase.cpp:158–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157
158void StateDatabase::setFloat(const std::string& name, const float& value,
159 Permission accessLevel) {
160 set(name, TextUtils::format("%f", value), accessLevel);
161}
162
163
164void StateDatabase::unset(const std::string& name, Permission accessLevel) {

Callers 11

getGoodPosValueFunction · 0.80
getGoodNonZeroValueFunction · 0.80
getGameFPSFunction · 0.80
unpackGameSettingsMethod · 0.80
cmdRadarZoomFunction · 0.80
cmdViewZoomFunction · 0.80
doFPSLimitFunction · 0.80
callbackMethod · 0.80
callbackMethod · 0.80
setUserFadeMethod · 0.80
SetFloatMethod · 0.80

Calls 1

formatFunction · 0.70

Tested by

no test coverage detected