Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
ResourceLoaders.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/image/ImageFormat.h"
7
#include "mc/deps/core/resource/ResourceFileSystem.h"
8
#include "mc/deps/core/resource/ResourceFileType.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
BackwardsCompatTextureGroup
;
13
class
ResourceLoader
;
14
class
ResourceLocation
;
15
namespace
mce {
struct
Image
; }
16
// clang-format on
17
18
namespace
ResourceLoaders {
19
// functions
20
// NOLINTBEGIN
21
#ifdef LL_PLAT_C
22
MCNAPI ::std::string encodeBase64(::ResourceLocation
const
& resourceLocation);
23
24
MCNAPI ::gsl::span<::std::string const> getFileTypeExtensions(::ResourceLoaders::ResourceFileType fileType);
25
26
MCNAPI ::ResourceLocation getRawResourceLocation(::ResourceLocation
const
& resourceLocation);
27
28
MCNAPI ::nonstd::expected<::mce::Image, ::std::error_condition> loadImageWithoutExtension(
29
::ResourceLocation
const
& imageResourceLocation,
30
::std::optional<::mce::ImageFormat> desiredImageFormat,
31
bool
splitAsArray
32
);
33
#endif
34
// NOLINTEND
35
36
// static variables
37
// NOLINTBEGIN
38
#ifdef LL_PLAT_C
39
MCNAPI ::std::string
const
& IMGEXT_PNG();
40
#endif
41
42
MCNAPI ::BackwardsCompatTextureGroup& backCompatGroup();
43
44
MCNAPI ::std::map<::ResourceFileSystem, ::std::unique_ptr<::ResourceLoader>>& loaders();
45
// NOLINTEND
46
47
}
// namespace ResourceLoaders
BackwardsCompatTextureGroup
Definition
BackwardsCompatTextureGroup.h:11
ResourceLoader
Definition
ResourceLoader.h:16
ResourceLocation
Definition
ResourceLocation.h:15
mce::Image
Definition
Image.h:13
src
mc
deps
core
resource
ResourceLoaders.h
Generated on
for LeviLamina by
1.16.1