From d9caf72e9af114aeb2d7433e367f5985b58dbcd1 Mon Sep 17 00:00:00 2001 From: Mason Sciotti Date: Tue, 6 Mar 2018 09:51:31 -0800 Subject: [PATCH] Add missing timestamps in UE4 example Fixes #137 --- .../Source/DiscordRpc/Private/DiscordRpcBlueprint.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/unrealstatus/Plugins/discordrpc/Source/DiscordRpc/Private/DiscordRpcBlueprint.cpp b/examples/unrealstatus/Plugins/discordrpc/Source/DiscordRpc/Private/DiscordRpcBlueprint.cpp index fb5fd5b..db0f096 100644 --- a/examples/unrealstatus/Plugins/discordrpc/Source/DiscordRpc/Private/DiscordRpcBlueprint.cpp +++ b/examples/unrealstatus/Plugins/discordrpc/Source/DiscordRpc/Private/DiscordRpcBlueprint.cpp @@ -134,6 +134,8 @@ void UDiscordRpc::UpdatePresence() auto spectateSecret = StringCast(*RichPresence.spectateSecret); rp.spectateSecret = spectateSecret.Get(); + rp.startTimestamp = RichPresence.startTimestamp; + rp.endTimestamp = RichPresence.endTimestamp; rp.partySize = RichPresence.partySize; rp.partyMax = RichPresence.partyMax; rp.instance = RichPresence.instance;