VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
ChatColors.hpp File Reference
#include <VoltMod/Core/Text/Labeled.hpp>
#include <array>
#include <functional>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

struct  VoltMod::ChatColors::NamedColor
 

Namespaces

namespace  VoltMod
 
namespace  VoltMod::ChatColors
 

Functions

std::string_view VoltMod::ChatColors::ParseNamed (std::string_view name)
 
std::string VoltMod::ChatColors::Strip (std::string_view text)
 
std::vector< Labeled< std::string > > VoltMod::ChatColors::PaletteChoices (std::function< std::string(std::string_view canonicalName)> labelFor)
 

Variables

constexpr std::string_view VoltMod::ChatColors::Default = "\x01"
 
constexpr std::string_view VoltMod::ChatColors::White = "\x01"
 
constexpr std::string_view VoltMod::ChatColors::DarkRed = "\x02"
 
constexpr std::string_view VoltMod::ChatColors::LightPurple = "\x03"
 
constexpr std::string_view VoltMod::ChatColors::Green = "\x04"
 
constexpr std::string_view VoltMod::ChatColors::Olive = "\x05"
 
constexpr std::string_view VoltMod::ChatColors::Lime = "\x06"
 
constexpr std::string_view VoltMod::ChatColors::Red = "\x07"
 
constexpr std::string_view VoltMod::ChatColors::Gray = "\x08"
 
constexpr std::string_view VoltMod::ChatColors::Grey = "\x08"
 
constexpr std::string_view VoltMod::ChatColors::Yellow = "\x09"
 
constexpr std::string_view VoltMod::ChatColors::LightYellow = "\x09"
 
constexpr std::string_view VoltMod::ChatColors::Silver = "\x0A"
 
constexpr std::string_view VoltMod::ChatColors::BlueGrey = "\x0A"
 
constexpr std::string_view VoltMod::ChatColors::LightBlue = "\x0B"
 
constexpr std::string_view VoltMod::ChatColors::Blue = "\x0B"
 
constexpr std::string_view VoltMod::ChatColors::DarkBlue = "\x0C"
 
constexpr std::string_view VoltMod::ChatColors::Purple = "\x0E"
 
constexpr std::string_view VoltMod::ChatColors::Magenta = "\x0E"
 
constexpr std::string_view VoltMod::ChatColors::LightRed = "\x0F"
 
constexpr std::string_view VoltMod::ChatColors::Gold = "\x10"
 
constexpr std::string_view VoltMod::ChatColors::Orange = "\x10"
 
constexpr std::array< NamedColor, 15 > VoltMod::ChatColors::Palette