20 using ResourceFileExtensionSetType = ::gsl::span<::std::string const>;
25 ::ll::TypedStorage<8, 64, ::std::function<::Core::PathBuffer<::std::string>()>> mGetPath;
35 virtual bool load(
::ResourceLocation const&, ::std::string&, ::gsl::span<::std::string const>)
const = 0;
39 ::std::string& resourceStream,
40 ::gsl::span<::std::string const> extensions
43 virtual bool loadText(
::ResourceLocation const& resourceLocation, ::std::string& resourceStream)
const;
45 virtual ::std::vector<::LoadedResourceData> loadAllVersionsOf(
::ResourceLocation const&)
const = 0;
53 virtual bool isInStreamableLocation(
55 ::gsl::span<::std::string const> extensions
58 virtual ::Core::PathBuffer<::std::string> getPath(
::ResourceLocation const& resourceLocation)
const;
60 virtual ::Core::PathBuffer<::std::string>
61 getPath(
::ResourceLocation const& resourceLocation, ::gsl::span<::std::string const> extensions)
const;
63 virtual ::Core::PathBuffer<::std::string>
66 virtual ::Core::PathBuffer<::std::string> getPathContainingResource(
68 ::gsl::span<::std::string const> extensions
71 virtual ::std::pair<int, ::std::string_view> getPackStackIndexOfResource(
73 ::gsl::span<::std::string const> extensions
88 ::std::string& resourceStream,
89 ::gsl::span<::std::string const> extensions
92 MCFOLD
bool $loadText(
::ResourceLocation const& resourceLocation, ::std::string& resourceStream)
const;
96 MCFOLD
bool $isInStreamableLocation(
98 ::gsl::span<::std::string const> extensions
101 MCAPI ::Core::PathBuffer<::std::string> $getPath(
::ResourceLocation const& resourceLocation)
const;
103 MCFOLD ::Core::PathBuffer<::std::string>
104 $getPath(
::ResourceLocation const& resourceLocation, ::gsl::span<::std::string const> extensions)
const;
106 MCFOLD ::Core::PathBuffer<::std::string>
109 MCFOLD ::Core::PathBuffer<::std::string> $getPathContainingResource(
111 ::gsl::span<::std::string const> extensions
114 MCAPI ::std::pair<int, ::std::string_view> $getPackStackIndexOfResource(
116 ::gsl::span<::std::string const> extensions