Skip to content
Flecs v4.1
entity_view.inl
Go to the documentation of this file.
1/**
2 * @file addons/cpp/mixins/alerts/entity_view.inl
3 * @brief Alerts entity mixin.
4 */
5
6/** Return the number of alerts for an entity.
7 *
8 * @memberof flecs::entity_view
9 * @ingroup cpp_addons_alerts
10 */
11int32_t alert_count(flecs::entity_t alert = 0) const {
13}
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_entity_t entity_t
Entity type.
Definition c_types.hpp:21
int32_t alert_count(flecs::entity_t alert=0) const
Return the number of alerts for an entity.
flecs::id_t id_
The raw ID value.
Definition decl.hpp:154
flecs::world_t * world_
World is optional, but guarantees that entity identifiers extracted from the ID are valid.
Definition decl.hpp:152