RetroArch
|
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | DiscordRichPresence |
struct | DiscordUser |
struct | DiscordEventHandlers |
Macros | |
#define | DISCORD_EXPORT |
#define | DISCORD_REPLY_NO 0 |
#define | DISCORD_REPLY_YES 1 |
#define | DISCORD_REPLY_IGNORE 2 |
Typedefs | |
typedef struct DiscordRichPresence | DiscordRichPresence |
typedef struct DiscordUser | DiscordUser |
typedef struct DiscordEventHandlers | DiscordEventHandlers |
Functions | |
DISCORD_EXPORT void | Discord_Initialize (const char *applicationId, DiscordEventHandlers *handlers, int autoRegister, const char *optionalSteamId) |
DISCORD_EXPORT void | Discord_Shutdown (void) |
DISCORD_EXPORT void | Discord_RunCallbacks (void) |
DISCORD_EXPORT void | Discord_UpdatePresence (const DiscordRichPresence *presence) |
DISCORD_EXPORT void | Discord_ClearPresence (void) |
DISCORD_EXPORT void | Discord_Respond (const char *userid, int reply) |
DISCORD_EXPORT void | Discord_UpdateHandlers (DiscordEventHandlers *handlers) |
#define DISCORD_EXPORT |
#define DISCORD_REPLY_IGNORE 2 |
#define DISCORD_REPLY_NO 0 |
#define DISCORD_REPLY_YES 1 |
typedef struct DiscordEventHandlers DiscordEventHandlers |
typedef struct DiscordRichPresence DiscordRichPresence |
typedef struct DiscordUser DiscordUser |
DISCORD_EXPORT void Discord_ClearPresence | ( | void | ) |
DISCORD_EXPORT void Discord_Initialize | ( | const char * | applicationId, |
DiscordEventHandlers * | handlers, | ||
int | autoRegister, | ||
const char * | optionalSteamId | ||
) |
DISCORD_EXPORT void Discord_Respond | ( | const char * | userid, |
int | reply | ||
) |
DISCORD_EXPORT void Discord_RunCallbacks | ( | void | ) |
DISCORD_EXPORT void Discord_Shutdown | ( | void | ) |
DISCORD_EXPORT void Discord_UpdateHandlers | ( | DiscordEventHandlers * | handlers | ) |
DISCORD_EXPORT void Discord_UpdatePresence | ( | const DiscordRichPresence * | presence | ) |