Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::id_component_base< T > Struct Template Reference

#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

template<typename T>
struct unravel::id_component_base< T >

Definition at line 10 of file id_component.h.

Member Function Documentation

◆ generate_if_nil()

template<typename T >
void unravel::id_component_base< T >::generate_if_nil ( )
inline

Definition at line 17 of file id_component.h.

◆ regenerate_id()

template<typename T >
void unravel::id_component_base< T >::regenerate_id ( )
inline

Definition at line 12 of file id_component.h.

Member Data Documentation

◆ id

template<typename T >
hpp::uuid unravel::id_component_base< T >::id

The unique identifier for the entity.

Definition at line 27 of file id_component.h.


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