diff --git a/examples/button-clicker/Assets/DiscordController.cs b/examples/button-clicker/Assets/DiscordController.cs index 48bf503..98f584c 100644 --- a/examples/button-clicker/Assets/DiscordController.cs +++ b/examples/button-clicker/Assets/DiscordController.cs @@ -71,7 +71,7 @@ public class DiscordController : MonoBehaviour public void RequestCallback(DiscordRpc.JoinRequest request) { ++callbackCalls; - Debug.Log(string.Format("Discord: join request {0}: {1}", request.username, request.userId)); + Debug.Log(string.Format("Discord: join request {0}#{1}: {2}", request.username, request.discriminator, request.userId)); onJoinRequest.Invoke(request); } diff --git a/examples/button-clicker/Assets/DiscordRpc.cs b/examples/button-clicker/Assets/DiscordRpc.cs index fde94d9..541f853 100644 --- a/examples/button-clicker/Assets/DiscordRpc.cs +++ b/examples/button-clicker/Assets/DiscordRpc.cs @@ -55,6 +55,7 @@ public class DiscordRpc { public string userId; public string username; + public string discriminator; public string avatar; } diff --git a/examples/button-clicker/Assets/Resources/discord-rpc.dll b/examples/button-clicker/Assets/Resources/discord-rpc.dll deleted file mode 100644 index 83824a5..0000000 Binary files a/examples/button-clicker/Assets/Resources/discord-rpc.dll and /dev/null differ diff --git a/examples/button-clicker/Assets/main.unity b/examples/button-clicker/Assets/main.unity index ab1666d..b4f39b3 100644 --- a/examples/button-clicker/Assets/main.unity +++ b/examples/button-clicker/Assets/main.unity @@ -653,7 +653,7 @@ MonoBehaviour: m_EditorClassIdentifier: presence: state: Button clicking - details: + details: Best game ever startTimestamp: 0 endTimestamp: 0 largeImageKey: stable-large @@ -663,10 +663,10 @@ MonoBehaviour: partyId: abcdefg partySize: 1 partyMax: 10 - matchSecret: - joinSecret: - spectateSecret: - instance: 0 + matchSecret: match_secret + joinSecret: join_secret + spectateSecret: spectate_secret + instance: 1 applicationId: 345229890980937739 optionalSteamId: callbackCalls: 0