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 &, ::std::string &) const =0
virtual bool load (::ResourceLocation const &, ::std::string &, ::gsl::span<::std::string const >) const =0
virtual bool load (::ResourceLocationPair const &resourceLocation, ::std::string &resourceStream, ::gsl::span<::std::string const > extensions) const
virtual bool loadText (::ResourceLocation const &resourceLocation, ::std::string &resourceStream) const
virtual ::std::vector<::LoadedResourceDataloadAllVersionsOf (::ResourceLocation const &) const =0
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 > 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

◆ $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: