dpp::guild_members_chunk_t
dpp::event_dispatch_t
dispatcher.h
guild guild dpp::guild_members_chunk_t::adding adding dpp::guild_members_chunk_t::adding

guild the members chunk is for

bool bool dpp::event_dispatch_t::cancelled cancelled dpp::event_dispatch_t::cancelled = false

Whether the event was cancelled using cancel_event().

guild_member_map guild_member_map dpp::guild_members_chunk_t::members members dpp::guild_members_chunk_t::members

list of members in the chunk

dpp::cluster * dpp::cluster* dpp::event_dispatch_t::owner owner dpp::event_dispatch_t::owner = nullptr

Cluster owning the event dispatch.

std::string std::string dpp::event_dispatch_t::raw_event raw_event dpp::event_dispatch_t::raw_event = {}

Raw event data. If you are using json on your websocket, this will contain json, and if you are using ETF as your websocket protocol, it will contain raw ETF data.

uint32_t uint32_t dpp::event_dispatch_t::shard shard dpp::event_dispatch_t::shard = 0

Shard the event came from.

event_dispatch_t & event_dispatch_t & dpp::event_dispatch_t::cancel_event () cancel_event dpp::event_dispatch_t::cancel_event

Cancels the event in progress. Any other attached lambdas for this event after this one are not called.

This will modify the event object in a non-thread-safe manner.

const event_dispatch_t& reference to self for chaining

const event_dispatch_t & const event_dispatch_t & dpp::event_dispatch_t::cancel_event () const cancel_event dpp::event_dispatch_t::cancel_event

Cancels the event in progress. Any other attached lambdas for this event after this one are not called.

This will modify the event object in a non-thread-safe manner.

const event_dispatch_t& reference to self for chaining

dpp::event_dispatch_t::event_dispatch_t
()=default
event_dispatch_t
dpp::guild_members_chunk_t::event_dispatch_t

Construct a new event_dispatch_t object.

dpp::event_dispatch_t::event_dispatch_t
(const event_dispatch_t &rhs)=default
event_dispatch_t
dpp::guild_members_chunk_t::event_dispatch_t
const event_dispatch_t & rhs

Construct a new event_dispatch_t object.

rhs

event_dispatch_t object to copy from

dpp::event_dispatch_t::event_dispatch_t
(dpp::cluster *creator, uint32_t shard_id, const std::string &raw)
event_dispatch_t
dpp::guild_members_chunk_t::event_dispatch_t
dpp::cluster * creator
uint32_t shard_id
const std::string & raw

Construct a new event_dispatch_t object.

shard_id

The shard the event originated on.

raw

Raw event data as JSON or ETF

dpp::event_dispatch_t::event_dispatch_t
(dpp::cluster *creator, uint32_t shard_id, std::string &&raw)
event_dispatch_t
dpp::guild_members_chunk_t::event_dispatch_t
dpp::cluster * creator
uint32_t shard_id
std::string && raw

Construct a new event_dispatch_t object.

shard_id

The shard the event originated on.

raw

Raw event data as JSON or ETF

dpp::event_dispatch_t::event_dispatch_t
(event_dispatch_t &&rhs)=default
event_dispatch_t
dpp::guild_members_chunk_t::event_dispatch_t
event_dispatch_t && rhs

Construct a new event_dispatch_t object.

rhs

event_dispatch_t object to move from

discord_client * discord_client * dpp::event_dispatch_t::from () const from dpp::event_dispatch_t::from

Returns the shard object for the events shard id.

discord client object

bool bool dpp::event_dispatch_t::is_cancelled () const is_cancelled dpp::event_dispatch_t::is_cancelled

Returns true if the event is cancelled. Note that event cancellation is a thread local state, and not stored in the object (because object which can be cancelled is `const` during the event, and cannot itself contain the changeable state).

true if the event is cancelled

event_dispatch_t & event_dispatch_t & dpp::event_dispatch_t::operator= (const event_dispatch_t &rhs)=default operator= dpp::guild_members_chunk_t::operator= const event_dispatch_t & rhs

Copy another event_dispatch_t object.

rhs

The event to copy from

event_dispatch_t & event_dispatch_t & dpp::event_dispatch_t::operator= (event_dispatch_t &&rhs)=default operator= dpp::guild_members_chunk_t::operator= event_dispatch_t && rhs

Move from another event_dispatch_t object.

rhs

The event to move from

Guild members chunk.

