20 using Callback = ::std::function<void(
::Core::Path const&)>;
25 ::ll::TypedStorage<8, 248, ::PackReport> mPackReport;
26 ::ll::TypedStorage<8, 8, ::PackSettings*> mPackSettings;
27 ::ll::TypedStorage<8, 16, ::gsl::not_null<::std::shared_ptr<::ResourcePack>>> mPack;
28 ::ll::TypedStorage<4, 16, ::PackStats> mStats;
29 ::ll::TypedStorage<4, 4, int> mSubpackIndex;
30 ::ll::TypedStorage<1, 1, uchar> mRevision;
35 PackInstance(PackInstance
const&);
42 ::gsl::not_null<::std::shared_ptr<::ResourcePack>> pack,
49 ::gsl::not_null<::std::shared_ptr<::ResourcePack>> pack,
50 ::std::string
const& subpackName,
59 MCAPI
bool hasResource(
::Core::Path const& resourceName)
const;
62 MCAPI ::PackInstance& operator=(::PackInstance
const&);
65 MCAPI ::Bedrock::Resources::PreloadedPathHandle preloadArchive(
::Core::Path const& packRelativePath)
const;
68 MCAPI ~PackInstance();
75 ::gsl::not_null<::std::shared_ptr<::ResourcePack>> pack,
82 ::gsl::not_null<::std::shared_ptr<::ResourcePack>> pack,
83 ::std::string
const& subpackName,