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

Function GetReference

Source/Engine/Serialization/JsonTools.h:293–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291
292 template<typename T>
293 FORCE_INLINE static void GetReference(T& result, const Value& node, const char* name)
294 {
295 const auto member = node.FindMember(name);
296 if (member != node.MemberEnd())
297 {
298 result = GetGuid(member->value);
299 }
300 }
301
302 FORCE_INLINE static void GetGuid(Guid& result, const Value& node, const char* name)
303 {

Callers 1

loadAssetMethod · 0.85

Calls 3

GetGuidFunction · 0.85
FindMemberMethod · 0.80
MemberEndMethod · 0.80

Tested by

no test coverage detected