MCPcopy Create free account
hub / github.com/Jeija/spheretest / objectrefGetOrCreate

Method objectrefGetOrCreate

src/script/cpp_api/s_base.cpp:302–310  ·  view source on GitHub ↗

Creates a new anonymous reference if cobj=NULL or id=0

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

l_get_attachMethod · 0.80
l_add_entityMethod · 0.80
l_get_player_by_nameMethod · 0.80

Calls 1

getIdMethod · 0.45

Tested by

no test coverage detected