22 term(flecs::world_t *world_ptr)
25 , world_(world_ptr) { }
32 this->set_term(&value);
35 term(flecs::world_t *world_ptr, id_t component_id)
39 if (component_id & ECS_ID_FLAGS_MASK) {
40 value.
id = component_id;
44 this->set_term(&value);
47 term(flecs::world_t *world_ptr, entity_t first, entity_t second)
51 value.
id = ecs_pair(first, second);
52 this->set_term(&value);
55 term(id_t component_id)
59 if (component_id & ECS_ID_FLAGS_MASK) {
60 value.
id = component_id;
66 term(id_t first, id_t second)
76 this->set_term(
nullptr);
87 flecs::inout_kind_t inout() {
88 return static_cast<flecs::inout_kind_t
>(value.
inout);
91 flecs::oper_kind_t oper() {
92 return static_cast<flecs::oper_kind_t
>(value.
oper);
114 flecs::world_t* world_v()
override {
return world_; }
117 flecs::world_t *world_;