12void emit(flecs::entity_t evt)
const {
33template <typename Evt, if_t<is_empty<Evt>::value> = 0>
44template <typename Evt, if_not_t<is_empty<Evt>::value> = 0>
45void emit(
const Evt& payload)
const {
81template <typename Evt, if_t<is_empty<Evt>::value> = 0>
92template <typename Evt, if_not_t<is_empty<Evt>::value> = 0>
flecs::event_builder event(flecs::entity_t evt) const
Create a new event.
void emit(flecs::entity_t evt) const
Emit event for entity.
void enqueue() const
Enqueue event for entity.
void emit() const
Emit event for entity.
void enqueue(flecs::entity_t evt) const
Enqueue event for entity.
void enqueue(const Evt &payload) const
Enqueue event with payload for entity.
void emit(const Evt &payload) const
Emit event with payload for entity.
Base & entity(flecs::entity_t e)
Set entity for which to emit event.