summaryrefslogtreecommitdiff
path: root/Assembly_Firstpass/Steamworks/SteamUGCQueryCompleted_t.cs
blob: f0d1e58c814412e36c579e6022606483fa68fffb (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
32
33
34
35
36
using System.Runtime.InteropServices;

namespace Steamworks;

[StructLayout(LayoutKind.Sequential, Pack = 8)]
[CallbackIdentity(3401)]
public struct SteamUGCQueryCompleted_t
{
	public const int k_iCallback = 3401;

	public UGCQueryHandle_t m_handle;

	public EResult m_eResult;

	public uint m_unNumResultsReturned;

	public uint m_unTotalMatchingResults;

	[MarshalAs(UnmanagedType.I1)]
	public bool m_bCachedData;

	[MarshalAs(UnmanagedType.ByValArray, SizeConst = 256)]
	private byte[] m_rgchNextCursor_;

	public string m_rgchNextCursor
	{
		get
		{
			return InteropHelp.ByteArrayToStringUTF8(m_rgchNextCursor_);
		}
		set
		{
			InteropHelp.StringToByteArrayUTF8(value, m_rgchNextCursor_, 256);
		}
	}
}