Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ActorManager Class Reference
Inheritance diagram for ActorManager:

Public Member Functions

virtual ::Bedrock::PubSub::Connector< void(::Actor &)> & getRegisterEntityAddedConnector ()
virtual ::Bedrock::PubSub::Connector< void(::Actor &, ::ActorInitializationMethod)> & getRegisterPostReloadActorConnector ()
virtual ::Bedrock::PubSub::Connector< void(::Actor &)> & getRegisterOnRemoveActorEntityReferenceConnector ()
MCAPI ActorManager (::std::unique_ptr<::IActorManagerProxy > actorManagerProxy, ::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector > actorGarbageCollector)
MCAPI void _onChunkDiscarded (::LevelChunk &levelChunk)
MCAPI ::Bedrock::Result<::Actor *, ::ActorValidationError > addActorEntity (::IAddActorEntityProxy &addActorEntityProxy, ::OwnerPtr<::EntityContext > entity)
MCAPI ::Bedrock::Result<::Actor *, ::ActorValidationError > addActorEntity (::Dimension &dimension, ::OwnerPtr<::EntityContext > entity)
MCAPI ::Bedrock::Result<::Actor *, ::ActorValidationError > addGlobalActorEntity (::IAddActorEntityProxy &addActorEntityProxy, ::OwnerPtr<::EntityContext > entity)
MCAPI ::Bedrock::Result<::Actor *, ::ActorValidationError > addGlobalActorEntity (::Dimension &dimension, ::OwnerPtr<::EntityContext > entity)
MCAPI void cleanupActorEntityReferencesGarbageCollect (::OwnerPtr<::EntityContext > entity)
MCAPI ::OwnerPtr<::EntityContext > deleteActorEntityFromWorldAndTakeEntity (::WeakEntityRef entityRef)
MCAPI void forceRemoveActor (::Actor &actor)
MCAPI void forceRemoveActorFromWorld (::Actor &actor)
MCAPI void registerForLevelChunkEvents (::ILevelChunkEventManagerConnector &levelChunkEventManagerConnector)
MCAPI ::OwnerPtr<::EntityContext > removeActorEntityAndTakeEntity (::WeakEntityRef entityRef)
MCAPI ::OwnerPtr<::EntityContext > removeEntity (::WeakEntityRef entityRef)
MCAPI ::OwnerPtr<::EntityContext > takeEntity (::WeakEntityRef entityRef, ::LevelChunk &levelChunk)
MCAPI void * $ctor (::std::unique_ptr<::IActorManagerProxy > actorManagerProxy, ::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector > actorGarbageCollector)
MCAPI ::Bedrock::PubSub::Connector< void(::Actor &)> & $getRegisterEntityAddedConnector ()
MCAPI ::Bedrock::PubSub::Connector< void(::Actor &, ::ActorInitializationMethod)> & $getRegisterPostReloadActorConnector ()
MCAPI ::Bedrock::PubSub::Connector< void(::Actor &)> & $getRegisterOnRemoveActorEntityReferenceConnector ()

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::OwnerPtr<::EntityContext > > > mEntities
::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::IActorManagerProxy > > > mActorManagerProxy
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector > > mActorGarbageCollector
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(::Actor &), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mOnActorEntityAdded
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(::Actor &, ::ActorInitializationMethod), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mPostReloadActor
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(::Actor &), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mOnRemoveActorEntityReferences
::ll::TypedStorage< 1, 1, bool > mIsLevelTearingDown
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mOnChunkDiscarded

Constructor & Destructor Documentation

◆ ActorManager()

MCAPI ActorManager::ActorManager ( ::std::unique_ptr<::IActorManagerProxy > actorManagerProxy,
::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector > actorGarbageCollector )
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

◆ getRegisterEntityAddedConnector()

virtual ::Bedrock::PubSub::Connector< void(::Actor &)> & ActorManager::getRegisterEntityAddedConnector ( )
virtual

◆ getRegisterPostReloadActorConnector()

