summaryrefslogtreecommitdiff
path: root/src/discord/voicestateflags.hpp
blob: e725d9a9fc64e17da8701fb8fc374e17dfa5b4d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once
#include <cstdint>
#include "misc/bitwise.hpp"

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,
    Suppressed = 1 << 6,
};

template<>
struct Bitwise<VoiceStateFlags> {
    static const bool enable = true;
};