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

Method GetDesc

Source/Objects/decalobject.cpp:137–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void DecalObject::GetDesc(EntityDescription& desc) const {
138 Object::GetDesc(desc);
139 desc.AddString(EDF_FILE_PATH, obj_file);
140 color_tint_component_.AddToDescription(desc);
141}
142
143bool DecalObject::SetFromDesc(const EntityDescription& desc) {
144 bool ret = Object::SetFromDesc(desc);

Callers

nothing calls this directly

Calls 2

AddToDescriptionMethod · 0.80
AddStringMethod · 0.45

Tested by

no test coverage detected