Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::id_component Struct Reference

Component that provides a unique identifier (UUID) for an entity. More...

#include <id_component.h>

Public Member Functions

void regenerate_id ()
 
void generate_if_nil ()
 

Public Attributes

hpp::uuid id
 The unique identifier for the entity.
 

Detailed Description

Component that provides a unique identifier (UUID) for an entity.

Definition at line 14 of file id_component.h.

Member Function Documentation

◆ generate_if_nil()

void unravel::id_component::generate_if_nil ( )
inline

Definition at line 21 of file id_component.h.

◆ regenerate_id()

void unravel::id_component::regenerate_id ( )
inline

Definition at line 16 of file id_component.h.

Member Data Documentation

◆ id

hpp::uuid unravel::id_component::id

The unique identifier for the entity.

Definition at line 31 of file id_component.h.


The documentation for this struct was generated from the following file: