LeviLamina
Loading...
Searching...
No Matches
EntityContext Class Reference
+ Inheritance diagram for EntityContext:

Classes

struct  Hash
 

Public Member Functions

entt::basic_registry< EntityId > & getRegistry () noexcept
 
entt::basic_registry< EntityId > const & getRegistry () const noexcept
 
template<class T >
optional_ref< T const > tryGetComponent () const
 
template<class T >
optional_ref< T > tryGetComponent ()
 
template<class T >
bool hasComponent () const
 
template<class T >
bool removeComponent ()
 
template<class T , typename... Args>
T & getOrAddComponent (Args &&... args)
 
MCAPI ::WeakRef<::EntityContextgetWeakRef () const
 
MCAPI bool isValid () const
 

Public Attributes

::EntityRegistrymRegistry
 
::entt::basic_registry<::EntityId > & mEnTTRegistry
 
::EntityId const mEntity
 

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