RetroArch
Classes | Macros | Typedefs | Functions
discord_rpc.h File Reference
#include <stdint.h>
Include dependency graph for discord_rpc.h:
This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

◆ DISCORD_EXPORT

#define DISCORD_EXPORT

◆ DISCORD_REPLY_IGNORE

#define DISCORD_REPLY_IGNORE   2

◆ DISCORD_REPLY_NO

#define DISCORD_REPLY_NO   0

◆ DISCORD_REPLY_YES

#define DISCORD_REPLY_YES   1

Typedef Documentation

◆ DiscordEventHandlers

◆ DiscordRichPresence

◆ DiscordUser

typedef struct DiscordUser DiscordUser

Function Documentation

◆ Discord_ClearPresence()

DISCORD_EXPORT void Discord_ClearPresence ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Discord_Initialize()

DISCORD_EXPORT void Discord_Initialize ( const char *  applicationId,
DiscordEventHandlers handlers,
int  autoRegister,
const char *  optionalSteamId 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Discord_Respond()

DISCORD_EXPORT void Discord_Respond ( const char *  userid,
int  reply 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Discord_RunCallbacks()

DISCORD_EXPORT void Discord_RunCallbacks ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Discord_Shutdown()

DISCORD_EXPORT void Discord_Shutdown ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Discord_UpdateHandlers()

DISCORD_EXPORT void Discord_UpdateHandlers ( DiscordEventHandlers handlers)
Here is the caller graph for this function:

◆ Discord_UpdatePresence()

DISCORD_EXPORT void Discord_UpdatePresence ( const DiscordRichPresence presence)
Here is the call graph for this function:
Here is the caller graph for this function: