blob: acc6af12246445cce9543b239d872ab7344b70da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include <optional>
#include <string>
namespace bot::schemas {
enum EventType { LIVE, OFFLINE, TITLE, GAME, GITHUB = 10, CUSTOM = 99 };
EventType string_to_event_type(const std::string &type);
std::string event_type_to_string(const int &type);
enum EventFlag { MASSPING };
std::optional<int> string_to_event_flag(const std::string &type);
std::optional<std::string> event_flag_to_string(const int &type);
}
|