Error message cb

This commit is contained in:
Chris Marsh
2017-07-24 14:58:53 -07:00
parent 88ab85c81e
commit 63058ddf23
3 changed files with 16 additions and 3 deletions

View File

@ -28,6 +28,7 @@ typedef struct DiscordRichPresence {
typedef struct DiscordEventHandlers {
void (*ready)();
void (*disconnected)(int errorCode, const char* message);
void (*errored)(int errorCode, const char* message);
void (*presenceRequested)();
void (*joinGame)(const char* joinSecret);
void (*spectateGame)(const char* spectateSecret);