44 using ActorDefinitionList = ::std::unordered_map<::std::string, ::std::unique_ptr<::ActorDefinition>>;
50 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::ActorDefinition>>> mList;
54 enum class LoadStatus :
int {
56 FailedToParseIdentifier = 1,
57 InvalidNamespaceInIdentifier = 2,
58 DefinitionAlreadyDefined = 3,
59 FailedToLoadFromJSON = 4,
60 InvalidIdentifier = 5,
67 ::ll::TypedStorage<4, 4, ::ActorDefinitionGroup::LoadStatus> mLoadStatus;
68 ::ll::TypedStorage<8, 32, ::std::string> mActorId;
69 ::ll::TypedStorage<1, 1, bool> mIsVanillaOverride;
70 ::ll::TypedStorage<8, 32, ::PuvLoadData::LoadResultWithTiming> mLoadTime;
89 ::ll::TypedStorage<8, 64, ::std::unordered_set<::ActorDefinitionPtr*>> mRegisteredPtrs;
90 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::ActorDefinition>>> mDefinitions;
91 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::ActorDefinitionGroup::EDLWrapper>> mTemplateMap;
92 ::ll::TypedStorage<8, 8, ::ResourcePackManager&> mResourcePackManager;
93 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator>> mLinkedAssetValidator;
94 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mReferenceMutex;
95 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
96 ::ll::TypedStorage<8, 8, ::ActorComponentFactory*> mComponentFactory;
97 ::ll::TypedStorage<8, 72, ::Experiments> mExperiments;
124 MCAPI
void _getResources(
::Level& level);
126 MCAPI ::Puv::LoadResult<::SharedTypes::v1_21_120::ActorDocument> _initActorDefinition(
130 ::std::string
const& relativeResourceFilepath,
131 ::JsonBetaState useBetaFeatures,
132 ::std::string
const& identifier,
137 MCAPI ::ActorDefinitionGroup::LoadActorResult _loadActorDefinition(
140 ::std::string
const& relativeResourceFilepath,
142 ::std::unordered_set<::std::string>& definitions,
146 MCAPI ::Puv::LoadResult<::SharedTypes::v1_21_120::ActorDocument> _loadDefinitionFromJSON(
149 ::std::string
const& relativeResourceFilepath,
151 ::JsonBetaState useBetaFeatures,
152 ::std::string
const& identifier,
157 MCAPI ::ActorDefinitionParseStatus _loadTemplates(
159 ::std::string
const& base,
160 ::std::unordered_map<::std::string, ::SharedTypes::v1_21_120::ActorDefinitions>& componentsGroup,
163 ::JsonBetaState useBetaFeatures
172 MCAPI ::std::vector<::std::string> buildActorEventList()
const;
174 MCAPI ::ActorDefinitionPtr tryGetDefinitionGroup(::std::string
const& base, ::std::string
const& definitionId);
180 MCAPI
static void forEachComponentOf(
182 ::std::string
const& componentName,
186 MCAPI
static bool loadActorDefinitionIdentifier(
189 ::std::string& identifier
192 MCAPI
static bool loadActorDefinitionRuntimeIdentifier(
195 ::std::string& runtimeIdentifier
Definition IPackLoadContext.h:20