Flecs v3.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
flecs::event_builder Struct Reference
Inheritance diagram for flecs::event_builder:
flecs::event_builder_base< event_builder, void >

Public Member Functions

 event_builder_base (flecs::world_t *world, flecs::entity_t event)
 
- Public Member Functions inherited from flecs::event_builder_base< event_builder, void >
 event_builder_base (flecs::world_t *world, flecs::entity_t event)
 
event_builderid ()
 Add component to emit for. More...
 
event_builderid ()
 Add pair to emit for. More...
 
event_builderid (entity_t second)
 Add pair to emit for. More...
 
event_builderid (entity_t first, entity_t second)
 Add pair to emit for. More...
 
event_builderid (flecs::id_t id)
 Add (component) id to emit for. More...
 
event_builderentity (flecs::entity_t e)
 Set entity for which to emit event. More...
 
event_buildertable (flecs::table_t *t, int32_t offset=0, int32_t count=0)
 
event_builderctx (const void *ptr)
 
void emit ()
 

Additional Inherited Members

- Protected Attributes inherited from flecs::event_builder_base< event_builder, void >
flecs::world_t * m_world
 
ecs_event_desc_t m_desc
 
flecs::type_t m_ids
 
flecs::id_t m_ids_array [(8)]
 

Detailed Description

Definition at line 126 of file builder.hpp.

Member Function Documentation

◆ event_builder_base()

flecs::event_builder_base< Base, E >::event_builder_base ( flecs::world_t *  world,
flecs::entity_t  event 
)
inline

Definition at line 20 of file builder.hpp.


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