6#ifdef FLECS_CONSTRAINT_TRAITS
8#ifndef FLECS_CONSTRAINT_TRAITS_H
9#define FLECS_CONSTRAINT_TRAITS_H
FLECS_API const ecs_entity_t EcsTrait
Can be added to components to indicate it is a trait.
FLECS_API const ecs_entity_t EcsOneOf
Ensure that a relationship target is a child of the specified entity.
FLECS_API const ecs_entity_t EcsSingleton
Mark component as singleton.
FLECS_API const ecs_entity_t EcsSymmetric
Mark relationship as commutative.
FLECS_API const ecs_entity_t EcsFinal
Ensure that an entity or component cannot be used as a target in an IsA relationship.
FLECS_API const ecs_entity_t EcsTarget
Ensure that an entity is always used in a pair as a target.
FLECS_API const ecs_entity_t EcsRelationship
Ensure that an entity is always used in a pair as a relationship.
FLECS_API const ecs_entity_t EcsAcyclic
Mark a relationship as acyclic.
ecs_id_t ecs_entity_t
An entity identifier.