summaryrefslogtreecommitdiff
path: root/src/discord/voicestateflags.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/discord/voicestateflags.hpp')
-rw-r--r--src/discord/voicestateflags.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/discord/voicestateflags.hpp b/src/discord/voicestateflags.hpp
new file mode 100644
index 0000000..e369001
--- /dev/null
+++ b/src/discord/voicestateflags.hpp
@@ -0,0 +1,17 @@
+#pragma once
+#include <cstdint>
+
+enum class VoiceStateFlags : uint8_t {
+ Clear = 0,
+ Deaf = 1 << 0,
+ Mute = 1 << 1,
+ SelfDeaf = 1 << 2,
+ SelfMute = 1 << 3,
+ SelfStream = 1 << 4,
+ SelfVideo = 1 << 5,
+};
+
+template<>
+struct Bitwise<VoiceStateFlags> {
+ static const bool enable = true;
+};