summaryrefslogtreecommitdiff
path: root/src/discord/voicestateflags.hpp
blob: 01fb7620ad0bedd5e52a6cad6ee8a1508607b0df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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,
};

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