MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetReferences

Method GetReferences

Source/Engine/Content/JsonAsset.cpp:158–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158void JsonAssetBase::GetReferences(const StringAnsiView& json, Array<Guid>& assets)
159{
160 ISerializable::SerializeDocument document;
161 document.Parse(json.Get(), json.Length());
162 if (document.HasParseError())
163 return;
164 Array<String> files;
165 FindIds(document, assets, files);
166}
167
168bool JsonAssetBase::Save(const StringView& path)
169{

Callers

nothing calls this directly

Calls 5

FindIdsFunction · 0.85
ParseMethod · 0.45
GetMethod · 0.45
LengthMethod · 0.45
HasParseErrorMethod · 0.45

Tested by

no test coverage detected