MCPcopy Create free account
hub / github.com/HailToDodongo/pyrite64 / load

Function load

n64/engine/src/script/nodeGraph.cpp:27–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 };
26
27 void* load(const char* path)
28 {
29 auto data = asset_load(path, nullptr);
30 uint64_t uuid = ((uint64_t*)data)[0];
31 // debugf("Loaded NodeGraph: %s (UUID: %016llX)\n", path, uuid);
32 ((GraphFunc*)data)[0] = P64::Script::getGraphFuncByUUID(uuid);
33 return data;
34 }
35}
36
37void P64::NodeGraph::Instance::load(uint16_t assetIdx)

Callers 9

updateMethod · 0.70
mainFunction · 0.50
initMethod · 0.50
onSceneUpdateFunction · 0.50
updateFunction · 0.50
updateFunction · 0.50
updateFunction · 0.50
initFunction · 0.50
destroyFunction · 0.50

Calls 1

getGraphFuncByUUIDFunction · 0.85

Tested by 1

onSceneUpdateFunction · 0.40