LeviLamina
Loading...
Searching...
No Matches
ResourcePack Class Reference
+ Inheritance diagram for ResourcePack:

Public Types

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

Public Member Functions

MCAPI ResourcePack (::Pack &pack)
 
MCAPI void _createSubpack (::SubpackInfo const &subpackInfo)
 
MCAPI void _createSubpacks ()
 
MCAPI void _generateIconPath ()
 
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) const
 
MCAPI void generateAssetSet ()
 
MCAPI::PackManifest & getManifest ()
 
MCAPI::PackOrigin getPackOrigin () const
 
MCAPI bool getResource (::Core::Path const &resourceName, ::std::string &resourceStream, int subpackIndex) const
 
MCAPI::ResourceLocation const & getResourceLocation () const
 
MCAPI::SubpackInfoCollection const & getSubpackInfoStack () const
 
MCAPI bool hasResource (::Core::Path const &resourceName, int subpackIndex) const
 
MCAPI bool isAssetExtractionViable () const
 
MCAPI bool isZipped () const
 
MCAPI::Bedrock::Resources::PreloadedPathHandle preloadPath (::Core::Path const &packRelativePath) const
 
MCAPI void setLocale (::std::string const &code)
 
MCAPI void unregisterDeleteCallback (void *owner)
 
MCAPI void * $ctor (::Pack &pack)
 
MCAPI void $dtor ()
 
MCFOLD void * $ctor ()
 
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)
 

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 ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 1, 1, bool > mHidden
 
::ll::TypedStorage< 1, 1, bool > mError
 
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::Pack > > mPack
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::PackAccessStrategy > > mSubpackAccessStrategy
 
::ll::TypedStorage< 8, 256, ::PackReportmPackReport
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::Pack > > > mSubPacks
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_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
 
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock
 

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