summaryrefslogtreecommitdiff
path: root/Assembly_Firstpass/Steamworks/GSClientDeny_t.cs
blob: a2a18546e7d3b3f3b381f45368be8acae5827f77 (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
using System.Runtime.InteropServices;

namespace Steamworks;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
[CallbackIdentity(202)]
public struct GSClientDeny_t
{
	public const int k_iCallback = 202;

	public CSteamID m_SteamID;

	public EDenyReason m_eDenyReason;

	[MarshalAs(UnmanagedType.ByValArray, SizeConst = 128)]
	private byte[] m_rgchOptionalText_;

	public string m_rgchOptionalText
	{
		get
		{
			return InteropHelp.ByteArrayToStringUTF8(m_rgchOptionalText_);
		}
		set
		{
			InteropHelp.StringToByteArrayUTF8(value, m_rgchOptionalText_, 128);
		}
	}
}