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 EntityContext (::EntityRegistry &registry, ::EntityId entity)
MCAPI::EntityId _getEntityId () const
MCFOLD::EntityRegistry & _registry () const
MCAPI ::WeakRef<::EntityContext > getWeakRef () const
MCAPI bool isValid () const
MCAPI bool operator== (::EntityContext const &other) const
MCAPI void * $ctor (::EntityRegistry &registry, ::EntityId entity)

Public Attributes

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

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