Concord - C Discord API library
A Discord API wrapper library written in C
|
The Discord Cache control handler. More...
#include <discord-internal.h>
Data Fields | |
struct _discord_cache_data * | data |
void(* | cleanup )(struct discord *client) |
void(* | on_shard_disconnected )(struct discord *client, const struct discord_identify *ident, bool resumable) |
void(* | on_shard_resumed )(struct discord *client, const struct discord_identify *ident) |
void(* | on_shard_reconnected )(struct discord *client, const struct discord_identify *ident) |
The Discord Cache control handler.
struct _discord_cache_data* discord_cache::data |
void(* discord_cache::cleanup) (struct discord *client) |
void(* discord_cache::on_shard_disconnected) (struct discord *client, const struct discord_identify *ident, bool resumable) |
gateway should call this when a shard has lost connection
void(* discord_cache::on_shard_resumed) (struct discord *client, const struct discord_identify *ident) |
gateway should call this when a shard has resumed
void(* discord_cache::on_shard_reconnected) (struct discord *client, const struct discord_identify *ident) |
gateway should call this when a shard has reconnected