D++ (DPP)
C++ Discord API Bot Library
|
The dispatcher class contains a set of std::functions representing hooked events that the user code is interested in. These are modified via the on_eventname style methods in the cluster class. More...
#include <dispatcher.h>
Public Attributes | |
std::function< void(const log_t &event)> | log |
Event handler function pointer for log event. More... | |
std::function< void(const voice_state_update_t &event)> | voice_state_update |
Event handler function pointer for voice state update event. More... | |
std::function< void(const interaction_create_t &event)> | interaction_create |
Event handler function pointer for interaction create event. More... | |
std::function< void(const guild_delete_t &event)> | guild_delete |
Event handler function pointer for guild delete event. More... | |
std::function< void(const channel_delete_t &event)> | channel_delete |
Event handler function pointer for channel delete event. More... | |
std::function< void(const channel_update_t &event)> | channel_update |
Event handler function pointer for channel update event. More... | |
std::function< void(const ready_t &event)> | ready |
Event handler function pointer for ready event. More... | |
std::function< void(const message_delete_t &event)> | message_delete |
Event handler function pointer for message delete event. More... | |
std::function< void(const application_command_delete_t &event)> | application_command_delete |
Event handler function pointer for application command delete event. More... | |
std::function< void(const guild_member_remove_t &event)> | guild_member_remove |
Event handler function pointer for guild member remove event. More... | |
std::function< void(const application_command_create_t &event)> | application_command_create |
Event handler function pointer for guild member remove event. More... | |
std::function< void(const resumed_t &event)> | resumed |
Event handler function pointer for resumed event. More... | |
std::function< void(const guild_role_create_t &event)> | guild_role_create |
Event handler function pointer for guild role create event. More... | |
std::function< void(const typing_start_t &event)> | typing_start |
Event handler function pointer for typing start event. More... | |
std::function< void(const message_reaction_add_t &event)> | message_reaction_add |
Event handler function pointer for message reaction add event. More... | |
std::function< void(const guild_members_chunk_t &event)> | guild_members_chunk |
Event handler function pointer for guild members chunk event. More... | |
std::function< void(const message_reaction_remove_t &event)> | message_reaction_remove |
Event handler function pointer for message reaction remove event. More... | |
std::function< void(const guild_create_t &event)> | guild_create |
Event handler function pointer for guild create event. More... | |
std::function< void(const channel_create_t &event)> | channel_create |
Event handler function pointer for guild channel create event. More... | |
std::function< void(const message_reaction_remove_emoji_t &event)> | message_reaction_remove_emoji |
Event handler function pointer for message reaction remove emoji event. More... | |
std::function< void(const message_delete_bulk_t &event)> | message_delete_bulk |
Event handler function pointer for message delete bulk event. More... | |
std::function< void(const guild_role_update_t &event)> | guild_role_update |
Event handler function pointer for guild role update event. More... | |
std::function< void(const guild_role_delete_t &event)> | guild_role_delete |
Event handler function pointer for guild role delete event. More... | |
std::function< void(const channel_pins_update_t &event)> | channel_pins_update |
Event handler function pointer for channel pins update event. More... | |
std::function< void(const message_reaction_remove_all_t &event)> | message_reaction_remove_all |
Event handler function pointer for message reaction remove all event. More... | |
std::function< void(const voice_server_update_t &event)> | voice_server_update |
Event handler function pointer for voice server update event. More... | |
std::function< void(const guild_emojis_update_t &event)> | guild_emojis_update |
Event handler function pointer for guild emojis update event. More... | |
std::function< void(const presence_update_t &event)> | presence_update |
Event handler function pointer for presence update event. More... | |
std::function< void(const webhooks_update_t &event)> | webhooks_update |
Event handler function pointer for webhooks update event. More... | |
std::function< void(const guild_member_add_t &event)> | guild_member_add |
Event handler function pointer for guild member add event. More... | |
std::function< void(const invite_delete_t &event)> | invite_delete |
Event handler function pointer for invite delete event. More... | |
std::function< void(const guild_update_t &event)> | guild_update |
Event handler function pointer for guild update event. More... | |
std::function< void(const guild_integrations_update_t &event)> | guild_integrations_update |
Event handler function pointer for guild integrations update event. More... | |
std::function< void(const guild_member_update_t &event)> | guild_member_update |
Event handler function pointer for guild member update event. More... | |
std::function< void(const application_command_update_t &event)> | application_command_update |
Event handler function pointer for application command update event. More... | |
std::function< void(const invite_create_t &event)> | invite_create |
Event handler function pointer for invite create event. More... | |
std::function< void(const message_update_t &event)> | message_update |
Event handler function pointer for message update event. More... | |
std::function< void(const user_update_t &event)> | user_update |
Event handler function pointer for user update event. More... | |
std::function< void(const message_create_t &event)> | message_create |
Event handler function pointer for message create event. More... | |
std::function< void(const guild_ban_add_t &event)> | guild_ban_add |
Event handler function pointer for guild ban add event. More... | |
std::function< void(const guild_ban_remove_t &event)> | guild_ban_remove |
Event handler function pointer for guild ban remove event. More... | |
std::function< void(const integration_create_t &event)> | integration_create |
Event handler function pointer for integration create event. More... | |
std::function< void(const integration_update_t &event)> | integration_update |
Event handler function pointer for integration update event. More... | |
std::function< void(const integration_delete_t &event)> | integration_delete |
Event handler function pointer for integration delete event. More... | |
std::function< void(const voice_buffer_send_t &event)> | voice_buffer_send |
Event handler function pointer for voice buffer send event. More... | |
std::function< void(const voice_user_talking_t &event)> | voice_user_talking |
Event handler function pointer for voice user talking event. More... | |
std::function< void(const voice_ready_t &event)> | voice_ready |
Event handler function pointer for voice ready event. More... | |
std::function< void(const voice_receive_t &event)> | voice_receive |
Event handler function pointer for voice receieve event. More... | |
std::function< void(const voice_track_marker_t &event)> | voice_track_marker |
Event handler function pointer for voice track marker event. More... | |
std::function< void(const guild_join_request_delete_t &event)> | guild_join_request_delete |
Event handler function pointer for guild join request delete event. More... | |
std::function< void(const stage_instance_create_t &event)> | stage_instance_create |
Event handler function pointer for stage instance create event. More... | |
std::function< void(const stage_instance_delete_t &event)> | stage_instance_delete |
Event handler function pointer for stage instance delete event. More... | |
The dispatcher class contains a set of std::functions representing hooked events that the user code is interested in. These are modified via the on_eventname style methods in the cluster class.
std::function<void(const application_command_create_t& event)> dpp::dispatcher::application_command_create |
Event handler function pointer for guild member remove event.
event | Event parameters |
std::function<void(const application_command_delete_t& event)> dpp::dispatcher::application_command_delete |
Event handler function pointer for application command delete event.
event | Event parameters |
std::function<void(const application_command_update_t& event)> dpp::dispatcher::application_command_update |
Event handler function pointer for application command update event.
event | Event parameters |
std::function<void(const channel_create_t& event)> dpp::dispatcher::channel_create |
Event handler function pointer for guild channel create event.
event | Event parameters |
std::function<void(const channel_delete_t& event)> dpp::dispatcher::channel_delete |
Event handler function pointer for channel delete event.
event | Event parameters |
std::function<void(const channel_pins_update_t& event)> dpp::dispatcher::channel_pins_update |
Event handler function pointer for channel pins update event.
event | Event parameters |
std::function<void(const channel_update_t& event)> dpp::dispatcher::channel_update |
Event handler function pointer for channel update event.
event | Event parameters |
std::function<void(const guild_ban_add_t& event)> dpp::dispatcher::guild_ban_add |
Event handler function pointer for guild ban add event.
event | Event parameters |
std::function<void(const guild_ban_remove_t& event)> dpp::dispatcher::guild_ban_remove |
Event handler function pointer for guild ban remove event.
event | Event parameters |
std::function<void(const guild_create_t& event)> dpp::dispatcher::guild_create |
Event handler function pointer for guild create event.
event | Event parameters |
std::function<void(const guild_delete_t& event)> dpp::dispatcher::guild_delete |
Event handler function pointer for guild delete event.
event | Event parameters |
std::function<void(const guild_emojis_update_t& event)> dpp::dispatcher::guild_emojis_update |
Event handler function pointer for guild emojis update event.
event | Event parameters |
std::function<void(const guild_integrations_update_t& event)> dpp::dispatcher::guild_integrations_update |
Event handler function pointer for guild integrations update event.
event | Event parameters |
std::function<void(const guild_join_request_delete_t& event)> dpp::dispatcher::guild_join_request_delete |
Event handler function pointer for guild join request delete event.
event | Event parameters |
std::function<void(const guild_member_add_t& event)> dpp::dispatcher::guild_member_add |
Event handler function pointer for guild member add event.
event | Event parameters |
std::function<void(const guild_member_remove_t& event)> dpp::dispatcher::guild_member_remove |
Event handler function pointer for guild member remove event.
event | Event parameters |
std::function<void(const guild_member_update_t& event)> dpp::dispatcher::guild_member_update |
Event handler function pointer for guild member update event.
event | Event parameters |
std::function<void(const guild_members_chunk_t& event)> dpp::dispatcher::guild_members_chunk |
Event handler function pointer for guild members chunk event.
event | Event parameters |
std::function<void(const guild_role_create_t& event)> dpp::dispatcher::guild_role_create |
Event handler function pointer for guild role create event.
event | Event parameters |
std::function<void(const guild_role_delete_t& event)> dpp::dispatcher::guild_role_delete |
Event handler function pointer for guild role delete event.
event | Event parameters |
std::function<void(const guild_role_update_t& event)> dpp::dispatcher::guild_role_update |
Event handler function pointer for guild role update event.
event | Event parameters |
std::function<void(const guild_update_t& event)> dpp::dispatcher::guild_update |
Event handler function pointer for guild update event.
event | Event parameters |
std::function<void(const integration_create_t& event)> dpp::dispatcher::integration_create |
Event handler function pointer for integration create event.
event | Event parameters |
std::function<void(const integration_delete_t& event)> dpp::dispatcher::integration_delete |
Event handler function pointer for integration delete event.
event | Event parameters |
std::function<void(const integration_update_t& event)> dpp::dispatcher::integration_update |
Event handler function pointer for integration update event.
event | Event parameters |
std::function<void(const interaction_create_t& event)> dpp::dispatcher::interaction_create |
Event handler function pointer for interaction create event.
event | Event parameters |
std::function<void(const invite_create_t& event)> dpp::dispatcher::invite_create |
Event handler function pointer for invite create event.
event | Event parameters |
std::function<void(const invite_delete_t& event)> dpp::dispatcher::invite_delete |
Event handler function pointer for invite delete event.
event | Event parameters |
std::function<void(const log_t& event)> dpp::dispatcher::log |
Event handler function pointer for log event.
event | Event parameters |
std::function<void(const message_create_t& event)> dpp::dispatcher::message_create |
Event handler function pointer for message create event.
event | Event parameters |
std::function<void(const message_delete_t& event)> dpp::dispatcher::message_delete |
Event handler function pointer for message delete event.
event | Event parameters |
std::function<void(const message_delete_bulk_t& event)> dpp::dispatcher::message_delete_bulk |
Event handler function pointer for message delete bulk event.
event | Event parameters |
std::function<void(const message_reaction_add_t& event)> dpp::dispatcher::message_reaction_add |
Event handler function pointer for message reaction add event.
event | Event parameters |
std::function<void(const message_reaction_remove_t& event)> dpp::dispatcher::message_reaction_remove |
Event handler function pointer for message reaction remove event.
event | Event parameters |
std::function<void(const message_reaction_remove_all_t& event)> dpp::dispatcher::message_reaction_remove_all |
Event handler function pointer for message reaction remove all event.
event | Event parameters |
std::function<void(const message_reaction_remove_emoji_t& event)> dpp::dispatcher::message_reaction_remove_emoji |
Event handler function pointer for message reaction remove emoji event.
event | Event parameters |
std::function<void(const message_update_t& event)> dpp::dispatcher::message_update |
Event handler function pointer for message update event.
event | Event parameters |
std::function<void(const presence_update_t& event)> dpp::dispatcher::presence_update |
Event handler function pointer for presence update event.
event | Event parameters |
std::function<void(const ready_t& event)> dpp::dispatcher::ready |
Event handler function pointer for ready event.
event | Event parameters |
std::function<void(const resumed_t& event)> dpp::dispatcher::resumed |
Event handler function pointer for resumed event.
event | Event parameters |
std::function<void(const stage_instance_create_t& event)> dpp::dispatcher::stage_instance_create |
Event handler function pointer for stage instance create event.
event | Event parameters |
std::function<void(const stage_instance_delete_t& event)> dpp::dispatcher::stage_instance_delete |
Event handler function pointer for stage instance delete event.
event | Event parameters |
std::function<void(const typing_start_t& event)> dpp::dispatcher::typing_start |
Event handler function pointer for typing start event.
event | Event parameters |
std::function<void(const user_update_t& event)> dpp::dispatcher::user_update |
Event handler function pointer for user update event.
event | Event parameters |
std::function<void(const voice_buffer_send_t& event)> dpp::dispatcher::voice_buffer_send |
Event handler function pointer for voice buffer send event.
event | Event parameters |
std::function<void(const voice_ready_t& event)> dpp::dispatcher::voice_ready |
Event handler function pointer for voice ready event.
event | Event parameters |
std::function<void(const voice_receive_t& event)> dpp::dispatcher::voice_receive |
Event handler function pointer for voice receieve event.
event | Event parameters |
std::function<void(const voice_server_update_t& event)> dpp::dispatcher::voice_server_update |
Event handler function pointer for voice server update event.
event | Event parameters |
std::function<void(const voice_state_update_t& event)> dpp::dispatcher::voice_state_update |
Event handler function pointer for voice state update event.
event | Event parameters |
std::function<void(const voice_track_marker_t& event)> dpp::dispatcher::voice_track_marker |
Event handler function pointer for voice track marker event.
event | Event parameters |
std::function<void(const voice_user_talking_t& event)> dpp::dispatcher::voice_user_talking |
Event handler function pointer for voice user talking event.
event | Event parameters |
std::function<void(const webhooks_update_t& event)> dpp::dispatcher::webhooks_update |
Event handler function pointer for webhooks update event.
event | Event parameters |