Struct RelationshipComponent¶
Defined in File relationship.h
Struct Documentation¶
-
struct RelationshipComponent¶
Public Functions
-
void archive(ArchiveObject &archive) const¶
-
void serialize(Serializer &serialize) const¶
Public Members
-
size_t children¶
-
Entity first = null_entity¶
-
Entity prev = null_entity¶
-
Entity next = null_entity¶
-
Entity parent = null_entity¶
Public Static Functions
-
static RelationshipComponent dearchive(ArchiveObject &archive, Entity entity, ecs::Registry &ecs_reg)¶
-
static RelationshipComponent deserialize(Deserializer &deserializer, Entity entity, ecs::Registry &ecs_reg)¶
-
void archive(ArchiveObject &archive) const¶