LeviLamina
Loading...
Searching...
No Matches
FeatureTypeFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class FeatureLoader;
15namespace Documentation { struct Node; }
16namespace Json { class Value; }
17namespace Puv { class VersionRange; }
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 24, ::std::vector<::SupportedFeatureSchema>> mSupportedSchemas;
25 ::ll::TypedStorage<8, 24, ::std::vector<::SupportedFeatureUpgrader>> mSupportedUpgraders;
26 ::ll::TypedStorage<8, 24, ::std::vector<::std::function<void(::Documentation::Node&)>>> mDocumentationGenerators;
27 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::FeatureTypeVersion>> mRegisteredFeatureTypeVersions;
28 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureLoader>> mLoader;
29 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureParserContext>> mParserContext;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~FeatureTypeFactory();
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI uint64 addSupportedSchema(::std::optional<::Puv::VersionRange> versionRange);
42
43 MCAPI bool processFeature(
44 ::IWorldRegistriesProvider& lookupProvider,
45 bool isBasePack,
46 ::ResourcePackManager const& rpm,
47 ::std::string const& expectedFeatureName,
48 ::Json::Value const& featureData,
49 ::MinEngineVersion const& minEngineVersion
50 );
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCAPI void $dtor();
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
Definition FeatureLoader.h:18
Definition FeatureTypeFactory.h:20
static MCAPI void ** $vftable()
Definition FeatureTypeVersion.h:9
Definition IWorldRegistriesProvider.h:25
Definition Value.h:16
Definition MinEngineVersion.h:10
Definition VersionRange.h:15
Definition ResourcePackManager.h:29
Definition Node.h:7
Definition FeatureParserContext.h:14
Definition SupportedFeatureSchema.h:15
Definition SupportedFeatureUpgrader.h:8