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>
103 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError>
110 MCAPI ::OwnerPtr<::EntityContext> deleteActorEntityFromWorldAndTakeEntity(
::WeakEntityRef entityRef);
112 MCAPI
void forceRemoveActor(
::Actor& actor);
114 MCAPI
void forceRemoveActorFromWorld(
::Actor& actor);
116 MCFOLD ::std::vector<::OwnerPtr<::EntityContext>>
const& getEntities()
const;
122 MCAPI ::OwnerPtr<::EntityContext> removeActorEntityAndTakeEntity(
::WeakEntityRef entityRef);
124 MCAPI ::OwnerPtr<::EntityContext> removeEntity(
::WeakEntityRef entityRef);
126 MCFOLD
void setLevelIsTearingDown();
129 MCAPI
void shutdown();
139 ::std::unique_ptr<::IActorManagerProxy> actorManagerProxy,
140 ::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector> actorGarbageCollector
153 MCFOLD ::Bedrock::PubSub::Connector<void(
::Actor&)>& $getRegisterEntityAddedConnector();
155 MCFOLD ::Bedrock::PubSub::Connector<void(
::Actor&, ::ActorInitializationMethod)>&
156 $getRegisterPostReloadActorConnector();
158 MCFOLD ::Bedrock::PubSub::Connector<void(
::Actor&)>& $getRegisterOnRemoveActorEntityReferenceConnector();
166 MCAPI
static void** $vftable();
Definition EntityContext.h:17