blob: bbf67b4243527fd2c352187fb0f42a5b2122893e (
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(4705)]
public struct SteamInventoryRequestPricesResult_t
{
public const int k_iCallback = 4705;
public EResult m_result;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
private byte[] m_rgchCurrency_;
public string m_rgchCurrency
{
get
{
return InteropHelp.ByteArrayToStringUTF8(m_rgchCurrency_);
}
set
{
InteropHelp.StringToByteArrayUTF8(value, m_rgchCurrency_, 4);
}
}
}
|