MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / AS_SetConfigValueBool

Function AS_SetConfigValueBool

Source/Scripting/angelscript/asfuncs.cpp:6334–6337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6332}
6333
6334void AS_SetConfigValueBool(std::string key, bool value) {
6335 config.GetRef(key) = value;
6336 config.ReloadDynamicSettings();
6337}
6338
6339void AS_SetConfigValueInt(std::string key, int value) {
6340 config.GetRef(key) = value;

Callers

nothing calls this directly

Calls 2

ReloadDynamicSettingsMethod · 0.80
GetRefMethod · 0.45

Tested by

no test coverage detected