Used with ecs_emit.
More...
#include <flecs.h>
Used with ecs_emit.
Definition at line 1122 of file flecs.h.
◆ count
int32_t ecs_event_desc_t::count |
Limit number of notified entities to count.
offset+count must be less than the total number of entities in the table. If left to 0, it will be automatically determined by doing ecs_table_count(table) - offset.
Definition at line 1144 of file flecs.h.
◆ entity
Single-entity alternative to setting table / offset / count.
Definition at line 1147 of file flecs.h.
◆ event
The event id.
Only triggers for the specified event will be notified
Definition at line 1124 of file flecs.h.
◆ flags
ecs_flags32_t ecs_event_desc_t::flags |
◆ ids
Component ids.
Only triggers with a matching component id will be notified. Observers are guaranteed to get notified once, even if they match more than one id.
Definition at line 1129 of file flecs.h.
◆ observable
Observable (usually the world)
Definition at line 1153 of file flecs.h.
◆ offset
int32_t ecs_event_desc_t::offset |
Limit notified entities to ones starting from offset (row) in table.
Definition at line 1139 of file flecs.h.
◆ other_table
Optional 2nd table to notify.
This can be used to communicate the previous or next table, in case an entity is moved between tables.
Definition at line 1136 of file flecs.h.
◆ param
const void* ecs_event_desc_t::param |
Optional context.
Assigned to iter param member
Definition at line 1150 of file flecs.h.
◆ table
The table for which to notify.
Definition at line 1132 of file flecs.h.
The documentation for this struct was generated from the following file: