LeviLamina
Loading...
Searching...
No Matches
ResourcePack Class Reference

Public Types

using Callback = ::std::function<void(::Core::Path const&)>

Public Member Functions

MCAPI ResourcePack (::gsl::not_null<::std::shared_ptr<::Pack > > pack)
MCAPI void _createSubpack (::SubpackInfo const &subpackInfo)
MCAPI void _createSubpacks ()
MCAPI void _generateIconPath ()
MCAPI bool _supportsPreload () const
MCAPI bool areKnownFilesValid ()
MCAPI void forEachIn (::Core::Path const &filePath, ::std::function< void(::Core::Path const &)> callback, int subpackIndex, bool recurseAnyways) const
MCAPI void generateAssetSet ()
MCAPI bool getResource (::Core::Path const &resourceName, ::std::string &resourceStream, int subpackIndex) const
MCAPI_C::Json::Value getTexturesList (int subpackIndex) const
MCAPI_C bool hasExtraResourcesForLocale (::std::string const &code, int subpackIndex) const
MCAPI_C bool hasIcon (::PackIconType iconType) const
MCAPI bool hasResource (::Core::Path const &resourceName, int subpackIndex) const
MCAPI bool isAssetExtractionViable () const
MCAPI ::std::vector<::Bedrock::Resources::PreloadedPathHandlepreloadPath (::Core::Path const &packRelativePath, int subpackIndex, bool) const
MCAPI_C void regenerateAssetSet ()
MCAPI void setLocale (::std::string const &code)
MCAPI void * $ctor (::gsl::not_null<::std::shared_ptr<::Pack > > pack)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::Core::PathBuffer<::std::string > const & RESOURCE_PACK_BUG_ICON_PATH ()
static MCAPI ::Core::PathBuffer<::std::string > const & RESOURCE_PACK_ICON_PATH ()
static MCAPI ::Core::PathBuffer<::std::string > const & TEXTURES_LIST_PATH ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mHidden
::ll::TypedStorage< 1, 1, bool > mError
::ll::TypedStorage< 8, 16, ::gsl::not_null<::std::shared_ptr<::Pack > > > mPack
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::PackAccessStrategy > > mSubpackAccessStrategy
::ll::TypedStorage< 8, 248, ::PackReportmPackReport
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::Pack > > > mSubPacks
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::ResourcePack > > > mSubResourcePacks
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mIconPath
::ll::TypedStorage< 8, 8, double > mLoadTime
::ll::TypedStorage< 1, 1, bool > mIsBaseGamePack
::ll::TypedStorage< 1, 1, bool > mIsSlicePack
::ll::TypedStorage< 8, 64, ::ResourceSignaturemResourceSignature
::ll::TypedStorage< 1, 1, bool > mIsMarkedForRemoval

The documentation for this class was generated from the following file: