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 // vIndex: 0
36 virtual ~FeatureTypeFactory();
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI uint64 addSupportedSchema(::std::optional<::Puv::VersionRange> versionRange);
43
44 MCAPI bool processFeature(
45 ::IWorldRegistriesProvider& lookupProvider,
46 bool isBasePack,
47 ::ResourcePackManager const& rpm,
48 ::std::string const& expectedFeatureName,
49 ::Json::Value const& featureData,
50 ::MinEngineVersion const& minEngineVersion
51 );
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCAPI void $dtor();
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCNAPI static void** $vftable();
64 // NOLINTEND
65};
Definition FeatureLoader.h:18
Definition FeatureTypeFactory.h:20
static MCAPI void ** $vftable()
Definition FeatureTypeVersion.h:9
Definition IWorldRegistriesProvider.h:26
Definition Value.h:16
Definition MinEngineVersion.h:10
Definition ResourcePackManager.h:24
Definition Node.h:7
Definition FeatureParserContext.h:14
Definition SupportedFeatureSchema.h:15
Definition SupportedFeatureUpgrader.h:8