![]() |
Flecs v4.1
A fast entity component system (ECS) for C & C++
|
Public Attributes | |
| ecs_xtor_t | ctor |
| ctor. | |
| ecs_xtor_t | dtor |
| dtor. | |
| ecs_copy_t | copy |
| copy assignment. | |
| ecs_move_t | move |
| move assignment. | |
| ecs_copy_t | copy_ctor |
| Ctor + copy. | |
| ecs_move_t | move_ctor |
| Ctor + move. | |
| ecs_move_t | ctor_move_dtor |
| Ctor + move + dtor (or move_ctor + dtor). | |
| ecs_move_t | move_dtor |
| Move + dtor. | |
| ecs_cmp_t | cmp |
| Compare hook. | |
| ecs_equals_t | equals |
| Equals hook. | |
| ecs_flags32_t | flags |
| Hook flags. | |
| ecs_iter_action_t | on_add |
| Callback that is invoked when an instance of a component is added. | |
| ecs_iter_action_t | on_set |
| Callback that is invoked when an instance of the component is set. | |
| ecs_iter_action_t | on_remove |
| Callback that is invoked when an instance of the component is removed. | |
| ecs_iter_action_t | on_replace |
| Callback that is invoked with the existing and new value before the value is assigned. | |
| void * | ctx |
| User-defined context. | |
| void * | binding_ctx |
| Language binding context. | |
| void * | lifecycle_ctx |
| Component lifecycle context (see meta addon). | |
| ecs_ctx_free_t | ctx_free |
| Callback to free ctx. | |
| ecs_ctx_free_t | binding_ctx_free |
| Callback to free binding_ctx. | |
| ecs_ctx_free_t | lifecycle_ctx_free |
| Callback to free lifecycle_ctx. | |
| void* ecs_type_hooks_t::binding_ctx |
| ecs_ctx_free_t ecs_type_hooks_t::binding_ctx_free |
| ecs_copy_t ecs_type_hooks_t::copy |
| ecs_copy_t ecs_type_hooks_t::copy_ctor |
| ecs_xtor_t ecs_type_hooks_t::ctor |
| ecs_move_t ecs_type_hooks_t::ctor_move_dtor |
| ecs_ctx_free_t ecs_type_hooks_t::ctx_free |
| ecs_xtor_t ecs_type_hooks_t::dtor |
| ecs_equals_t ecs_type_hooks_t::equals |
| ecs_flags32_t ecs_type_hooks_t::flags |
Hook flags.
Indicates which hooks are set for the type, and which hooks are illegal. When an ILLEGAL flag is set when calling ecs_set_hooks(), a hook callback will be set that panics when called.
| void* ecs_type_hooks_t::lifecycle_ctx |
| ecs_ctx_free_t ecs_type_hooks_t::lifecycle_ctx_free |
| ecs_move_t ecs_type_hooks_t::move |
| ecs_move_t ecs_type_hooks_t::move_ctor |
| ecs_move_t ecs_type_hooks_t::move_dtor |
| ecs_iter_action_t ecs_type_hooks_t::on_add |
| ecs_iter_action_t ecs_type_hooks_t::on_remove |
| ecs_iter_action_t ecs_type_hooks_t::on_replace |
Callback that is invoked with the existing and new value before the value is assigned.
Invoked after on_add and before on_set. Registering an on_replace hook prevents using operations that return a mutable pointer to the component, like get_mut(), ensure(), and emplace().
| ecs_iter_action_t ecs_type_hooks_t::on_set |