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

Method WriteTypeString

Source/Editors/actors_editor.cpp:874–878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

872}
873
874void TypeEnable::WriteTypeString(EntityType type) const {
875 char buffer[128];
876 FormatString(buffer, 128, "type_enabled_%s_%s", config_postfix, CStringFromEntityType(type));
877 config.GetRef(buffer) = IsTypeEnabled(type);
878}

Callers

nothing calls this directly

Calls 3

FormatStringFunction · 0.85
CStringFromEntityTypeFunction · 0.85
GetRefMethod · 0.45

Tested by

no test coverage detected