36 ::ll::TypedStorage<8, 24, ::std::vector<::OwnerPtr<::EntityContext>>> mEntities;
37 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::IActorManagerProxy>>> mActorManagerProxy;
38 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector>> mActorGarbageCollector;
54 mOnRemoveActorEntityReferences;
55 ::ll::TypedStorage<1, 1, bool> mIsLevelTearingDown;
56 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkDiscarded;
66 virtual ~ActorManager();
68 virtual ::Bedrock::PubSub::Connector<void(
::Actor&)>& getRegisterEntityAddedConnector() ;
70 virtual ::Bedrock::PubSub::Connector<void(
::Actor&, ::ActorInitializationMethod)>&
71 getRegisterPostReloadActorConnector() ;
73 virtual ::Bedrock::PubSub::Connector<void(
::Actor&)>&
74 getRegisterOnRemoveActorEntityReferenceConnector() ;
81 ::std::unique_ptr<::IActorManagerProxy> actorManagerProxy,
82 ::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector> actorGarbageCollector
87 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError>
90 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError>
93 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError> addActorEntity(
100 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError>
105 MCAPI ::OwnerPtr<::EntityContext> deleteActorEntityFromWorldAndTakeEntity(
::WeakEntityRef entityRef);
107 MCAPI
void forceRemoveActorFromWorld(
::Actor& actor);
113 MCAPI ::OwnerPtr<::EntityContext> removeActorEntityAndTakeEntity(
::WeakEntityRef entityRef);
115 MCAPI
void removeActorEntityReferencesForDeletion(
::Actor& actor);
117 MCAPI ::OwnerPtr<::EntityContext> removeEntity(
::WeakEntityRef entityRef);
126 ::std::unique_ptr<::IActorManagerProxy> actorManagerProxy,
127 ::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector> actorGarbageCollector
140 MCFOLD ::Bedrock::PubSub::Connector<void(
::Actor&)>& $getRegisterEntityAddedConnector();
142 MCFOLD ::Bedrock::PubSub::Connector<void(
::Actor&, ::ActorInitializationMethod)>&
143 $getRegisterPostReloadActorConnector();
145 MCAPI ::Bedrock::PubSub::Connector<void(
::Actor&)>& $getRegisterOnRemoveActorEntityReferenceConnector();
Definition EntityContext.h:16