blob: 1828962e0d0634713694b37bac6bf8c36c613c06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
using System.Runtime.InteropServices;
namespace Steamworks;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[CallbackIdentity(337)]
public struct GameRichPresenceJoinRequested_t
{
public const int k_iCallback = 337;
public CSteamID m_steamIDFriend;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 256)]
private byte[] m_rgchConnect_;
public string m_rgchConnect
{
get
{
return InteropHelp.ByteArrayToStringUTF8(m_rgchConnect_);
}
set
{
InteropHelp.StringToByteArrayUTF8(value, m_rgchConnect_, 256);
}
}
}
|