D++ (DPP)  10.0.30
C++ Discord API Bot Library
event.h File Reference
#include <dpp/export.h>
#include <dpp/snowflake.h>
#include <dpp/json_fwd.h>
Include dependency graph for event.h:
This graph shows which files directly or indirectly include this file:

Classes

class  dpp::events::automod_rule_create
 Internal event handler for AUTO_MODERATION_RULE_CREATE websocket events. More...
 
class  dpp::events::automod_rule_delete
 Internal event handler for AUTO_MODERATION_RULE_DELETE websocket events. More...
 
class  dpp::events::automod_rule_execute
 Internal event handler for AUTO_MODERATION_ACTION_EXECUTION websocket events. More...
 
class  dpp::events::automod_rule_update
 Internal event handler for AUTO_MODERATION_RULE_UPDATE websocket events. More...
 
class  dpp::events::channel_create
 Internal event handler for CHANNEL_CREATE websocket events. More...
 
class  dpp::events::channel_delete
 Internal event handler for CHANNEL_DELETE websocket events. More...
 
class  dpp::events::channel_pins_update
 Internal event handler for CHANNEL_PINS_UPDATE websocket events. More...
 
class  dpp::events::channel_update
 Internal event handler for CHANNEL_UPDATE websocket events. More...
 
class  dpp::events::entitlement_create
 Internal event handler for ENTITLEMENT_CREATE websocket events. More...
 
class  dpp::events::entitlement_delete
 Internal event handler for ENTITLEMENT_DELETE websocket events. More...
 
class  dpp::events::entitlement_update
 Internal event handler for ENTITLEMENT_UPDATE websocket events. More...
 
class  dpp::events::event
 An event object represents an event handled internally, passed from the websocket e.g. More...
 
class  dpp::events::guild_audit_log_entry_create
 Internal event handler for GUILD_AUDIT_LOG_ENTRY_CREATE websocket events. More...
 
class  dpp::events::guild_ban_add
 Internal event handler for GUILD_BAN_ADD websocket events. More...
 
class  dpp::events::guild_ban_remove
 Internal event handler for GUILD_BAN_REMOVE websocket events. More...
 
class  dpp::events::guild_create
 Internal event handler for GUILD_CREATE websocket events. More...
 
class  dpp::events::guild_delete
 Internal event handler for GUILD_DELETE websocket events. More...
 
class  dpp::events::guild_emojis_update
 Internal event handler for GUILD_EMOJIS_UPDATE websocket events. More...
 
class  dpp::events::guild_integrations_update
 Internal event handler for GUILD_INTEGRATIONS_UPDATE websocket events. More...
 
class  dpp::events::guild_join_request_delete
 Internal event handler for GUILD_JOIN_REQUEST_DELETE websocket events. More...
 
class  dpp::events::guild_member_add
 Internal event handler for GUILD_MEMBER_ADD websocket events. More...
 
class  dpp::events::guild_member_remove
 Internal event handler for GUILD_MEMBER_REMOVE websocket events. More...
 
class  dpp::events::guild_member_update
 Internal event handler for GUILD_MEMBERS_UPDATE websocket events. More...
 
class  dpp::events::guild_members_chunk
 Internal event handler for GUILD_MEMBERS_CHUNK websocket events. More...
 
class  dpp::events::guild_role_create
 Internal event handler for GUILD_ROLE_CREATE websocket events. More...
 
class  dpp::events::guild_role_delete
 Internal event handler for GUILD_ROLE_DELETE websocket events. More...
 
class  dpp::events::guild_role_update
 Internal event handler for GUILD_ROLE_UPDATE websocket events. More...
 
class  dpp::events::guild_scheduled_event_create
 Internal event handler for GUILD_SCHEDULED_EVENT_CREATE websocket events. More...
 
class  dpp::events::guild_scheduled_event_delete
 Internal event handler for GUILD_SCHEDULED_EVENT_DELETE websocket events. More...
 
class  dpp::events::guild_scheduled_event_update
 Internal event handler for GUILD_SCHEDULED_EVENT_UPDATE websocket events. More...
 
class  dpp::events::guild_scheduled_event_user_add
 Internal event handler for GUILD_SCHEDULED_EVENT_USER_ADD websocket events. More...
 
class  dpp::events::guild_scheduled_event_user_remove
 Internal event handler for GUILD_SCHEDULED_EVENT_USER_REMOVE websocket events. More...
 
class  dpp::events::guild_stickers_update
 Internal event handler for GUILD_STICKERS_UPDATE websocket events. More...
 
class  dpp::events::guild_update
 Internal event handler for GUILD_UPDATE websocket events. More...
 
