blob: 357d476755a1bfad81c41d82155eb82a35fc7cbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#pragma once
#include <optional>
#include <string>
namespace bot::schemas {
enum EventType {
LIVE,
OFFLINE,
TITLE,
GAME,
STV_EMOTE_CREATE = 10,
STV_EMOTE_DELETE = 11,
STV_EMOTE_UPDATE = 12,
GITHUB = 40,
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);
}
|