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 _moveActiveAutonomousActorEntityToInactive (::Actor &actor, ::LevelChunk &levelChunk)
MCAPI void _onChunkDiscarded (::LevelChunk &levelChunk)
MCAPI void _onRemoveActorEntityReferences (::Actor &actor)
MCAPI void _saveAllAutonomousActors (::LevelStorage &levelStorage)
MCAPI::Actor * addAutonomousActorEntity (::IAddActorEntityProxy &addActorEntityProxy, ::OwnerPtr<::EntityContext > entity)
MCAPI void loadAutonomousActorsFromDisk (::LevelStorage &levelStorage, ::ActorFactory &actorFactory)
MCAPI void registerForLevelChunkEvents (::ILevelChunkEventManagerConnector &levelChunkEventManagerConnector)
MCAPI void registerLevelStorageManagerListener (::ILevelStorageManagerConnector &levelStorageManagerConnector)
MCAPI bool removeActiveAutonomousActorEntity (::WeakEntityRef weakEntityRef)
MCAPI void * $ctor (::gsl::not_null<::StackRefResult<::EntityRegistry > > const &entityRegistry, ::Bedrock::NotNullNonOwnerPtr<::ActorManager > actorManager)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI void _deduplicateDuplicateActorsFromList (::ListTag &listTag)
static MCAPI ::std::string_view const & AUTONOMOUS_ACTOR_KEY ()
static MCAPI ::std::string_view const & AUTONOMOUS_ACTOR_LIST_KEY ()

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::SubscriptionmOnRemoveActorEntityReferences
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnAutonomousActorRemovedSubscription
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnChunkLoaded
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnChunkDiscarded
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnSaveGameDataSubscription
::ll::TypedStorage< 8, 16, ::WeakRef<::EntityRegistry > > mEntityRegistry

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