31 using Callback = ::std::function<void(
::Core::Path const&)>;
36 ::ll::TypedStorage<8, 248, ::PackReport> mPackReport;
37 ::ll::TypedStorage<8, 8, ::PackSettings*> mPackSettings;
38 ::ll::TypedStorage<8, 16, ::gsl::not_null<::std::shared_ptr<::ResourcePack>>> mPack;
39 ::ll::TypedStorage<4, 16, ::PackStats> mStats;
40 ::ll::TypedStorage<4, 4, int> mSubpackIndex;
41 ::ll::TypedStorage<1, 1, uchar> mRevision;
52 ::gsl::not_null<::std::shared_ptr<::ResourcePack>> pack,
59 ::gsl::not_null<::std::shared_ptr<::ResourcePack>> pack,
60 ::std::string
const& subpackName,
69 MCAPI
void generateAssetSet();
72 MCAPI uint getFileCount()
const;
74 MCAPI ::std::string
const& getFolderName()
const;
77 MCAPI ::ResourceFileSystem getIconFileSytem()
const;
79 MCAPI ::Core::PathBuffer<::std::string> getIconPath(::PackIconType iconType)
const;
81 MCAPI ::Core::PathBuffer<::std::string>
const& getIconZipPath()
const;
84 MCAPI
double getLoadTime()
const;
86 MCAPI ::PackManifest
const& getManifest()
const;
88 MCAPI ::PackCategory getPackCategory()
const;
90 MCAPI ::mce::UUID
const getPackId()
const;
92 MCAPI ::PackOrigin getPackOrigin()
const;
94 MCFOLD ::PackSettings
const* getPackSettings()
const;
96 MCFOLD ::PackStats
const& getPackStats()
const;
98 MCFOLD ::PackStats& getPackStats();
100 MCAPI ::Core::PathBuffer<::std::string>
const& getRelativePathWithinZip()
const;
102 MCAPI
bool getResource(
::Core::Path const& resourceName, ::std::string& resourceStream)
const;
104 MCAPI ::ResourceLocation
const& getResourceLocation()
const;
107 MCAPI
int getSubpackCount()
const;
110 MCAPI ::std::string
const& getSubpackFolderName()
const;
113 MCFOLD
int getSubpackIndex()
const;
116 MCAPI ::ContentTierInfo getTierInfo()
const;
118 MCAPI ::SemVersion
const& getVersion()
const;
121 MCAPI
bool hasIcon(::PackIconType iconType)
const;
124 MCAPI
bool hasResource(
::Core::Path const& resourceName)
const;
126 MCAPI
bool isBaseGamePack()
const;
128 MCAPI
bool isSlicePack()
const;
130 MCAPI
bool isTrusted()
const;
133 MCAPI
bool isType(::PackType packType)
const;
136 MCAPI
bool isZipped()
const;
138 MCAPI ::Bedrock::Resources::PreloadedPathHandle preloadArchive(
::Core::Path const& packRelativePath)
const;
140 MCAPI ::std::vector<::Bedrock::Resources::PreloadedPathHandle>
141 preloadPath(
::Core::Path const& packRelativePath)
const;
143 MCAPI ~PackInstance();
150 ::gsl::not_null<::std::shared_ptr<::ResourcePack>> pack,
157 ::gsl::not_null<::std::shared_ptr<::ResourcePack>> pack,
158 ::std::string
const& subpackName,
Definition ContentTierInfo.h:12