mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2024-12-22 18:45:38 +00:00
Update Unity example (also, remove dll, need to do that a better way)
This commit is contained in:
parent
1a278528a2
commit
c053b72f58
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -55,6 +55,7 @@ public class DiscordRpc
|
|||
{
|
||||
public string userId;
|
||||
public string username;
|
||||
public string discriminator;
|
||||
public string avatar;
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue