| 862 | } |
| 863 | |
| 864 | bool TypeEnable::ReadTypeString(EntityType type) { |
| 865 | char buffer[128]; |
| 866 | FormatString(buffer, 128, "type_enabled_%s_%s", config_postfix, CStringFromEntityType(type)); |
| 867 | if (config.HasKey(buffer)) { |
| 868 | return config[buffer].toBool(); |
| 869 | } else { |
| 870 | return unknown_types_enabled_; |
| 871 | } |
| 872 | } |
| 873 | |
| 874 | void TypeEnable::WriteTypeString(EntityType type) const { |
| 875 | char buffer[128]; |
nothing calls this directly
no test coverage detected