API Reference
On this page
Classes | |
| struct | ConstructorKey |
| struct | LoadAllVersionsOptions |
| struct | ResourcePackLoaderArgs |
Public Types | |
| using | ResourceFileExtensionSetType = ::gsl::span<::std::string const> |
Public Member Functions | |
| virtual bool | load (::ResourceLocation const &resourceLocation, ::std::string &resourceStream) const |
| virtual bool | load (::ResourceLocation const &resourceLocation, ::std::string &resourceStream, ::gsl::span<::std::string const > extensionList) const |
| virtual bool | load (::ResourceLocationPair const &resourceLocationPair, ::std::string &resourceStream, ::gsl::span<::std::string const > extensionList) const |
| virtual ::Core::PathBuffer<::std::string > | getPath (::ResourceLocation const &resourceLocation) const |
| virtual ::Core::PathBuffer<::std::string > | getPath (::ResourceLocation const &resourceLocation, ::gsl::span<::std::string const > extensionList) const |
| virtual ::Core::PathBuffer<::std::string > | getPathContainingResource (::ResourceLocation const &resourceLocation) const |
| virtual ::std::pair< int, ::std::string_view > | getPackStackIndexOfResource (::ResourceLocation const &resourceLocation, ::gsl::span<::std::string const > extensionList) const |
| virtual bool | hasCapability (::std::string_view requiredCapability) const |
| MCAPI ::std::vector<::PackInstance > | getPacksWhereAssetExtractionNotViable (::std::function<::std::string(::ContentIdentity const &)> getContentKey, ::std::string const &sourceContext) const |
| MCAPI::ResourceGroup | getResourcesOfGroup (::std::string const &group) const |
| MCAPI::ResourceGroup | getResourcesOfGroup (::PackInstance const &packInstance, ::std::string const &group) const |
| MCAPI bool | isAssetExtractionViableForFullStack (::std::function<::std::string(::ContentIdentity const &)> getContentKey, ::std::string const &sourceContext) const |
| MCAPI bool | $load (::ResourceLocation const &resourceLocation, ::std::string &resourceStream) const |
| MCAPI bool | $load (::ResourceLocation const &resourceLocation, ::std::string &resourceStream, ::gsl::span<::std::string const > extensionList) const |
| MCAPI bool | $load (::ResourceLocationPair const &resourceLocationPair, ::std::string &resourceStream, ::gsl::span<::std::string const > extensionList) const |
| MCAPI ::Core::PathBuffer<::std::string > | $getPath (::ResourceLocation const &resourceLocation) const |
| MCAPI ::Core::PathBuffer<::std::string > | $getPath (::ResourceLocation const &resourceLocation, ::gsl::span<::std::string const > extensionList) const |
| MCAPI ::Core::PathBuffer<::std::string > | $getPathContainingResource (::ResourceLocation const &resourceLocation) const |
| MCAPI ::std::pair< int, ::std::string_view > | $getPackStackIndexOfResource (::ResourceLocation const &resourceLocation, ::gsl::span<::std::string const > extensionList) const |
| MCAPI bool | $hasCapability (::std::string_view requiredCapability) const |
| virtual::mce::Image | loadTexture (::ResourceLocation const &resourceLocation) const =0 |
| MCAPI void * | $ctor (::std::function<::Core::PathBuffer<::std::string >()> getPath) |
| MCFOLD void | $dtor () |
Static Public Member Functions | |
| static MCAPI bool | _alwaysPassingPackFilter (::PackInstance const &) |
| static MCAPI void ** | $vftable () |
Public Attributes | |
| ::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ResourcePackStack > > | mFullStack |
| ::ll::TypedStorage< 8, 16, ::WeakRef<::ResourcePackLoader > > | mWeakThis |
| ::ll::TypedStorage< 8, 64, ::Bedrock::Resources::CategoryFileMapping > | mCategoryFileMapping |
| ::ll::TypedStorage< 8, 64, ::Bedrock::Resources::CategoryMergeStrategyFactory<::LoadedResourceData, ::ResourceMergeOptions > > | mMergeStrategyFactory |
| ::ll::TypedStorage< 8, 64, ::std::function<::Core::PathBuffer<::std::string >()> > | mGetPath |
| ::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlock > | mControlBlock |
|
virtual |
Implements ResourceLoader.
|
virtual |
Implements ResourceLoader.
|
virtual |
Reimplemented from ResourceLoaderBase.
|
virtual |
Reimplemented from ResourceLoaderBase.
|
virtual |
Reimplemented from ResourceLoaderBase.
|
virtual |
Reimplemented from ResourceLoaderBase.
|
virtual |
Reimplemented from ResourceLoaderBase.
| MCAPI ::std::vector<::PackInstance > ResourcePackLoader::getPacksWhereAssetExtractionNotViable | ( | ::std::function<::std::string(::ContentIdentity const &)> | getContentKey, |
| ::std::string const & | sourceContext ) const |
| MCAPI::ResourceGroup ResourcePackLoader::getResourcesOfGroup | ( | ::std::string const & | group | ) | const |
| MCAPI::ResourceGroup ResourcePackLoader::getResourcesOfGroup | ( | ::PackInstance const & | packInstance, |
| ::std::string const & | group ) const |
| MCAPI bool ResourcePackLoader::isAssetExtractionViableForFullStack | ( | ::std::function<::std::string(::ContentIdentity const &)> | getContentKey, |
| ::std::string const & | sourceContext ) const |
|
static |
| MCAPI bool ResourcePackLoader::$load | ( | ::ResourceLocation const & | resourceLocation, |
| ::std::string & | resourceStream ) const |
| MCAPI bool ResourcePackLoader::$load | ( | ::ResourceLocation const & | resourceLocation, |
| ::std::string & | resourceStream, | ||
| ::gsl::span<::std::string const > | extensionList ) const |
| MCAPI ::Core::PathBuffer<::std::string > ResourcePackLoader::$getPath | ( | ::ResourceLocation const & | resourceLocation | ) | const |
| MCAPI ::Core::PathBuffer<::std::string > ResourcePackLoader::$getPath | ( | ::ResourceLocation const & | resourceLocation, |
| ::gsl::span<::std::string const > | extensionList ) const |
| MCAPI ::Core::PathBuffer<::std::string > ResourcePackLoader::$getPathContainingResource | ( | ::ResourceLocation const & | resourceLocation | ) | const |
| MCAPI bool ResourcePackLoader::$hasCapability | ( | ::std::string_view | requiredCapability | ) | const |
|
inherited |
|
staticinherited |