Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ResourceLoader Class Referenceabstract
Inheritance diagram for ResourceLoader:

Public Types

using ResourceFileExtensionSetType = ::gsl::span<::std::string const>

Public Member Functions

virtual bool load (::ResourceLocation const &resourceLocation, ::std::string &resourceStream) const =0
virtual bool load (::ResourceLocation const &resourceLocation, ::std::string &resourceStream, ::gsl::span<::std::string const > extensions) const =0
virtual bool load (::ResourceLocationPair const &resourceLocation, ::std::string &resourceStream, ::gsl::span<::std::string const > extensions) const =0
virtual::mce::Image loadTexture (::ResourceLocation const &resourceLocation) const =0
virtual ::Core::PathBuffer<::std::string > getPath (::ResourceLocation const &resourceLocation) const =0
virtual ::Core::PathBuffer<::std::string > getPath (::ResourceLocation const &resourceLocation, ::gsl::span<::std::string const > extensions) const =0
virtual ::Core::PathBuffer<::std::string > getPathContainingResource (::ResourceLocation const &resourceLocation) const =0
virtual ::std::pair< int, ::std::string_view > getPackStackIndexOfResource (::ResourceLocation const &resourceLocation, ::gsl::span<::std::string const > extensions) const =0
MCAPI ResourceLoader (::std::function<::Core::PathBuffer<::std::string >()> getPath)
MCAPI void * $ctor (::std::function<::Core::PathBuffer<::std::string >()> getPath)
MCFOLD void $dtor ()

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::function<::Core::PathBuffer<::std::string >()> > mGetPath
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlock > mControlBlock

Constructor & Destructor Documentation

◆ ResourceLoader()

MCAPI ResourceLoader::ResourceLoader ( ::std::function<::Core::PathBuffer<::std::string >()> getPath)
explicit
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

◆ $ctor()

MCAPI void * ResourceLoader::$ctor ( ::std::function<::Core::PathBuffer<::std::string >()> getPath)
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()

MCAPI void ** ResourceLoader::$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: