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

Public Member Functions

ResourcePackManageroperator= (ResourcePackManager const &)
 
 ResourcePackManager (ResourcePackManager const &)
 
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 bool loadText (::ResourceLocation const &resourceLocation, ::std::string &resourceStream) const
 
virtual ::std::vector<::LoadedResourceDataloadAllVersionsOf (::ResourceLocation const &resourceLocation) const
 
virtual bool isInStreamableLocation (::ResourceLocation const &resourceLocation) const
 
virtual bool isInStreamableLocation (::ResourceLocation const &resourceLocation, ::gsl::span<::std::string const > extensions) 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 > extensions) const
 
virtual ::Core::PathBuffer<::std::string > getPathContainingResource (::ResourceLocation const &resourceLocation) const
 
virtual ::Core::PathBuffer<::std::string > getPathContainingResource (::ResourceLocation const &resourceLocation, ::gsl::span<::std::string const > extensions) 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 ResourcePackManager (::std::function<::Core::PathBuffer<::std::string >()> getPath, ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const > const &contentTierManager, bool needsToInitialize)
 
MCAPI void _calculateMinEngineVersionFromFullStack ()
 
MCAPI void _composeFullStack ()
 
MCAPI void _getResourcesOfGroup (::PackInstance const &packInstance, ::std::string const &group, ::std::vector<::Core::Path > &resources) const
 
MCAPI bool _shouldRebuildStack () const
 
MCAPI void _updateLanguageSubpacks ()
 
MCAPI int composeFullStack (::ResourcePackStack &output, ::ResourcePackStack const &globalStack, ::ResourcePackStack const &levelStack, ::ResourcePackStack const &addonStack) const
 
MCAPI::ResourceGroup getResourcesOfGroup (::std::string const &group) const
 
MCAPI::ResourceGroup getResourcesOfGroup (::PackInstance const &packInstance, ::std::string const &group) const
 
MCAPI::ResourcePackStack const & getStack (::ResourcePackStackType stackType) const
 
MCAPI void iteratePacks (::std::function< void(::PackInstance const &)> const &pred) const
 
MCAPI void removeIf (::std::function< bool(::PackInstance const &)> const &pred)
 
MCAPI bool setStack (::std::unique_ptr<::ResourcePackStack > stack, ::ResourcePackStackType stackType, bool composeStack)
 
MCAPI void * $ctor (::std::function<::Core::PathBuffer<::std::string >()> getPath, ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const > const &contentTierManager, bool needsToInitialize)
 
MCAPI void $dtor ()
 
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 bool $loadText (::ResourceLocation const &resourceLocation, ::std::string &resourceStream) const
 
MCAPI ::std::vector<::LoadedResourceData$loadAllVersionsOf (::ResourceLocation const &resourceLocation) const
 
MCAPI bool $isInStreamableLocation (::ResourceLocation const &resourceLocation) const
 
MCAPI bool $isInStreamableLocation (::ResourceLocation const &resourceLocation, ::gsl::span<::std::string const > extensions) 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 > extensions) const
 
MCAPI ::Core::PathBuffer<::std::string > $getPathContainingResource (::ResourceLocation const &resourceLocation) const
 
MCAPI ::Core::PathBuffer<::std::string > $getPathContainingResource (::ResourceLocation const &resourceLocation, ::gsl::span<::std::string const > extensions) 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
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 64 > mUnkb96c8d
 
::ll::UntypedStorage< 8, 8 > mUnk4f9819
 
::ll::UntypedStorage< 8, 8 > mUnk809618
 
::ll::UntypedStorage< 8, 8 > mUnkd638dd
 
::ll::UntypedStorage< 8, 8 > mUnk7a20a8
 
::ll::UntypedStorage< 8, 8 > mUnk296ec8
 
::ll::UntypedStorage< 8, 8 > mUnk9cce53
 
::ll::UntypedStorage< 8, 8 > mUnk69ba5b
 
::ll::UntypedStorage< 8, 32 > mUnk67648f
 
::ll::UntypedStorage< 1, 1 > mUnk84ade0
 
::ll::UntypedStorage< 1, 1 > mUnkacc084
 
::ll::UntypedStorage< 1, 1 > mUnk384e00
 
::ll::UntypedStorage< 8, 8 > mUnk661f94
 
::ll::UntypedStorage< 8, 24 > mUnk77052a
 
::ll::UntypedStorage< 8, 24 > mUnk3bf93e
 
::ll::UntypedStorage< 8, 64 > mUnk41e959
 
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock
 

Constructor & Destructor Documentation

◆ ResourcePackManager()

MCAPI ResourcePackManager::ResourcePackManager ( ::std::function<::Core::PathBuffer<::std::string >()> getPath,
::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const > const & contentTierManager,
bool needsToInitialize )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ load() [1/3]

virtual bool ResourcePackManager::load ( ::ResourceLocation const & resourceLocation,
::std::string & resourceStream ) const
virtual

Implements ResourceLoader.

◆ load() [2/3]

virtual bool ResourcePackManager::load ( ::ResourceLocation const & resourceLocation,
::std::string & resourceStream,
::gsl::span<::std::string const > extensionList ) const
virtual

Implements ResourceLoader.

◆ load() [3/3]

virtual bool ResourcePackManager::load ( ::ResourceLocationPair const & resourceLocationPair,
::std::string & resourceStream,
::gsl::span<::std::string const > extensionList ) const
virtual