virtual ::Bedrock::PubSub::Connector< void(::Actor &, ::ActorInitializationMethod)> & ActorManager::getRegisterPostReloadActorConnector ( )
virtual

◆ getRegisterOnRemoveActorEntityReferenceConnector()

virtual ::Bedrock::PubSub::Connector< void(::Actor &)> & ActorManager::getRegisterOnRemoveActorEntityReferenceConnector ( )
virtual

◆ _onChunkDiscarded()

MCAPI void ActorManager::_onChunkDiscarded ( ::LevelChunk & levelChunk)
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.

◆ addActorEntity() [1/2]

MCAPI ::Bedrock::Result<::Actor *, ::ActorValidationError > ActorManager::addActorEntity ( ::IAddActorEntityProxy & addActorEntityProxy,
::OwnerPtr<::EntityContext > entity )
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.

◆ addActorEntity() [2/2]

MCAPI ::Bedrock::Result<::Actor *, ::ActorValidationError > ActorManager::addActorEntity ( ::Dimension & dimension,
::OwnerPtr<::EntityContext > entity )
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.

◆ addGlobalActorEntity() [1/2]

MCAPI ::Bedrock::Result<::Actor *, ::ActorValidationError > ActorManager::addGlobalActorEntity ( ::IAddActorEntityProxy & addActorEntityProxy,
::OwnerPtr<::EntityContext > entity )
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.

◆ addGlobalActorEntity() [2/2]

MCAPI ::Bedrock::Result<::Actor *, ::ActorValidationError > ActorManager::addGlobalActorEntity ( ::Dimension & dimension,
::OwnerPtr<::EntityContext > entity )
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.

◆ cleanupActorEntityReferencesGarbageCollect()

MCAPI void ActorManager::cleanupActorEntityReferencesGarbageCollect ( ::OwnerPtr<::EntityContext > entity)
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.

◆ deleteActorEntityFromWorldAndTakeEntity()

MCAPI ::OwnerPtr<::EntityContext > ActorManager::deleteActorEntityFromWorldAndTakeEntity ( ::WeakEntityRef entityRef)
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.

◆ forceRemoveActor()

MCAPI void ActorManager::forceRemoveActor ( ::Actor & actor)
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.

◆ forceRemoveActorFromWorld()

MCAPI void ActorManager::forceRemoveActorFromWorld ( ::Actor & actor)
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.

◆ registerForLevelChunkEvents()

MCAPI void ActorManager::registerForLevelChunkEvents ( ::ILevelChunkEventManagerConnector & levelChunkEventManagerConnector)
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.

◆ removeActorEntityAndTakeEntity()

MCAPI ::OwnerPtr<::EntityContext > ActorManager::removeActorEntityAndTakeEntity ( ::WeakEntityRef entityRef)
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.

◆ removeEntity()

MCAPI ::OwnerPtr<::EntityContext > ActorManager::removeEntity ( ::WeakEntityRef entityRef)
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.

◆ takeEntity()

MCAPI ::OwnerPtr<::EntityContext > ActorManager::takeEntity ( ::WeakEntityRef entityRef,
::LevelChunk & levelChunk )
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 * ActorManager::$ctor ( ::std::unique_ptr<::IActorManagerProxy > actorManagerProxy,
::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector > actorGarbageCollector )
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.

◆ $getRegisterEntityAddedConnector()

MCAPI ::Bedrock::PubSub::Connector< void(::Actor &)> & ActorManager::$getRegisterEntityAddedConnector ( )
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.

◆ $getRegisterPostReloadActorConnector()

MCAPI ::Bedrock::PubSub::Connector< void(::Actor &, ::ActorInitializationMethod)> & ActorManager::$getRegisterPostReloadActorConnector ( )
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.

◆ $getRegisterOnRemoveActorEntityReferenceConnector()

MCAPI ::Bedrock::PubSub::Connector< void(::Actor &)> & ActorManager::$getRegisterOnRemoveActorEntityReferenceConnector ( )
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: