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

Function unspawned

src/world/script_world.cpp:267–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265 }
266
267 void unspawned(ScriptWorld &sw, const UnitId *units, u32 num)
268 {
269 if (sw._disable_callbacks)
270 return;
271
272 ArgType::Enum arg_types = ArgType::POINTER;
273 Arg args;
274 args.pointer_value = (void *)sw._world;
275 script_world::multicast_group(sw, "unspawned", units, num, &arg_types, &args, 1);
276 }
277
278} // namespace script_world
279

Callers 2

destroy_unitMethod · 0.85
destroy_levelMethod · 0.85

Calls 1

multicast_groupFunction · 0.85

Tested by

no test coverage detected