mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2025-12-23 15:55:06 +01:00
Unity ajt fix
This commit is contained in:
parent
aa79c70bf9
commit
3bdb88d918
4 changed files with 13 additions and 9 deletions
|
|
@ -50,14 +50,11 @@ public class DiscordRpc
|
|||
public bool instance;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
|
||||
[System.Serializable]
|
||||
public struct JoinRequest
|
||||
{
|
||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 24)]
|
||||
public string userId;
|
||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 48)]
|
||||
public string username;
|
||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)]
|
||||
public string avatar;
|
||||
}
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue