Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
19
namespace 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
instance
Function · 0.70
create_instances
Method · 0.70
destroy
Method · 0.70
instance
Method · 0.70
sprite
Method · 0.70
lod_group
Method · 0.70
light
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected