summaryrefslogtreecommitdiff
path: root/src/discord/voicestateflags.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-05-19 20:20:33 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2023-05-19 20:20:33 -0400
commit3e67e8a7aeb265914d538314b17f36a988017081 (patch)
tree42e6830f3bf9c7bacde92d75be961c591ef2732a /src/discord/voicestateflags.hpp
parent0a1138fbd025da2c3f28cec73f823d9274ebc4db (diff)
downloadabaddon-portaudio-3e67e8a7aeb265914d538314b17f36a988017081.tar.gz
abaddon-portaudio-3e67e8a7aeb265914d538314b17f36a988017081.zip
add voice state icons to participant rows
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;
+};