aegis.cpp
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Pages
voice_state_update.hpp
1 //
2 // voice_state_update.hpp
3 // **********************
4 //
5 // Copyright (c) 2019 Sharon W (sharon at aegis dot gg)
6 //
7 // Distributed under the MIT License. (See accompanying file LICENSE)
8 //
9 
10 #pragma once
11 
12 #include "aegis/config.hpp"
13 #include "aegis/fwd.hpp"
14 #include "aegis/snowflake.hpp"
15 
16 namespace aegis
17 {
18 
19 namespace gateway
20 {
21 
22 namespace events
23 {
24 
28 {
30  snowflake guild_id = 0;
31  snowflake channel_id = 0;
32  snowflake user_id = 0;
33  std::string session_id;
34  bool deaf = false;
35  bool mute = false;
36  bool self_deaf = false;
37  bool self_mute = false;
38  bool suppress = false;
39  bool self_stream = false;
40 };
41 
42 }
43 
44 }
45 
46 }
Stores creation time and extra data specific to Discord for entities.
Definition: snowflake.hpp:21
Definition: voice_state_update.hpp:27
shards::shard & shard
Definition: voice_state_update.hpp:29
Tracks websocket shards and their connections.
Definition: shard.hpp:42