dpp::event_dispatch_t
dpp::guild_members_chunk_t
K
T
bool
cache_policy_setting_t
default_message_notification_t
double
dpp::cache_policy_t
channel_policy
emoji_policy
guild_policy
role_policy
user_policy
dpp::cluster
token
last_identify
cluster_id
intents
maxclusters
numshards
rest_ping
me
cache_policy
ws_mode
terminating
request_timeout
socketengine
on_voice_channel_effect_send
on_voice_state_update
on_voice_client_platform
on_voice_client_disconnect
on_voice_client_speaking
on_log
on_socket_close
on_guild_join_request_delete
on_interaction_create
on_slashcommand
on_button_click
on_autocomplete
on_select_click
on_message_context_menu
on_user_context_menu
on_form_submit
on_guild_delete
on_channel_delete
on_channel_update
on_ready
on_message_delete
on_guild_member_remove
on_resumed
on_guild_role_create
on_typing_start
on_message_reaction_add
on_guild_members_chunk
on_message_reaction_remove
on_guild_create
on_channel_create
on_message_reaction_remove_emoji
on_message_delete_bulk
on_guild_role_update
on_guild_role_delete
on_channel_pins_update
on_message_reaction_remove_all
on_voice_server_update
on_guild_emojis_update
on_guild_stickers_update
on_presence_update
on_webhooks_update
on_automod_rule_create
on_automod_rule_update
on_automod_rule_delete
on_automod_rule_execute
on_guild_member_add
on_invite_delete
on_guild_update
on_guild_integrations_update
on_guild_member_update
on_invite_create
on_message_update
on_user_update
on_message_create
on_message_poll_vote_add
on_message_poll_vote_remove
on_guild_audit_log_entry_create
on_guild_ban_add
on_guild_ban_remove
on_integration_create
on_integration_update
on_integration_delete
on_thread_create
on_thread_update
on_thread_delete
on_thread_list_sync
on_thread_member_update
on_thread_members_update
on_guild_scheduled_event_create
on_guild_scheduled_event_update
on_guild_scheduled_event_delete
on_guild_scheduled_event_user_add
on_guild_scheduled_event_user_remove
on_voice_buffer_send
on_voice_ready
on_voice_receive
on_voice_receive_combined
on_voice_track_marker
on_stage_instance_create
on_stage_instance_update
on_stage_instance_delete
on_entitlement_create
on_entitlement_update
on_entitlement_delete
dpp::event_dispatch_t
raw_event
shard
owner
cancelled
dpp::event_router_t< T >
dpp::event_router_t< dpp::autocomplete_t >
< dpp::autocomplete_t >
dpp::event_router_t< dpp::automod_rule_create_t >
< dpp::automod_rule_create_t >
dpp::event_router_t< dpp::automod_rule_delete_t >
< dpp::automod_rule_delete_t >
dpp::event_router_t< dpp::automod_rule_execute_t >
< dpp::automod_rule_execute_t >
dpp::event_router_t< dpp::automod_rule_update_t >
< dpp::automod_rule_update_t >
dpp::event_router_t< dpp::button_click_t >
< dpp::button_click_t >
dpp::event_router_t< dpp::channel_create_t >
< dpp::channel_create_t >
dpp::event_router_t< dpp::channel_delete_t >
< dpp::channel_delete_t >
dpp::event_router_t< dpp::channel_pins_update_t >
< dpp::channel_pins_update_t >
dpp::event_router_t< dpp::channel_update_t >
< dpp::channel_update_t >
dpp::event_router_t< dpp::entitlement_create_t >
< dpp::entitlement_create_t >
dpp::event_router_t< dpp::entitlement_delete_t >
< dpp::entitlement_delete_t >
dpp::event_router_t< dpp::entitlement_update_t >
< dpp::entitlement_update_t >
dpp::event_router_t< dpp::form_submit_t >
< dpp::form_submit_t >
dpp::event_router_t< dpp::guild_audit_log_entry_create_t >
< dpp::guild_audit_log_entry_create_t >
dpp::event_router_t< dpp::guild_ban_add_t >
< dpp::guild_ban_add_t >
dpp::event_router_t< dpp::guild_ban_remove_t >
< dpp::guild_ban_remove_t >
dpp::event_router_t< dpp::guild_create_t >
< dpp::guild_create_t >
dpp::event_router_t< dpp::guild_delete_t >
< dpp::guild_delete_t >
dpp::event_router_t< dpp::guild_emojis_update_t >
< dpp::guild_emojis_update_t >
dpp::event_router_t< dpp::guild_integrations_update_t >
< dpp::guild_integrations_update_t >
dpp::event_router_t< dpp::guild_join_request_delete_t >
< dpp::guild_join_request_delete_t >
dpp::event_router_t< dpp::guild_member_add_t >
< dpp::guild_member_add_t >
dpp::event_router_t< dpp::guild_member_remove_t >
< dpp::guild_member_remove_t >
dpp::event_router_t< dpp::guild_member_update_t >
< dpp::guild_member_update_t >
dpp::event_router_t< dpp::guild_members_chunk_t >
< dpp::guild_members_chunk_t >
dpp::event_router_t< dpp::guild_role_create_t >
< dpp::guild_role_create_t >
dpp::event_router_t< dpp::guild_role_delete_t >
< dpp::guild_role_delete_t >
dpp::event_router_t< dpp::guild_role_update_t >
< dpp::guild_role_update_t >
dpp::event_router_t< dpp::guild_scheduled_event_create_t >
< dpp::guild_scheduled_event_create_t >
dpp::event_router_t< dpp::guild_scheduled_event_delete_t >
< dpp::guild_scheduled_event_delete_t >
dpp::event_router_t< dpp::guild_scheduled_event_update_t >
< dpp::guild_scheduled_event_update_t >
dpp::event_router_t< dpp::guild_scheduled_event_user_add_t >
< dpp::guild_scheduled_event_user_add_t >
dpp::event_router_t< dpp::guild_scheduled_event_user_remove_t >
< dpp::guild_scheduled_event_user_remove_t >
dpp::event_router_t< dpp::guild_stickers_update_t >
< dpp::guild_stickers_update_t >
dpp::event_router_t< dpp::guild_update_t >
< dpp::guild_update_t >
dpp::event_router_t< dpp::integration_create_t >
< dpp::integration_create_t >
dpp::event_router_t< dpp::integration_delete_t >
< dpp::integration_delete_t >
dpp::event_router_t< dpp::integration_update_t >
< dpp::integration_update_t >
dpp::event_router_t< dpp::interaction_create_t >
< dpp::interaction_create_t >
dpp::event_router_t< dpp::invite_create_t >
< dpp::invite_create_t >
dpp::event_router_t< dpp::invite_delete_t >
< dpp::invite_delete_t >
dpp::event_router_t< dpp::log_t >
< dpp::log_t >
dpp::event_router_t< dpp::message_context_menu_t >
< dpp::message_context_menu_t >
dpp::event_router_t< dpp::message_create_t >
< dpp::message_create_t >
dpp::event_router_t< dpp::message_delete_bulk_t >
< dpp::message_delete_bulk_t >
dpp::event_router_t< dpp::message_delete_t >
< dpp::message_delete_t >
dpp::event_router_t< dpp::message_poll_vote_add_t >
< dpp::message_poll_vote_add_t >
dpp::event_router_t< dpp::message_poll_vote_remove_t >
< dpp::message_poll_vote_remove_t >
dpp::event_router_t< dpp::message_reaction_add_t >
< dpp::message_reaction_add_t >
dpp::event_router_t< dpp::message_reaction_remove_all_t >
< dpp::message_reaction_remove_all_t >
dpp::event_router_t< dpp::message_reaction_remove_emoji_t >
< dpp::message_reaction_remove_emoji_t >
dpp::event_router_t< dpp::message_reaction_remove_t >
< dpp::message_reaction_remove_t >
dpp::event_router_t< dpp::message_update_t >
< dpp::message_update_t >
dpp::event_router_t< dpp::presence_update_t >
< dpp::presence_update_t >
dpp::event_router_t< dpp::ready_t >
< dpp::ready_t >
dpp::event_router_t< dpp::resumed_t >
< dpp::resumed_t >
dpp::event_router_t< dpp::select_click_t >
< dpp::select_click_t >
dpp::event_router_t< dpp::slashcommand_t >
< dpp::slashcommand_t >
dpp::event_router_t< dpp::socket_close_t >
< dpp::socket_close_t >
dpp::event_router_t< dpp::stage_instance_create_t >
< dpp::stage_instance_create_t >
dpp::event_router_t< dpp::stage_instance_delete_t >
< dpp::stage_instance_delete_t >
dpp::event_router_t< dpp::stage_instance_update_t >
< dpp::stage_instance_update_t >
dpp::event_router_t< dpp::thread_create_t >
< dpp::thread_create_t >
dpp::event_router_t< dpp::thread_delete_t >
< dpp::thread_delete_t >
dpp::event_router_t< dpp::thread_list_sync_t >
< dpp::thread_list_sync_t >
dpp::event_router_t< dpp::thread_member_update_t >
< dpp::thread_member_update_t >
dpp::event_router_t< dpp::thread_members_update_t >
< dpp::thread_members_update_t >
dpp::event_router_t< dpp::thread_update_t >
< dpp::thread_update_t >
dpp::event_router_t< dpp::typing_start_t >
< dpp::typing_start_t >
dpp::event_router_t< dpp::user_context_menu_t >
< dpp::user_context_menu_t >
dpp::event_router_t< dpp::user_update_t >
< dpp::user_update_t >
dpp::event_router_t< dpp::voice_buffer_send_t >
< dpp::voice_buffer_send_t >
dpp::event_router_t< dpp::voice_channel_effect_send_t >
< dpp::voice_channel_effect_send_t >
dpp::event_router_t< dpp::voice_client_disconnect_t >
< dpp::voice_client_disconnect_t >
dpp::event_router_t< dpp::voice_client_platform_t >
< dpp::voice_client_platform_t >
dpp::event_router_t< dpp::voice_client_speaking_t >
< dpp::voice_client_speaking_t >
dpp::event_router_t< dpp::voice_ready_t >
< dpp::voice_ready_t >
dpp::event_router_t< dpp::voice_receive_t >
< dpp::voice_receive_t >
dpp::event_router_t< dpp::voice_server_update_t >
< dpp::voice_server_update_t >
dpp::event_router_t< dpp::voice_state_update_t >
< dpp::voice_state_update_t >
dpp::event_router_t< dpp::voice_track_marker_t >
< dpp::voice_track_marker_t >
dpp::event_router_t< dpp::webhooks_update_t >
< dpp::webhooks_update_t >
dpp::guild
description
name
vanity_url_code
channels
emojis
roles
threads
voice_members
members
welcome_screen
banner
discovery_splash
icon
splash
afk_channel_id
application_id
owner_id
public_updates_channel_id
rules_channel_id
safety_alerts_channel_id
system_channel_id
widget_channel_id
flags
max_members
max_presences
member_count
flags_extra
premium_subscription_count
shard_id
afk_timeout
max_video_channel_users
default_message_notifications
premium_tier
verification_level
explicit_content_filter
mfa_level
nsfw_level
dpp::guild_members_chunk_t
adding
members
dpp::json_interface< T >
dpp::json_interface< guild >
< guild >
dpp::json_interface< user >
< user >
dpp::json_interface< voicestate >
< voicestate >
dpp::json_interface< welcome_channel >
< welcome_channel >
dpp::json_interface< welcome_screen >
< welcome_screen >
dpp::managed
id
dpp::snowflake
value
dpp::socket_engine_base
owner
fds_mutex
fds
stats
dpp::socket_stats
active_fds
deletions
errors
iterations
reads
updates
writes
engine_type
dpp::user
global_name
username
avatar
avatar_decoration
primary_guild
flags
discriminator
refcount
dpp::utility::icon
hash_or_data
dpp::utility::iconhash
first
second
dpp::utility::primaryguild
id
enabled
tag
badge
dpp::voicestate
shard_id
channel_id
guild_id
user_id
session_id
flags
request_to_speak
dpp::welcome_channel
description
emoji_name
channel_id
emoji_id
dpp::welcome_screen
description
welcome_channels
guild_afk_timeout_t
guild_explicit_content_t
guild_nsfw_level_t
guild_premium_tier_t
int32_t
mfa_level_t
atomic_bool
std::basic_string< Char >
std::basic_string_view< Char >
std::map< K, T >
keys
elements
std::map< dpp::snowflake, dpp::voicestate >
keys
elements
< dpp::snowflake, dpp::voicestate >
std::shared_mutex
std::string
std::string_view
std::unique_ptr< T >
ptr
std::unique_ptr< dpp::socket_engine_base >
ptr
< dpp::socket_engine_base >
std::unordered_map< K, T >
keys
elements
std::unordered_map< dpp::socket, std::unique_ptr< socket_events > >
< dpp::socket, std::unique_ptr< socket_events > >
std::unordered_map< snowflake, guild_member >
< snowflake, guild_member >
variant< std::monostate, dpp::utility::iconhash, dpp::utility::image_data >
std::vector< T >
elements
std::vector< dpp::snowflake >
elements
< dpp::snowflake >
std::vector< dpp::welcome_channel >
elements
< dpp::welcome_channel >
time_t
uint16_t
uint32_t
uint64_t
uint8_t
verification_level_t
websocket_protocol_t
- dpp::guild_members_chunk_t
  adding
- dpp::guild_members_chunk_t
  cancel_event
- dpp::guild_members_chunk_t
  cancel_event
- dpp::guild_members_chunk_t
  cancelled
- dpp::guild_members_chunk_t
  event_dispatch_t
- dpp::guild_members_chunk_t
  event_dispatch_t
- dpp::guild_members_chunk_t
  event_dispatch_t
- dpp::guild_members_chunk_t
  event_dispatch_t
- dpp::guild_members_chunk_t
  event_dispatch_t
- dpp::guild_members_chunk_t
  from
- dpp::guild_members_chunk_t
  is_cancelled
- dpp::guild_members_chunk_t
  members
- dpp::guild_members_chunk_t
  operator=
- dpp::guild_members_chunk_t
  operator=
- dpp::guild_members_chunk_t
  owner
- dpp::guild_members_chunk_t
  raw_event
- dpp::guild_members_chunk_t
  shard
- dpp::guild_members_chunk_t
  ~event_dispatch_t