LeviLamina
Loading...
Searching...
No Matches
PackManifestFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/resources/interface/IPackManifestFactory.h"
7
8// auto generated forward declare list
9// clang-format off
10class IPackTelemetry;
13class PackManifest;
14class PackReport;
17namespace Core { class Path; }
18// clang-format on
19
20class PackManifestFactory : public ::IPackManifestFactory {
21public:
22 // member variables
23 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 PackManifestFactory& operator=(PackManifestFactory const&);
33 PackManifestFactory(PackManifestFactory const&);
34 PackManifestFactory();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39#ifdef LL_PLAT_S
40 virtual ~PackManifestFactory() /*override*/;
41#else // LL_PLAT_C
42 virtual ~PackManifestFactory() /*override*/ = default;
43#endif
44
45 virtual ::std::unique_ptr<::PackManifest> create(
46 ::PackAccessStrategy& accessStrategy,
47 ::ResourceLocation const& location,
48 ::PackReport& report,
49 ::SubpackInfoCollection* subpackInfoStack
50 ) /*override*/;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCNAPI PackManifestFactory(::PackCapabilityRegistry const& packCapabilityRegistry, ::IPackTelemetry& eventing);
57
59 ::PackManifest& manifest,
60 ::PackAccessStrategy& accessStrategy,
61 ::ResourceLocation const& location
62 );
63
64 MCNAPI ::std::unique_ptr<::PackManifest>
66 // NOLINTEND
67
68public:
69 // static variables
70 // NOLINTBEGIN
71 MCNAPI static ::std::string const& MANIFEST_PACK_UUID_UPGRADE_SALT();
72
73 MCNAPI static ::Core::Path const& MANIFEST_PATH();
74
75 MCNAPI static ::Core::Path const& MANIFEST_PATH_OLD();
76
77 MCNAPI static ::std::unordered_map<::std::string, ::std::vector<char> const>& mAlternateContentKeys();
78
79 MCNAPI static ::std::unordered_map<::std::string, ::std::vector<char> const>& mContentKeys();
80 // NOLINTEND
81
82public:
83 // constructor thunks
84 // NOLINTBEGIN
85 MCNAPI void* $ctor(::PackCapabilityRegistry const& packCapabilityRegistry, ::IPackTelemetry& eventing);
86 // NOLINTEND
87
88public:
89 // destructor thunk
90 // NOLINTBEGIN
91 MCNAPI void $dtor();
92 // NOLINTEND
93
94public:
95 // virtual function thunks
96 // NOLINTBEGIN
97 MCNAPI ::std::unique_ptr<::PackManifest> $create(
98 ::PackAccessStrategy& accessStrategy,
99 ::ResourceLocation const& location,
100 ::PackReport& report,
101 ::SubpackInfoCollection* subpackInfoStack
102 );
103
104
105 // NOLINTEND
106
107public:
108 // vftables
109 // NOLINTBEGIN
110 MCNAPI static void** $vftable();
111 // NOLINTEND
112};
Definition Path.h:10
Definition IPackManifestFactory.h:17
Definition IPackTelemetry.h:5
Definition PackAccessStrategy.h:21
Definition PackCapabilityRegistry.h:10
MCAPI ::std::unique_ptr<::PackManifest > _upgradeToWorldTemplateManifest(::PackAccessStrategy const &accessStrategy, ::PackManifest &&inputPack)
static MCAPI void ** $vftable()
static MCAPI ::Core::Path const & MANIFEST_PATH_OLD()
static MCAPI ::std::unordered_map<::std::string, ::std::vector< char > const > & mAlternateContentKeys()
static MCAPI ::Core::Path const & MANIFEST_PATH()
static MCAPI ::std::unordered_map<::std::string, ::std::vector< char > const > & mContentKeys()
MCAPI void * $ctor(::PackCapabilityRegistry const &packCapabilityRegistry, ::IPackTelemetry &eventing)
static MCAPI ::std::string const & MANIFEST_PACK_UUID_UPGRADE_SALT()
MCAPI ::std::unique_ptr<::PackManifest > $create(::PackAccessStrategy &accessStrategy, ::ResourceLocation const &location, ::PackReport &report, ::SubpackInfoCollection *subpackInfoStack)
MCAPI void _setAndCachePackSize(::PackManifest &manifest, ::PackAccessStrategy &accessStrategy, ::ResourceLocation const &location)
MCAPI void $dtor()
MCAPI PackManifestFactory(::PackCapabilityRegistry const &packCapabilityRegistry, ::IPackTelemetry &eventing)
Definition PackManifest.h:37
Definition PackReport.h:16
Definition ResourceLocation.h:15
Definition SubpackInfoCollection.h:11
Definition Alias.h:14