Template Struct bulk_component_modification¶
Defined in File defaultevents.hpp
Inheritance Relationships¶
Base Type¶
public legion::core::events::event< bulk_component_modification< component_type > >
(Template Class event)
Struct Documentation¶
-
template<typename
component_type
>
structlegion::core::events
::
bulk_component_modification
: public legion::core::events::event<bulk_component_modification<component_type>>¶ Public Functions
-
bulk_component_modification
(bulk_component_modification&&) = default¶
-
bulk_component_modification
(const bulk_component_modification&) = default¶
-
inline
bulk_component_modification
(const ecs::entity_container &entities, const ecs::component_container<component_type> &oldVals, const ecs::component_container<component_type> &newVals)¶
-
inline virtual bool
persistent
() override¶ Returns a value that decides whether the event should be kept in the bus or destroyed after all subscribers have been notified.
-
inline virtual bool
unique
() override¶ Returns a value that decides whether more than one of this event type should be able to exist. If true and an event of this type already exists then the event-bus will only notify the subscribers and nothing else.
Public Members
-
const ecs::component_container<component_type> &
oldValues
¶
-
const ecs::component_container<component_type> &
newValues
¶
-
const ecs::entity_container &
entities
¶
-