Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
AutonomousActorManager Class Reference

Public Member Functions

MCAPI AutonomousActorManager (::gsl::not_null<::StackRefResult<::EntityRegistry > > const &entityRegistry, ::Bedrock::NotNullNonOwnerPtr<::ActorManager > actorManager)
MCAPI void _onChunkDiscarded (::LevelChunk &levelChunk)
MCAPI void _onRemoveActorEntityReferences (::Actor &actor)
MCAPI void _saveAllAutonomousActors (::LevelStorage &levelStorage)
MCAPI::Actor * addAutonomousActorEntity (::IAddActorEntityProxy &addActorEntityProxy, ::OwnerPtr<::EntityContext > entity)
MCAPI::Actor * addAutonomousActorEntity (::Dimension &dimension, ::OwnerPtr<::EntityContext > entity)
MCAPI bool hasOwnedInactiveAutonomousActorWithUniqueID (::ActorUniqueID actorUniqueID) const
MCAPI void loadAutonomousActorsFromDisk (::LevelStorage &levelStorage, ::ActorFactory &actorFactory)
MCAPI void registerForLevelChunkEvents (::ILevelChunkEventManagerConnector &levelChunkEventManagerConnector)
MCAPI void registerLevelStorageManagerListener (::ILevelStorageManagerConnector &levelStorageManagerConnector)
MCAPI ~AutonomousActorManager ()
MCAPI void * $ctor (::gsl::not_null<::StackRefResult<::EntityRegistry > > const &entityRegistry, ::Bedrock::NotNullNonOwnerPtr<::ActorManager > actorManager)
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::OwnerPtr<::EntityContext > > > mOwnedInactiveAutonomousActors
::ll::TypedStorage< 8, 24, ::std::vector<::WeakEntityRef > > mActiveAutonomousActors
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::ActorManager > const > mActorManager
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mOnRemoveActorEntityReferences
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mOnAutonomousActorRemovedSubscription
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mOnChunkLoaded
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mOnChunkDiscarded
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mOnSaveGameDataSubscription
::ll::TypedStorage< 8, 16, ::WeakRef<::EntityRegistry > > mEntityRegistry

Constructor & Destructor Documentation

◆ AutonomousActorManager()

MCAPI AutonomousActorManager::AutonomousActorManager ( ::gsl::not_null<::StackRefResult<::EntityRegistry > > const & entityRegistry,
::Bedrock::NotNullNonOwnerPtr<::ActorManager > actorManager )
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.

◆ ~AutonomousActorManager()

MCAPI AutonomousActorManager::~AutonomousActorManager ( )
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

◆ _onChunkDiscarded()

MCAPI void AutonomousActorManager::_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.

◆ _onRemoveActorEntityReferences()

MCAPI void AutonomousActorManager::_onRemoveActorEntityReferences ( ::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.

◆ _saveAllAutonomousActors()

MCAPI void AutonomousActorManager::_saveAllAutonomousActors ( ::LevelStorage & levelStorage)
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.

◆ addAutonomousActorEntity() [1/2]

MCAPI::Actor * AutonomousActorManager::addAutonomousActorEntity ( ::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.

◆ addAutonomousActorEntity() [2/2]

MCAPI::Actor * AutonomousActorManager::addAutonomousActorEntity ( ::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.

◆ hasOwnedInactiveAutonomousActorWithUniqueID()

MCAPI bool AutonomousActorManager::hasOwnedInactiveAutonomousActorWithUniqueID ( ::ActorUniqueID actorUniqueID) const
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.

◆ loadAutonomousActorsFromDisk()

MCAPI void AutonomousActorManager::loadAutonomousActorsFromDisk ( ::LevelStorage & levelStorage,
::ActorFactory & actorFactory )
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 AutonomousActorManager::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.

◆ registerLevelStorageManagerListener()

MCAPI void AutonomousActorManager::registerLevelStorageManagerListener ( ::ILevelStorageManagerConnector & levelStorageManagerConnector)
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 * AutonomousActorManager::$ctor ( ::gsl::not_null<::StackRefResult<::EntityRegistry > > const & entityRegistry,
::Bedrock::NotNullNonOwnerPtr<::ActorManager > actorManager )
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 AutonomousActorManager::$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: