19 using Callback = ::std::function<void(
::Core::Path const&)>;
24 ::ll::TypedStorage<8, 248, ::PackReport> mPackReport;
25 ::ll::TypedStorage<8, 8, ::PackSettings*> mPackSettings;
26 ::ll::TypedStorage<8, 16, ::gsl::not_null<::std::shared_ptr<::ResourcePack>>> mPack;
27 ::ll::TypedStorage<4, 16, ::PackStats> mStats;
28 ::ll::TypedStorage<4, 4, int> mSubpackIndex;
29 ::ll::TypedStorage<1, 1, uchar> mRevision;
34 PackInstance(PackInstance
const&);
41 ::gsl::not_null<::std::shared_ptr<::ResourcePack>> pack,
48 ::gsl::not_null<::std::shared_ptr<::ResourcePack>> pack,
49 ::std::string
const& subpackName,
57 MCAPI
bool getResource(
::Core::Path const& resourceName, ::std::string& resourceStream)
const;
59 MCAPI_C
bool hasResource(
::Core::Path const& resourceName)
const;
61 MCAPI ::PackInstance& operator=(::PackInstance
const&);
63 MCAPI ~PackInstance();
70 ::gsl::not_null<::std::shared_ptr<::ResourcePack>> pack,
77 ::gsl::not_null<::std::shared_ptr<::ResourcePack>> pack,
78 ::std::string
const& subpackName,