aegis.cpp
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Pages
ready.hpp
1 //
2 // ready.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 
11 #pragma once
12 
13 #include "aegis/config.hpp"
14 #include "aegis/fwd.hpp"
15 #include "aegis/gateway/objects/user.hpp"
16 #include "aegis/gateway/objects/channel.hpp"
17 #include "aegis/gateway/objects/guild.hpp"
18 
19 namespace aegis
20 {
21 
22 namespace gateway
23 {
24 
25 namespace events
26 {
27 
30 struct ready
31 {
33  int8_t v = 0;
35  std::vector<objects::channel> private_channels;
36  std::vector<objects::guild> guilds;
37  std::string session_id;
38  std::vector<std::string> _trace;
39 };
40 
41 }
42 
43 }
44 
45 }
Definition: user.hpp:35
objects::user user
Definition: ready.hpp:34
std::string session_id
Definition: ready.hpp:37
Definition: ready.hpp:30
int8_t v
Definition: ready.hpp:33
std::vector< std::string > _trace
Definition: ready.hpp:38
std::vector< objects::channel > private_channels
Definition: ready.hpp:35
shards::shard & shard
Definition: ready.hpp:32
Tracks websocket shards and their connections.
Definition: shard.hpp:42
std::vector< objects::guild > guilds
Definition: ready.hpp:36