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

Classes

struct  Impl

Public Types

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

Public Member Functions

MCAPI ResourcePack (::I18n &loc, ::gsl::not_null<::std::shared_ptr<::Pack > > pack)
MCAPI void _createSubpack (::I18n &loc, ::SubpackInfo const &subpackInfo)
MCAPI void _createSubpacks (::I18n &loc)
MCAPI bool areKnownFilesValid ()
MCAPI void forEachIn (::Core::Path const &filePath, ::std::function< void(::Core::Path const &)> callback, int subpackIndex, bool recurseAnyways) const
MCAPI void forEachInAssetSet (::Core::Path const &filePath, ::std::function< void(::Core::Path const &)> callback, int subpackIndex) const
MCAPI void generateAssetSet ()
MCAPI bool getResource (::Core::Path const &resourceName, ::std::string &resourceStream, int subpackIndex) const
MCAPI bool hasResource (::Core::Path const &resourceName, int subpackIndex) const
MCAPI bool isAssetExtractionViable () const
MCAPI::Bedrock::Resources::PreloadedPathHandle preloadArchive (::Core::Path const &packRelativePath, int subpackIndex) const
MCAPI ::std::vector<::Bedrock::Resources::PreloadedPathHandle > preloadPath (::Core::Path const &packRelativePath, int subpackIndex, bool) const
MCAPI void setLocale (::std::string const &code)
MCAPI void * $ctor (::I18n &loc, ::gsl::not_null<::std::shared_ptr<::Pack > > pack)

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 ()

Public Attributes

::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::ResourcePack::Impl > > > mImpl

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