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

Method AddString

Source/Game/EntityDescription.cpp:90–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void EntityDescription::AddString(EntityDescriptionFieldType type, const std::string& val) {
91 AddType(type);
92 fields.back().WriteString(val);
93}
94
95const EntityDescriptionField* EntityDescription::GetField(EntityDescriptionFieldType type) const {
96 for (const auto& field : fields) {

Callers 15

LoadGenericEntityFunction · 0.45
GetDescMethod · 0.45
GetDescMethod · 0.45
GetDescMethod · 0.45
GetDescMethod · 0.45
GetDescMethod · 0.45
GetDescMethod · 0.45
GetDescMethod · 0.45
GetDescMethod · 0.45
GetDescMethod · 0.45
GetDescMethod · 0.45

Calls 2

WriteStringMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected