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

Method AddData

Source/Game/EntityDescription.cpp:615–618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613}
614
615void EntityDescription::AddData(EntityDescriptionFieldType type, const std::vector<char>& val) {
616 AddType(type);
617 memwrite(&val[0], val.size(), 1, fields.back().data);
618}
619
620void EntityDescription::AddBool(EntityDescriptionFieldType type, const bool& val) {
621 AddType(type);

Callers 4

GetDescMethod · 0.80
GetDescMethod · 0.80
GetDescMethod · 0.80
LoadActorFromXMLFunction · 0.80

Calls 3

memwriteFunction · 0.85
sizeMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected