36 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::Level>> mLevel;
37 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::IEntityInitializer>> mEntityInitializer;
38 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::ActorDefinitionGroup>> mDefinitions;
39 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::ActorFactoryData>> mFactoryFunctions;
40 ::ll::TypedStorage<8, 16, ::std::set<::std::string>> mExperimentalEntities;
41 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorComponentFactory>> mComponentFactory;
42 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorGoalFactory>> mGoalFactory;
59 MCAPI
explicit ActorFactory(::Bedrock::NotNullNonOwnerPtr<::Level> level);
61 MCAPI
void _buildSummonableActorList(
66 MCAPI ::OwnerPtr<::EntityContext> _constructActor(
70 ::std::vector<::std::string>
const* previousDefinitions
75 MCAPI
void _loadDefinitionsHelper();
77 MCAPI
bool _validateActorData(
84 MCAPI
void applyEntityInitializer(::std::unique_ptr<::Actor> actor,
::EntityContext& entity)
const;
86 MCAPI ::std::vector<::std::pair<::std::string, ::ActorDefinitionIdentifier const*>>
87 buildSummonEntityTypeEnum(
::Experiments const& experiments)
const;
89 MCAPI ::OwnerPtr<::EntityContext> clientCreateDisplayActor(
96 MCAPI ::OwnerPtr<::EntityContext> createActor(
97 ::std::string
const& method,
106 MCAPI ::OwnerPtr<::EntityContext>
109 MCAPI ::OwnerPtr<::EntityContext> createSpawnedActor(
116 MCAPI ::OwnerPtr<::EntityContext>
119 MCAPI ::OwnerPtr<::EntityContext> loadActor(
132 MCAPI
static void fillFactoryData(
135 ::std::unordered_map<::std::string, ::ActorFactoryData>
const& factoryFunctions,
139 MCAPI
static void registerEntityMapping(
140 ::ActorType
const& actorType,
142 ::std::unique_ptr<::Actor> (*
const& factory)(
147 ::std::optional<int> experimentIndex
154 MCAPI static ::std::vector<::VanillaActorData>& builtinEntityMappings();
160 MCAPI
void* $ctor(::Bedrock::NotNullNonOwnerPtr<::Level> level);
Definition EntityContext.h:16