summaryrefslogtreecommitdiff
path: root/bot/src/schemas/stream.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-04-16 23:05:57 +0500
committerilotterytea <iltsu@alright.party>2025-04-16 23:05:57 +0500
commitd8142b4e20408e403a8e2b5706ed954bff37102f (patch)
treef8275205e75a30a7af005642971405c32a49ea40 /bot/src/schemas/stream.hpp
parent7c87855d589b6201962a26e4b9ee221f5700c0d7 (diff)
feat: event_flag to string and backwards
Diffstat (limited to 'bot/src/schemas/stream.hpp')
-rw-r--r--bot/src/schemas/stream.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/src/schemas/stream.hpp b/bot/src/schemas/stream.hpp
index 9763ba9..5c90872 100644
--- a/bot/src/schemas/stream.hpp
+++ b/bot/src/schemas/stream.hpp
@@ -8,5 +8,7 @@ namespace bot::schemas {
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);
}