Add missing timestamps in UE4 example

Fixes #137
This commit is contained in:
Mason Sciotti 2018-03-06 09:51:31 -08:00
parent e8091f5137
commit d9caf72e9a

View file

@ -134,6 +134,8 @@ void UDiscordRpc::UpdatePresence()
auto spectateSecret = StringCast<ANSICHAR>(*RichPresence.spectateSecret); auto spectateSecret = StringCast<ANSICHAR>(*RichPresence.spectateSecret);
rp.spectateSecret = spectateSecret.Get(); rp.spectateSecret = spectateSecret.Get();
rp.startTimestamp = RichPresence.startTimestamp;
rp.endTimestamp = RichPresence.endTimestamp;
rp.partySize = RichPresence.partySize; rp.partySize = RichPresence.partySize;
rp.partyMax = RichPresence.partyMax; rp.partyMax = RichPresence.partyMax;
rp.instance = RichPresence.instance; rp.instance = RichPresence.instance;