Returns pointer to the component of type C. Returns null if entity has no such component. Works only with non-tag components.
Returns pointer to the storage of components C. Storage type depends on component type (tag or not).
Returns pointer to the component of type C. Creates component first if entity had no such component. Works only with non-tag components.
Used to check for presence of given component or tag.
Deserializes all component storages from given loader.
Returns query object for given set of component types for iteration with foreach. Will pass EntityId, followed by pointers to components. Flag components are omitted.
Before using component type in every other method, register it here. name is used for (de)serialization.
Removes one component for given eid.
Removes all components for given eid.
Removes all components of all types.
Serializes all component storages with given saver.
Add or set list of components for entity eid.
Convenience type for centralized storage and management of entity components.