120#define ecs_alert(world, ...)\
121 ecs_alert_init(world, &(ecs_alert_desc_t)__VA_ARGS__)
157void FlecsAlertsImport(
FLECS_API ecs_entity_t ecs_get_alert(const ecs_world_t *world, ecs_entity_t entity, ecs_entity_t alert)
Return alert instance for specified alert.
FLECS_API ecs_entity_t ecs_alert_init(ecs_world_t *world, const ecs_alert_desc_t *desc)
Create a new alert.
FLECS_API int32_t ecs_get_alert_count(const ecs_world_t *world, ecs_entity_t entity, ecs_entity_t alert)
Return number of active alerts for entity.
ecs_id_t ecs_entity_t
An entity identifier.
struct ecs_world_t ecs_world_t
A world is the container for all ECS data and supporting features.
#define ECS_TAG_DECLARE
Forward declare a tag.
#define ECS_COMPONENT_DECLARE(id)
Forward declare a component.
Map with active alerts for entity.
Used with ecs_filter_init.