aegis.cpp
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Pages
guild_member_update.hpp
1 //
2 // guild_member_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 #include "aegis/gateway/objects/user.hpp"
16 
17 
18 namespace aegis
19 {
20 
21 namespace gateway
22 {
23 
24 namespace events
25 {
26 
29 {
33  std::vector<snowflake> roles;
34  std::string nick;
35 };
36 
37 }
38 
39 }
40 
41 }
Stores creation time and extra data specific to Discord for entities.
Definition: snowflake.hpp:21
Definition: user.hpp:35
snowflake guild_id
Definition: guild_member_update.hpp:32
Sent when a guild member is updated.
Definition: guild_member_update.hpp:28
objects::user user
Definition: guild_member_update.hpp:31
shards::shard & shard
Definition: guild_member_update.hpp:30
std::vector< snowflake > roles
Definition: guild_member_update.hpp:33
std::string nick
Definition: guild_member_update.hpp:34
Tracks websocket shards and their connections.
Definition: shard.hpp:42