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

#include <basic_component.h>

Static Public Member Functions

static auto exists (entt::handle entity) -> bool
 
static auto add (entt::handle entity) -> bool
 
static auto remove (entt::handle entity) -> bool
 
static auto save (entt::handle entity, std::stringstream &stream) -> bool
 
static auto load (entt::handle entity, std::stringstream &stream) -> bool
 

Detailed Description

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

Definition at line 100 of file basic_component.h.

Member Function Documentation

◆ add()

template<typename T >
static auto unravel::component_meta< T >::add ( entt::handle entity) -> bool
inlinestatic

Definition at line 107 of file basic_component.h.

◆ exists()

template<typename T >
static auto unravel::component_meta< T >::exists ( entt::handle entity) -> bool
inlinestatic

Definition at line 102 of file basic_component.h.

◆ load()

template<typename T >
static auto unravel::component_meta< T >::load ( entt::handle entity,
std::stringstream & stream ) -> bool
inlinestatic

Definition at line 139 of file basic_component.h.

◆ remove()

template<typename T >
static auto unravel::component_meta< T >::remove ( entt::handle entity) -> bool
inlinestatic

Definition at line 118 of file basic_component.h.

◆ save()

template<typename T >
static auto unravel::component_meta< T >::save ( entt::handle entity,
std::stringstream & stream ) -> bool
inlinestatic

Definition at line 124 of file basic_component.h.


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