blob: d5be4224e0e3eb7d75056fba52bbaab154193928 (
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
28
29
30
31
|
using System.Runtime.InteropServices;
namespace Steamworks;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[CallbackIdentity(1021)]
public struct AppProofOfPurchaseKeyResponse_t
{
public const int k_iCallback = 1021;
public EResult m_eResult;
public uint m_nAppID;
public uint m_cchKeyLength;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 240)]
private byte[] m_rgchKey_;
public string m_rgchKey
{
get
{
return InteropHelp.ByteArrayToStringUTF8(m_rgchKey_);
}
set
{
InteropHelp.StringToByteArrayUTF8(value, m_rgchKey_, 240);
}
}
}
|