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

Function AS_SetConfigValueInt

Source/Scripting/angelscript/asfuncs.cpp:6339–6342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6337}
6338
6339void AS_SetConfigValueInt(std::string key, int value) {
6340 config.GetRef(key) = value;
6341 config.ReloadDynamicSettings();
6342}
6343
6344int AS_GetConfigValueInt(std::string string) {
6345 return config[string].toNumber<int>();

Callers

nothing calls this directly

Calls 2

ReloadDynamicSettingsMethod · 0.80
GetRefMethod · 0.45

Tested by

no test coverage detected