Flecs v4.0
A fast entity component system (ECS) for C & C++
|
Public Member Functions | |
Class & | ctx (const E &ptr) |
Class & | ctx (E &&ptr) |
Public Member Functions inherited from flecs::event_builder_base< event_builder_typed< E >, E > | |
event_builder_base (flecs::world_t *world, flecs::entity_t event) | |
event_builder_typed< E > & | id () |
Add component to emit for. | |
event_builder_typed< E > & | id () |
Add pair to emit for. | |
event_builder_typed< E > & | id (entity_t second) |
Add pair to emit for. | |
event_builder_typed< E > & | id (entity_t first, entity_t second) |
Add pair to emit for. | |
event_builder_typed< E > & | id (Enum value) |
event_builder_typed< E > & | id (flecs::id_t id) |
Add (component) id to emit for. | |
event_builder_typed< E > & | entity (flecs::entity_t e) |
Set entity for which to emit event. | |
event_builder_typed< E > & | table (flecs::table_t *t, int32_t offset=0, int32_t count=0) |
event_builder_typed< E > & | ctx (const E *ptr) |
event_builder_typed< E > & | ctx (E *ptr) |
void | emit () |
void | enqueue () |
Additional Inherited Members | |
Protected Attributes inherited from flecs::event_builder_base< event_builder_typed< E >, E > | |
flecs::world_t * | world_ |
ecs_event_desc_t | desc_ |
flecs::type_t | ids_ |
flecs::id_t | ids_array_ [(8)] |
Definition at line 141 of file builder.hpp.
|
inline |
Definition at line 149 of file builder.hpp.
|
inline |
Definition at line 155 of file builder.hpp.