6 #if defined(DISCORD_DYNAMIC_LIB) 8 # if defined(DISCORD_BUILDING_SDK) 9 # define DISCORD_EXPORT __declspec(dllexport) 11 # define DISCORD_EXPORT __declspec(dllimport) 14 # define DISCORD_EXPORT __attribute__((visibility("default"))) 17 # define DISCORD_EXPORT 60 #define DISCORD_REPLY_NO 0 61 #define DISCORD_REPLY_YES 1 62 #define DISCORD_REPLY_IGNORE 2 67 const char* optionalSteamId);
74 #ifdef DISCORD_DISABLE_IO_THREAD DISCORD_EXPORT void Discord_Initialize(const char *applicationId, DiscordEventHandlers *handlers, int autoRegister, const char *optionalSteamId)
Definition: discord_rpc.cpp:271
int64_t endTimestamp
Definition: discord_rpc.h:30
const char * username
Definition: discord_rpc.h:46
void(* spectateGame)(const char *spectateSecret)
Definition: discord_rpc.h:56
Definition: discord_rpc.h:44
const char * matchSecret
Definition: discord_rpc.h:38
void(* disconnected)(int errorCode, const char *message)
Definition: discord_rpc.h:53
void(* joinGame)(const char *joinSecret)
Definition: discord_rpc.h:55
DISCORD_EXPORT void Discord_ClearPresence(void)
Definition: discord_rpc.cpp:375
const char * state
Definition: discord_rpc.h:27
DISCORD_EXPORT void Discord_Respond(const char *userid, int reply)
Definition: discord_rpc.cpp:380
static void Discord_UpdateConnection(void)
Definition: discord_rpc.cpp:132
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
DISCORD_EXPORT void Discord_Shutdown(void)
Definition: discord_rpc.cpp:348
void(* ready)(const DiscordUser *request)
Definition: discord_rpc.h:52
int partyMax
Definition: discord_rpc.h:37
struct DiscordEventHandlers DiscordEventHandlers
DISCORD_EXPORT void Discord_RunCallbacks(void)
Definition: discord_rpc.cpp:395
const char * discriminator
Definition: discord_rpc.h:47
const char * smallImageKey
Definition: discord_rpc.h:33
const char * userId
Definition: discord_rpc.h:45
void(* joinRequest)(const DiscordUser *request)
Definition: discord_rpc.h:57
const char * avatar
Definition: discord_rpc.h:48
struct DiscordUser DiscordUser
const char * largeImageText
Definition: discord_rpc.h:32
GLenum GLuint GLenum GLsizei const GLchar * message
Definition: glext.h:6233
const char * details
Definition: discord_rpc.h:28
struct DiscordRichPresence DiscordRichPresence
const char * largeImageKey
Definition: discord_rpc.h:31
int partySize
Definition: discord_rpc.h:36
DISCORD_EXPORT void Discord_UpdateHandlers(DiscordEventHandlers *handlers)
Definition: discord_rpc.cpp:474
int8_t instance
Definition: discord_rpc.h:41
void(* errored)(int errorCode, const char *message)
Definition: discord_rpc.h:54
const char * smallImageText
Definition: discord_rpc.h:34
Definition: discord_rpc.h:26
const char * joinSecret
Definition: discord_rpc.h:39
signed __int64 int64_t
Definition: stdint.h:135
DISCORD_EXPORT void Discord_UpdatePresence(const DiscordRichPresence *presence)
Definition: discord_rpc.cpp:365
int64_t startTimestamp
Definition: discord_rpc.h:29
#define DISCORD_EXPORT
Definition: discord_rpc.h:17
Definition: discord_rpc.h:51
const char * partyId
Definition: discord_rpc.h:35
signed char int8_t
Definition: stdint.h:121
const char * spectateSecret
Definition: discord_rpc.h:40