pub unsafe extern "C" fn ecs_get_alert_count(
world: *const ecs_world_t,
entity: ecs_entity_t,
alert: ecs_entity_t,
) -> i32Expand description
Return number of active alerts for entity. When a valid alert entity is specified for the alert parameter, the operation will return whether the specified alert is active for the entity. When no alert is specified, the operation will return the total number of active alerts for the entity.
@param world The world. @param entity The entity. @param alert The alert to test for (optional). @return The number of active alerts for the entity.