Engine → ECS → component.h
component_id
| Type | Struct |
| Namespace | conjure::core::json |
| Include File Path | engine/include/conjure/ecs/component.h |
| Source File Path | N/A |
| API ↗ | Entities and components |
Syntax
Variables
| Access | Name | Type | Default | Description |
|---|---|---|---|---|
| public | INVALID | static constexpr u16 | 0xFFFF | |
| public | value | u16 | INVALID |
Functions
Public
is_valid
is_valid[[nodiscard]] constexpr bool is_valid() const noexcept;True for an id below MAX_COMPONENTS (not INVALID).
Operator Overloads
Public
operator==
operator==[[nodiscard]] constexpr bool operator==(
const component_id &other) const noexcept = default;