Flecs: include/flecs/addons/cpp/mixins/alerts/entity_view.inl Source File
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.1 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
entity_view.inl
Go to the documentation of this file.
1
5
11int32_t alert_count(flecs::entity_t alert = 0) const {
12 return ecs_get_alert_count(world_, id_, alert);
13}
ecs_get_alert_count
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.
flecs::entity_t
ecs_entity_t entity_t
Entity type.
Definition c_types.hpp:21
flecs::alert
Definition impl.hpp:14
flecs::entity_view::alert_count
int32_t alert_count(flecs::entity_t alert=0) const
Return the number of alerts for an entity.
Definition entity_view.inl:11
flecs::id::id_
flecs::id_t id_
The raw ID value.
Definition decl.hpp:149
flecs::id::world_
flecs::world_t * world_
World is optional, but guarantees that entity identifiers extracted from the ID are valid.
Definition decl.hpp:147