MCPcopy Create free account
hub / github.com/Illation/ETEngine / SetReferenceIds

Method SetReferenceIds

Engine/source/EtCore/Content/Asset.cpp:140–147  ·  view source on GitHub ↗

--------------------------------- I_Asset::SetReferenceIds Create the reference list from a vector of strings - can't make list a const ref thanks to rttr

Source from the content-addressed store, hash-verified

138// - can't make list a const ref thanks to rttr
139//
140void I_Asset::SetReferenceIds(std::vector<HashString> val)
141{
142 m_References.clear();
143 for (HashString const refId : val)
144 {
145 m_References.emplace_back(refId);
146 }
147}
148
149//---------------------------------
150// I_Asset::Load

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected