|
| #define | ecs_set_ptr(world, entity, component, ptr) ecs_set_id(world, entity, ecs_id(component), sizeof(component), ptr) |
| |
| #define | ecs_set(world, entity, component, ...) ecs_set_id(world, entity, ecs_id(component), sizeof(component), &(component)__VA_ARGS__) |
| |
| #define | ecs_set_pair(world, subject, First, second, ...) |
| |
| #define | ecs_set_pair_second(world, subject, first, Second, ...) |
| |
| #define | ecs_set_pair_object ecs_set_pair_second |
| |
| #define | ecs_set_override(world, entity, T, ...) |
| |
| #define | ecs_emplace(world, entity, T) (ECS_CAST(T*, ecs_emplace_id(world, entity, ecs_id(T)))) |
| |
| #define | ecs_emplace_pair(world, entity, First, second) (ECS_CAST(First*, ecs_emplace_id(world, entity, ecs_pair_t(First, second)))) |
| |
| #define | ecs_get(world, entity, T) (ECS_CAST(const T*, ecs_get_id(world, entity, ecs_id(T)))) |
| |
| #define | ecs_get_pair(world, subject, First, second) |
| |
| #define | ecs_get_pair_second(world, subject, first, Second) |
| |
| #define | ecs_get_pair_object ecs_get_pair_second |
| |
| #define | ecs_get_mut(world, entity, T) (ECS_CAST(T*, ecs_get_mut_id(world, entity, ecs_id(T)))) |
| |
| #define | ecs_get_mut(world, entity, T) (ECS_CAST(T*, ecs_get_mut_id(world, entity, ecs_id(T)))) |
| |
| #define | ecs_get_mut_pair(world, subject, First, second) |
| |
| #define | ecs_get_mut_pair_second(world, subject, first, Second) |
| |
| #define | ecs_get_mut_pair_object ecs_get_mut_pair_second |
| |
| #define | ecs_ensure(world, entity, T) (ECS_CAST(T*, ecs_ensure_id(world, entity, ecs_id(T)))) |
| |
| #define | ecs_ensure(world, entity, T) (ECS_CAST(T*, ecs_ensure_id(world, entity, ecs_id(T)))) |
| |
| #define | ecs_ensure_pair(world, subject, First, second) |
| |
| #define | ecs_ensure_pair(world, subject, First, second) |
| |
| #define | ecs_ensure_pair_second(world, subject, first, Second) |
| |
| #define | ecs_ensure_pair_second(world, subject, first, Second) |
| |
| #define | ecs_ensure_pair_object ecs_ensure_pair_second |
| |
| #define | ecs_ensure_pair_object ecs_ensure_pair_second |
| |
| #define | ecs_modified(world, entity, component) ecs_modified_id(world, entity, ecs_id(component)) |
| |
| #define | ecs_modified_pair(world, subject, first, second) ecs_modified_id(world, subject, ecs_pair(first, second)) |
| |
| #define | ecs_record_get(world, record, T) (ECS_CAST(const T*, ecs_record_get_id(world, record, ecs_id(T)))) |
| |
| #define | ecs_record_has(world, record, T) (ecs_record_has_id(world, record, ecs_id(T))) |
| |
| #define | ecs_record_get_pair(world, record, First, second) |
| |
| #define | ecs_record_get_pair_second(world, record, first, Second) |
| |
| #define | ecs_record_ensure(world, record, T) (ECS_CAST(T*, ecs_record_ensure_id(world, record, ecs_id(T)))) |
| |
| #define | ecs_record_ensure_pair(world, record, First, second) |
| |
| #define | ecs_record_ensure_pair_second(world, record, first, Second) |
| |
| #define | ecs_record_ensure_pair_object ecs_record_ensure_pair_second |
| |
| #define | ecs_ref_init(world, entity, T) ecs_ref_init_id(world, entity, ecs_id(T)) |
| |
| #define | ecs_ref_get(world, ref, T) (ECS_CAST(const T*, ecs_ref_get_id(world, ref, ecs_id(T)))) |
| |