class  dpp::events::integration_create
 Internal event handler for INTEGRATION_CREATE websocket events. More...
 
class  dpp::events::integration_delete
 Internal event handler for INTEGRATION_DELETE websocket events. More...
 
class  dpp::events::integration_update
 Internal event handler for INTEGRATION_UPDATE websocket events. More...
 
class  dpp::events::interaction_create
 Internal event handler for INTERACTION_CREATE websocket events. More...
 
class  dpp::events::invite_create
 Internal event handler for INVITE_CREATE websocket events. More...
 
class  dpp::events::invite_delete
 Internal event handler for INVITE_DELETE websocket events. More...
 
class  dpp::events::logger
 Internal event handler for LOG websocket events. More...
 
class  dpp::events::message_create
 Internal event handler for MESSAGE_CREATE websocket events. More...
 
class  dpp::events::message_delete
 Internal event handler for MESSAGE_DELETE websocket events. More...
 
class  dpp::events::message_delete_bulk
 Internal event handler for MESSAGE_DELETE_BULK websocket events. More...
 
class  dpp::events::message_poll_vote_add
 Internal event handler for MESSAGE_POLL_VOTE_ADD websocket events. More...
 
class  dpp::events::message_poll_vote_remove
 Internal event handler for MESSAGE_POLL_VOTE_REMOVE websocket events. More...
 
class  dpp::events::message_reaction_add
 Internal event handler for MESSAGE_REACTION_ADD websocket events. More...
 
class  dpp::events::message_reaction_remove
 Internal event handler for MESSAGE_REACTION_REMOVE websocket events. More...
 
class  dpp::events::message_reaction_remove_all
 Internal event handler for MESSAGE_REACTION_REMOVE_ALL websocket events. More...
 
class  dpp::events::message_reaction_remove_emoji
 Internal event handler for MESSAGE_REACTION_REMOVE_EMOJI websocket events. More...
 
class  dpp::events::message_update
 Internal event handler for MESSAGE_UPDATE websocket events. More...
 
class  dpp::events::presence_update
 Internal event handler for PRESENCE_UPDATE websocket events. More...
 
class  dpp::events::ready
 Internal event handler for READY websocket events. More...
 
class  dpp::events::resumed
 Internal event handler for RESUMED websocket events. More...
 
class  dpp::events::stage_instance_create
 Internal event handler for STAGE_INSTANCE_CREATE websocket events. More...
 
class  dpp::events::stage_instance_delete
 Internal event handler for STAGE_INSTANCE_DELETE websocket events. More...
 
class  dpp::events::stage_instance_update
 Internal event handler for STAGE_INSTANCE_UPDATE websocket events. More...
 
class  dpp::events::thread_create
 Internal event handler for THREAD_CREATE websocket events. More...
 
class  dpp::events::thread_delete
 Internal event handler for THREAD_DELETE websocket events. More...
 
class  dpp::events::thread_list_sync
 Internal event handler for THREAD_LIST_SYNC websocket events. More...
 
class  dpp::events::thread_member_update
 Internal event handler for THREAD_MEMBER_UPDATE websocket events. More...
 
class  dpp::events::thread_members_update
 Internal event handler for THREAD_MEMBERS_UPDATE websocket events. More...
 
class  dpp::events::thread_update
 Internal event handler for THREAD_UPDATE websocket events. More...
 
class  dpp::events::typing_start
 Internal event handler for TYPING_START websocket events. More...
 
class  dpp::events::user_update
 Internal event handler for USER_UPDATE websocket events. More...
 
class  dpp::events::voice_server_update
 Internal event handler for VOICE_SERVER_UPDATE websocket events. More...
 
class  dpp::events::voice_state_update
 Internal event handler for VOICE_STATE_UPDATE websocket events. More...
 
class  dpp::events::webhooks_update
 Internal event handler for WEBHOOKS_UPDATE websocket events. More...
 

Namespaces

 dpp
 The main namespace for D++ functions.
 
 dpp::events
 The events namespace holds the internal event handlers for each websocket event.
 

Macros

#define event_decl(x, wstype)
 

Macro Definition Documentation

◆ event_decl

#define event_decl (   x,
  wstype 
)
Value:
\
class x : public event { public: virtual void handle(class dpp::discord_client* client, nlohmann::json &j, const std::string &raw); };
dpp::unicode_emoji::x
constexpr const char x[]
Definition: unicode_emoji.h:5260
json
nlohmann::json json
Definition: test.h:40
dpp::discord_client
Implements a discord client.
Definition: discordclient.h:142