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

Function make_instance

src/world/script_world.cpp:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19namespace script_world_internal
20{
21 static ScriptId make_instance(u32 i)
22 {
23 ScriptId inst = { i };
24 return inst;
25 }
26
27 static void unit_destroyed_callback(ScriptWorld &sw, UnitId unit)
28 {

Callers 7

instanceFunction · 0.70
create_instancesMethod · 0.70
destroyMethod · 0.70
instanceMethod · 0.70
spriteMethod · 0.70
lod_groupMethod · 0.70
lightMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected