LeviLamina
Loading...
Searching...
No Matches
ColorFormat.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace mce { class Color; }
8// clang-format on
9
10namespace ColorFormat {
11// functions
12// NOLINTBEGIN
13MCNAPI_C ::std::string ColorCodeFromColor(::mce::Color const& color);
14
15MCNAPI_C ::mce::Color const* ColorFromChar(char colorCode);
16
17MCNAPI_C ::mce::Color const* ColorFromColorCode(::std::string const& colorCode);
18
19MCNAPI ::std::string_view const FormatCodeFromName(::std::string const& str);
20
21MCNAPI_C ::std::string NameFromFormatCode(::std::string const& formatCode);
22// NOLINTEND
23
24// static variables
25// NOLINTBEGIN
26constexpr inline std::string_view AQUA = "§b";
27
28constexpr inline std::string_view BLACK = "§0";
29
30constexpr inline std::string_view BLUE = "§9";
31
32constexpr inline std::string_view BOLD = "§l";
33
34constexpr inline std::string_view DARK_AQUA = "§3";
35
36constexpr inline std::string_view DARK_BLUE = "§1";
37
38constexpr inline std::string_view DARK_GRAY = "§8";
39
40constexpr inline std::string_view DARK_GREEN = "§2";
41
42constexpr inline std::string_view DARK_PURPLE = "§5";
43
44constexpr inline std::string_view DARK_RED = "§4";
45
46constexpr inline std::string_view ESCAPE = "§";
47
48constexpr inline std::string_view GOLD = "§6";
49
50constexpr inline std::string_view GRAY = "§7";
51
52constexpr inline std::string_view GREEN = "§a";
53
54constexpr inline std::string_view ITALIC = "§o";
55
56constexpr inline std::string_view LIGHT_PURPLE = "§d";
57
58constexpr inline std::string_view MATERIAL_AMETHYST = "§u";
59
60constexpr inline std::string_view MATERIAL_COPPER = "§n";
61
62constexpr inline std::string_view MATERIAL_DIAMOND = "§s";
63
64constexpr inline std::string_view MATERIAL_EMERALD = "§q";
65
66constexpr inline std::string_view MATERIAL_GOLD = "§p";
67
68constexpr inline std::string_view MATERIAL_IRON = "§i";
69
70constexpr inline std::string_view MATERIAL_LAPIS = "§t";
71
72constexpr inline std::string_view MATERIAL_NETHERITE = "§j";
73
74constexpr inline std::string_view MATERIAL_QUARTZ = "§h";
75
76constexpr inline std::string_view MATERIAL_REDSTONE = "§m";
77
78constexpr inline std::string_view MATERIAL_RESIN = "§v";
79
80constexpr inline std::string_view MINECOIN_GOLD = "§g";
81
82constexpr inline std::string_view OBFUSCATED = "§k";
83
84constexpr inline std::string_view RED = "§c";
85
86constexpr inline std::string_view RESET = "§r";
87
88constexpr inline std::string_view WHITE = "§f";
89
90constexpr inline std::string_view YELLOW = "§e";
91// NOLINTEND
92
93} // namespace ColorFormat
Definition Color.h:13