Reimplemented from ResourceLoader.

◆ loadText()

virtual bool ResourcePackManager::loadText ( ::ResourceLocation const & resourceLocation,
::std::string & resourceStream ) const
virtual

Reimplemented from ResourceLoader.

◆ loadAllVersionsOf()

virtual ::std::vector<::LoadedResourceData > ResourcePackManager::loadAllVersionsOf ( ::ResourceLocation const & resourceLocation) const
virtual

Implements ResourceLoader.

◆ isInStreamableLocation() [1/2]

virtual bool ResourcePackManager::isInStreamableLocation ( ::ResourceLocation const & resourceLocation) const
virtual

Reimplemented from ResourceLoader.

◆ isInStreamableLocation() [2/2]

virtual bool ResourcePackManager::isInStreamableLocation ( ::ResourceLocation const & resourceLocation,
::gsl::span<::std::string const > extensions ) const
virtual

Reimplemented from ResourceLoader.

◆ _calculateMinEngineVersionFromFullStack()

MCAPI void ResourcePackManager::_calculateMinEngineVersionFromFullStack ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _composeFullStack()

MCAPI void ResourcePackManager::_composeFullStack ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _getResourcesOfGroup()

MCAPI void ResourcePackManager::_getResourcesOfGroup ( ::PackInstance const & packInstance,
::std::string const & group,
::std::vector<::Core::Path > & resources ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _shouldRebuildStack()

MCAPI bool ResourcePackManager::_shouldRebuildStack ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _updateLanguageSubpacks()

MCAPI void ResourcePackManager::_updateLanguageSubpacks ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ composeFullStack()

MCAPI int ResourcePackManager::composeFullStack ( ::ResourcePackStack & output,
::ResourcePackStack const & globalStack,
::ResourcePackStack const & levelStack,
::ResourcePackStack const & addonStack ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getResourcesOfGroup() [1/2]

MCAPI::ResourceGroup ResourcePackManager::getResourcesOfGroup ( ::std::string const & group) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getResourcesOfGroup() [2/2]

MCAPI::ResourceGroup ResourcePackManager::getResourcesOfGroup ( ::PackInstance const & packInstance,
::std::string const & group ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getStack()

MCAPI::ResourcePackStack const & ResourcePackManager::getStack ( ::ResourcePackStackType stackType) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ iteratePacks()

MCAPI void ResourcePackManager::iteratePacks ( ::std::function< void(::PackInstance const &)> const & pred) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ removeIf()

MCAPI void ResourcePackManager::removeIf ( ::std::function< bool(::PackInstance const &)> const & pred)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setStack()

MCAPI bool ResourcePackManager::setStack ( ::std::unique_ptr<::ResourcePackStack > stack,
::ResourcePackStackType stackType,
bool composeStack )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * ResourcePackManager::$ctor ( ::std::function<::Core::PathBuffer<::std::string >()> getPath,
::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const > const & contentTierManager,
bool needsToInitialize )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void ResourcePackManager::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $load() [1/3]

MCAPI bool ResourcePackManager::$load ( ::ResourceLocation const & resourceLocation,
::std::string & resourceStream ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $load() [2/3]

MCAPI bool ResourcePackManager::$load ( ::ResourceLocation const & resourceLocation,
::std::string & resourceStream,
::gsl::span<::std::string const > extensionList ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $load() [3/3]

MCAPI bool ResourcePackManager::$load ( ::ResourceLocationPair const & resourceLocationPair,
::std::string & resourceStream,
::gsl::span<::std::string const > extensionList ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $loadText()

MCAPI bool ResourcePackManager::$loadText ( ::ResourceLocation const & resourceLocation,
::std::string & resourceStream ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $loadAllVersionsOf()

MCAPI ::std::vector<::LoadedResourceData > ResourcePackManager::$loadAllVersionsOf ( ::ResourceLocation const & resourceLocation) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $isInStreamableLocation() [1/2]

MCAPI bool ResourcePackManager::$isInStreamableLocation ( ::ResourceLocation const & resourceLocation) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $isInStreamableLocation() [2/2]

MCAPI bool ResourcePackManager::$isInStreamableLocation ( ::ResourceLocation const & resourceLocation,
::gsl::span<::std::string const > extensions ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getPath() [1/2]

MCAPI ::Core::PathBuffer<::std::string > ResourcePackManager::$getPath ( ::ResourceLocation const & resourceLocation) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getPath() [2/2]

MCAPI ::Core::PathBuffer<::std::string > ResourcePackManager::$getPath ( ::ResourceLocation const & resourceLocation,
::gsl::span<::std::string const > extensions ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getPathContainingResource() [1/2]

MCAPI ::Core::PathBuffer<::std::string > ResourcePackManager::$getPathContainingResource ( ::ResourceLocation const & resourceLocation) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getPathContainingResource() [2/2]

MCAPI ::Core::PathBuffer<::std::string > ResourcePackManager::$getPathContainingResource ( ::ResourceLocation const & resourceLocation,
::gsl::span<::std::string const > extensions ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getPackStackIndexOfResource()

MCAPI ::std::pair< int, ::std::string_view > ResourcePackManager::$getPackStackIndexOfResource ( ::ResourceLocation const & resourceLocation,
::gsl::span<::std::string const > extensionList ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $hasCapability()

MCAPI bool ResourcePackManager::$hasCapability ( ::std::string_view requiredCapability) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

static MCAPI void ** ResourcePackManager::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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