Function ecs_get_hooks_id

Synopsis

#include <include/flecs.h>

FLECS_API const ecs_type_hooks_t * ecs_get_hooks_id(ecs_world_t *world, ecs_entity_t id)

Description

Get hooks for component.

Parameters

world - The world.

id - The component id for which to retrieve the hooks.

Returns
The hooks for the component, or NULL if not registered.

Source

Line 1312 in include/flecs.h.