20 using ResourceFileExtensionSetType = ::gsl::span<::std::string const>;
25 ::ll::TypedStorage<8, 64, ::std::function<::Core::PathBuffer<::std::string>()>> mGetPath;
33 virtual bool load(
::ResourceLocation const& resourceLocation, ::std::string& resourceStream)
const = 0;
37 ::std::string& resourceStream,
38 ::gsl::span<::std::string const> extensionList
43 ::std::string& resourceStream,
44 ::gsl::span<::std::string const> extensions
47 virtual bool loadText(
::ResourceLocation const& resourceLocation, ::std::string& resourceStream)
const;
49 virtual ::std::vector<::LoadedResourceData> loadAllVersionsOf(
::ResourceLocation const& resourceLocation)
const = 0;
52 virtual ::mce::Image loadTexture(
::ResourceLocation const& resourceLocation)
const = 0;
57 virtual bool isInStreamableLocation(
59 ::gsl::span<::std::string const> extensions
62 virtual ::Core::PathBuffer<::std::string> getPath(
::ResourceLocation const& resourceLocation)
const;
64 virtual ::Core::PathBuffer<::std::string>
65 getPath(
::ResourceLocation const& resourceLocation, ::gsl::span<::std::string const> extensions)
const;
67 virtual ::Core::PathBuffer<::std::string>
70 virtual ::Core::PathBuffer<::std::string> getPathContainingResource(
72 ::gsl::span<::std::string const> extensions
75 virtual ::std::pair<int, ::std::string_view> getPackStackIndexOfResource(
77 ::gsl::span<::std::string const> extensions
92 ::std::string& resourceStream,
93 ::gsl::span<::std::string const> extensions
96 MCFOLD
bool $loadText(
::ResourceLocation const& resourceLocation, ::std::string& resourceStream)
const;
100 MCFOLD
bool $isInStreamableLocation(
102 ::gsl::span<::std::string const> extensions
105 MCAPI ::Core::PathBuffer<::std::string> $getPath(
::ResourceLocation const& resourceLocation)
const;
107 MCFOLD ::Core::PathBuffer<::std::string>
108 $getPath(
::ResourceLocation const& resourceLocation, ::gsl::span<::std::string const> extensions)
const;
110 MCFOLD ::Core::PathBuffer<::std::string>
113 MCFOLD ::Core::PathBuffer<::std::string> $getPathContainingResource(
115 ::gsl::span<::std::string const> extensions
118 MCAPI ::std::pair<int, ::std::string_view> $getPackStackIndexOfResource(
120 ::gsl::span<::std::string const> extensions