Reflection and metadata system for automatic binding generation.
#define ES_COMPONENT(...)
Mark a struct/class as a component that should be exposed to scripts.
#define ES_PROPERTY(...)
Mark a field as a property that should be exposed to scripts.
Core type definitions and utilities for ESEngine.
std::size_t usize
Size type for indexing and sizes.
constexpr Entity INVALID_ENTITY
Invalid entity sentinel value.
Entity identifier with packed index + generation.
bool operator==(const Children &) const =default
Compared member by member: what the change audit checks a write of this component against (Registry::...
bool empty() const
Check if entity has any children.
usize count() const
Get number of children.
std::vector< Entity > entities
List of child entity IDs.
Entity entity
Parent entity ID.