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 AppPlatform;
11class IPackTelemetry;
14class PackManifest;
15class PackReport;
18namespace Core { class Path; }
19// clang-format on
20
21class PackManifestFactory : public ::IPackManifestFactory {
22public:
23 // member variables
24 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 PackManifestFactory& operator=(PackManifestFactory const&);
34 PackManifestFactory(PackManifestFactory const&);
35 PackManifestFactory();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40#ifdef LL_PLAT_S
41 virtual ~PackManifestFactory() /*override*/;
42#else // LL_PLAT_C
43 virtual ~PackManifestFactory() /*override*/ = default;
44#endif
45
46 virtual ::std::unique_ptr<::PackManifest> create(
47 ::PackAccessStrategy& accessStrategy,
48 ::ResourceLocation const& location,
49 ::PackReport& report,
50 ::SubpackInfoCollection* subpackInfoStack
51 ) /*override*/;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCNAPI PackManifestFactory(::PackCapabilityRegistry const& packCapabilityRegistry, ::IPackTelemetry& eventing);
58
60 ::PackManifest& manifest,
61 ::PackAccessStrategy& accessStrategy,
62 ::ResourceLocation const& location
63 );
64
65 MCNAPI ::std::unique_ptr<::PackManifest>
67
68#ifdef LL_PLAT_C
69 MCNAPI void load(::AppPlatform& appPlatform);
70
71 MCNAPI void save(::AppPlatform& appPlatform);
72#endif
73 // NOLINTEND
74
75public:
76 // static functions
77 // NOLINTBEGIN
78#ifdef LL_PLAT_C
79 MCNAPI static ::std::string alternateContentKeyLookup(::std::string const& packIdentity);
80#endif
81
82 MCNAPI static ::std::string contentKeyLookup(::std::string const& packIdentity);
83 // NOLINTEND
84
85public:
86 // static variables
87 // NOLINTBEGIN
88 MCNAPI static ::std::string const& MANIFEST_PACK_UUID_UPGRADE_SALT();
89
90 MCNAPI static ::Core::Path const& MANIFEST_PATH();
91
92 MCNAPI static ::Core::Path const& MANIFEST_PATH_OLD();
93
94 MCNAPI static ::std::unordered_map<::std::string, ::std::vector<char> const>& mAlternateContentKeys();
95
96 MCNAPI static ::std::unordered_map<::std::string, ::std::vector<char> const>& mContentKeys();
97 // NOLINTEND
98
99public:
100 // constructor thunks
101 // NOLINTBEGIN
102 MCNAPI void* $ctor(::PackCapabilityRegistry const& packCapabilityRegistry, ::IPackTelemetry& eventing);
103 // NOLINTEND
104
105public:
106 // destructor thunk
107 // NOLINTBEGIN
108 MCNAPI void $dtor();
109 // NOLINTEND
110
111public:
112 // virtual function thunks
113 // NOLINTBEGIN
114 MCNAPI ::std::unique_ptr<::PackManifest> $create(
115 ::PackAccessStrategy& accessStrategy,
116 ::ResourceLocation const& location,
117 ::PackReport& report,
118 ::SubpackInfoCollection* subpackInfoStack
119 );
120
121
122 // NOLINTEND
123
124public:
125 // vftables
126 // NOLINTBEGIN
127 MCNAPI static void** $vftable();
128 // NOLINTEND
129};
Definition AppPlatform.h:91
Definition Path.h:12
Definition IPackManifestFactory.h:17
Definition IPackTelemetry.h:5
Definition PackAccessStrategy.h:26
Definition PackCapabilityRegistry.h:13
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::string contentKeyLookup(::std::string const &packIdentity)
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:38
Definition PackReport.h:17
Definition ResourceLocation.h:15
Definition SubpackInfoCollection.h:12
Definition Alias.h:14