Flecs: ecs_alert_severity_filter_t Struct Reference
Description: A fast entity component system (ECS) for C & C++

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

Loading...
Searching...
No Matches
ecs_alert_severity_filter_t Struct Reference
C API » Addons » Alerts

Alert severity filter. More...

`#include <alerts.h>`

## Public Attributes
ecs_entity_t | severity
ecs_id_t | with
const char * | var
int32_t | _var_index

## Detailed Description

Alert severity filter.

A severity filter can adjust the severity of an alert based on whether an entity in the alert query has a specific component. For example, a filter could check if an entity has the "Production" tag, and increase the default severity of an alert from Warning to Error.

Definition at line 68 of file alerts.h.

## Member Data Documentation

## ◆ _var_index

int32_t ecs_alert_severity_filter_t::_var_index

Definition at line 73 of file alerts.h.

## ◆ severity

ecs_entity_t ecs_alert_severity_filter_t::severity

Definition at line 69 of file alerts.h.

## ◆ var

const char* ecs_alert_severity_filter_t::var

Definition at line 71 of file alerts.h.

## ◆ with

ecs_id_t ecs_alert_severity_filter_t::with

Definition at line 70 of file alerts.h.

The documentation for this struct was generated from the following file:

- include/flecs/addons/alerts.h