summaryrefslogtreecommitdiff
path: root/bot/src/schemas/stream.hpp
blob: 5c90872928918f603a223b00bc15c2110bc5a505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#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);

}