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

Public Member Functions

Classctx (const 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. More...
 
event_builder_typed< E > & id ()
 Add pair to emit for. More...
 
event_builder_typed< E > & id (entity_t second)
 Add pair to emit for. More...
 
event_builder_typed< E > & id (entity_t first, entity_t second)
 Add pair to emit for. More...
 
event_builder_typed< E > & id (flecs::id_t id)
 Add (component) id to emit for. More...
 
event_builder_typed< E > & entity (flecs::entity_t e)
 Set entity for which to emit event. More...
 
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)
 
void emit ()
 

Additional Inherited Members

- Protected Attributes inherited from flecs::event_builder_base< event_builder_typed< E >, E >
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

template<typename E>
struct flecs::event_builder_typed< E >

Definition at line 131 of file builder.hpp.

Member Function Documentation

◆ ctx()

template<typename E >
Class & flecs::event_builder_typed< E >::ctx ( const E &  ptr)
inline

Definition at line 139 of file builder.hpp.


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