34 ::ll::TypedStorage<8, 24, ::std::vector<::OwnerPtr<::EntityContext>>> mEntities;
35 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::IActorManagerProxy>>> mActorManagerProxy;
36 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector>> mActorGarbageCollector;
52 mOnRemoveActorEntityReferences;
53 ::ll::TypedStorage<1, 1, bool> mIsLevelTearingDown;
54 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkDiscarded;
64 virtual ~ActorManager() =
default;
66 virtual ::Bedrock::PubSub::Connector<void(
::Actor&)>& getRegisterEntityAddedConnector() ;
68 virtual ::Bedrock::PubSub::Connector<void(
::Actor&, ::ActorInitializationMethod)>&
69 getRegisterPostReloadActorConnector() ;
71 virtual ::Bedrock::PubSub::Connector<void(
::Actor&)>&
72 getRegisterOnRemoveActorEntityReferenceConnector() ;
79 ::std::unique_ptr<::IActorManagerProxy> actorManagerProxy,
80 ::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector> actorGarbageCollector
85 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError>
88 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError>
91 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError>
94 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError>
99 MCAPI ::OwnerPtr<::EntityContext> deleteActorEntityFromWorldAndTakeEntity(
::WeakEntityRef entityRef);
101 MCAPI
void forceRemoveActor(
::Actor& actor);
103 MCAPI
void forceRemoveActorFromWorld(
::Actor& actor);
107 MCAPI ::OwnerPtr<::EntityContext> removeActorEntityAndTakeEntity(
::WeakEntityRef entityRef);
110 MCAPI
void removeActorEntityReferencesForDeletion(
::Actor& actor);
113 MCAPI ::OwnerPtr<::EntityContext> removeEntity(
::WeakEntityRef entityRef);
116 MCAPI
void shutdown();
126 ::std::unique_ptr<::IActorManagerProxy> actorManagerProxy,
127 ::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector> actorGarbageCollector
134 MCFOLD ::Bedrock::PubSub::Connector<void(
::Actor&)>& $getRegisterEntityAddedConnector();
136 MCFOLD ::Bedrock::PubSub::Connector<void(
::Actor&, ::ActorInitializationMethod)>&
137 $getRegisterPostReloadActorConnector();
139 MCFOLD ::Bedrock::PubSub::Connector<void(
::Actor&)>& $getRegisterOnRemoveActorEntityReferenceConnector();
Definition EntityContext.h:15