MCPcopy Create free account
hub / github.com/crownengine/crown / instance

Function instance

src/world/script_world.cpp:105–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 }
104
105 ScriptId instance(ScriptWorld &sw, UnitId unit)
106 {
107 return script_world_internal::make_instance(hash_map::get(sw._map, unit, UINT32_MAX));
108 }
109
110 void broadcast(ScriptWorld &sw
111 , const char *function_name

Callers 8

update_sceneMethod · 0.85
unit_destroyed_callbackFunction · 0.85
createFunction · 0.85
createMethod · 0.85
create_instancesMethod · 0.85
createMethod · 0.85

Calls 2

getFunction · 0.85
make_instanceFunction · 0.70

Tested by

no test coverage detected