Update example id

This commit is contained in:
Chris Marsh 2017-08-16 11:48:27 -07:00
parent b87c6c9b5b
commit 8dab07035f
2 changed files with 6 additions and 4 deletions

View file

@ -656,9 +656,9 @@ MonoBehaviour:
details: details:
startTimestamp: 0 startTimestamp: 0
endTimestamp: 0 endTimestamp: 0
largeImageKey: largeImageKey: stable-large
largeImageText: largeImageText:
smallImageKey: smallImageKey: canary-small
smallImageText: smallImageText:
partyId: abcdefg partyId: abcdefg
partySize: 1 partySize: 1
@ -667,7 +667,7 @@ MonoBehaviour:
joinSecret: joinSecret:
spectateSecret: spectateSecret:
instance: 0 instance: 0
applicationId: 338030514596216832 applicationId: 345229890980937739
callbackCalls: 0 callbackCalls: 0
clickCounter: 0 clickCounter: 0
onConnect: onConnect:

View file

@ -11,7 +11,7 @@
#include "discord-rpc.h" #include "discord-rpc.h"
static const char* APPLICATION_ID = "338030514596216832"; static const char* APPLICATION_ID = "345229890980937739";
static int FrustrationLevel = 0; static int FrustrationLevel = 0;
static int64_t StartTime; static int64_t StartTime;
@ -25,6 +25,8 @@ static void updateDiscordPresence()
discordPresence.details = buffer; discordPresence.details = buffer;
discordPresence.startTimestamp = StartTime; discordPresence.startTimestamp = StartTime;
discordPresence.endTimestamp = time(0) + 5 * 60; discordPresence.endTimestamp = time(0) + 5 * 60;
discordPresence.largeImageKey = "canary-large";
discordPresence.smallImageKey = "ptb-small";
discordPresence.partyId = "party1234"; discordPresence.partyId = "party1234";
discordPresence.partySize = 1; discordPresence.partySize = 1;
discordPresence.partyMax = 6; discordPresence.partyMax = 6;