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;
55 MCAPI
explicit ActorFactory(::Bedrock::NotNullNonOwnerPtr<::Level> level);
57 MCAPI
void _buildSummonableActorList(
62 MCAPI ::OwnerPtr<::EntityContext> _constructActor(
66 ::std::vector<::std::string>
const* previousDefinitions
71 MCAPI
void _loadDefinitionsHelper();
73 MCAPI
bool _validateActorData(
80 MCAPI
void applyEntityInitializer(::std::unique_ptr<::Actor> actor,
::EntityContext& entity)
const;
82 MCAPI ::std::vector<::std::pair<::std::string, ::ActorDefinitionIdentifier const*>>
83 buildSummonEntityTypeEnum(
::Experiments const& experiments)
const;
85 MCAPI ::OwnerPtr<::EntityContext> clientCreateDisplayActor(
92 MCAPI ::OwnerPtr<::EntityContext> createActor(
93 ::std::string
const& method,
102 MCAPI ::OwnerPtr<::EntityContext>
105 MCAPI ::OwnerPtr<::EntityContext> createSpawnedActor(
112 MCAPI ::OwnerPtr<::EntityContext>
115 MCAPI ::OwnerPtr<::EntityContext> loadActor(
128 MCAPI
static void fillFactoryData(
131 ::std::unordered_map<::std::string, ::ActorFactoryData>
const& factoryFunctions,
135 MCAPI
static void registerEntityMapping(
136 ::ActorType
const& actorType,
140 ::std::optional<int> experimentIndex
147 MCAPI static ::std::vector<::VanillaActorData>& builtinEntityMappings();
153 MCAPI
void* $ctor(::Bedrock::NotNullNonOwnerPtr<::Level> level);
165 MCAPI
static void** $vftable();
Definition EntityContext.h:16