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

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 &resourceLocation, ::std::string &resourceStream, ::gsl::span<::std::string const > extensions) const
virtual ::std::vector<::LoadedResourceDataloadAllVersionsOf (::ResourceLocation const &resourceLocation) const
virtual ::std::pair< int, ::std::string_view > getPackStackIndexOfResource (::ResourceLocation const &resourceLocation, ::gsl::span<::std::string const > extensions) const
MCNAPI_C void * $ctor (::std::function<::Core::PathBuffer<::std::string >()> getPath)
virtual bool loadText (::ResourceLocation const &resourceLocation, ::std::string &resourceStream) 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
MCFOLD void $dtor ()
MCFOLD bool $load (::ResourceLocationPair const &resourceLocation, ::std::string &resourceStream, ::gsl::span<::std::string const > extensions) const
MCFOLD bool $loadText (::ResourceLocation const &resourceLocation, ::std::string &resourceStream) const
MCFOLD bool $isInStreamableLocation (::ResourceLocation const &resourceLocation) const
MCFOLD bool $isInStreamableLocation (::ResourceLocation const &resourceLocation, ::gsl::span<::std::string const > extensions) const
MCAPI ::Core::PathBuffer<::std::string > $getPath (::ResourceLocation const &resourceLocation) const
MCFOLD ::Core::PathBuffer<::std::string > $getPath (::ResourceLocation const &resourceLocation, ::gsl::span<::std::string const > extensions) const
MCFOLD ::Core::PathBuffer<::std::string > $getPathContainingResource (::ResourceLocation const &resourceLocation) const
MCFOLD ::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 > extensions) const
MCFOLD void * $ctor ()
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)

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::ControlBlockmControlBlock

Member Function Documentation

◆ load() [1/3]

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

Implements ResourceLoader.

◆ load() [2/3]

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

Implements ResourceLoader.

◆ load() [3/3]

virtual bool AppResourceLoader::load ( ::ResourceLocationPair const & resourceLocation,
::std::string & resourceStream,
::gsl::span<::std::string const > extensions ) const
virtual

Reimplemented from ResourceLoader.

◆ loadAllVersionsOf()

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

Implements ResourceLoader.

◆ $vftable()

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