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

Method WriteString

Source/Game/EntityDescription.cpp:1419–1421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1417}
1418
1419void EntityDescriptionField::WriteString(const std::string& str) {
1420 data.assign(str.begin(), str.end());
1421}
1422
1423void EntityDescriptionField::ReadPath(Path* path) const {
1424 std::string str;

Callers 1

AddStringMethod · 0.45

Calls 3

assignMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected