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

Method GetDesc

Source/Objects/prefab.cpp:66–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void Prefab::GetDesc(EntityDescription& desc) const {
67 Group::GetDesc(desc);
68 desc.AddBool(EDF_PREFAB_LOCKED, prefab_locked);
69 desc.AddPath(EDF_PREFAB_PATH, prefab_path);
70 desc.AddVec3(EDF_ORIGINAL_SCALE, original_scale_);
71}
72
73void Prefab::InfrequentUpdate() {
74 Group::InfrequentUpdate();

Callers

nothing calls this directly

Calls 3

AddBoolMethod · 0.80
AddVec3Method · 0.80
AddPathMethod · 0.45

Tested by

no test coverage detected