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

Public Types

using Base = ::entt::basic_registry<::EntityId>
using BaseShared = ::std::enable_shared_from_this<::EntityRegistry>
using BaseWeak = ::EnableGetWeakRef<::EntityRegistry>
using EntityInvokeCallbackFunc = ::std::function<void(::EntityId)>
using EntityInvokeCallbackPair = ::std::pair<::std::function<void(::EntityId)>, ::std::function<void(::EntityId)>>
using EntityInvokeCallbackSig = void(::EntityId)

Public Member Functions

MCAPI EntityRegistry (::std::string identifier)
MCAPI ::WeakRef<::EntityRegistry > getWeakRef ()
MCAPI void postViewEachCount (uint64 count)
MCNAPI_C ::std::pair<::std::function< void(::EntityId)>, ::std::function< void(::EntityId)> > setEntityInvokeCallbacks (::std::function< void(::EntityId)> &&preInvoke, ::std::function< void(::EntityId)> &&postInvoke)
MCAPI ~EntityRegistry ()
MCAPI void * $ctor (::std::string identifier)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::std::atomic< uint > & mRegistryCount ()

Public Attributes

::ll::TypedStorage< 8, 32, ::std::string > mDebugName
::ll::TypedStorage< 8, 304, ::entt::basic_registry<::EntityId > > mRegistry
::ll::TypedStorage< 4, 4, uint > mId
::ll::TypedStorage< 8, 64, ::std::function< void(::EntityId)> > mPreEntityInvoke
::ll::TypedStorage< 8, 64, ::std::function< void(::EntityId)> > mPostEntityInvoke

Constructor & Destructor Documentation

◆ EntityRegistry()

MCAPI EntityRegistry::EntityRegistry ( ::std::string identifier)
explicit
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ ~EntityRegistry()

MCAPI EntityRegistry::~EntityRegistry ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ getWeakRef()

MCAPI ::WeakRef<::EntityRegistry > EntityRegistry::getWeakRef ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ postViewEachCount()

MCAPI void EntityRegistry::postViewEachCount ( uint64 count)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ mRegistryCount()

MCAPI ::std::atomic< uint > & EntityRegistry::mRegistryCount ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * EntityRegistry::$ctor ( ::std::string identifier)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void EntityRegistry::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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