summaryrefslogtreecommitdiff
path: root/Assembly_Firstpass/Steamworks/RemoteStorageFileShareResult_t.cs
blob: 7da67cbf748b3e9d72f4f0d25d6fb2d0e87f7a85 (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 = 8)]
[CallbackIdentity(1307)]
public struct RemoteStorageFileShareResult_t
{
	public const int k_iCallback = 1307;

	public EResult m_eResult;

	public UGCHandle_t m_hFile;

	[MarshalAs(UnmanagedType.ByValArray, SizeConst = 260)]
	private byte[] m_rgchFilename_;

	public string m_rgchFilename
	{
		get
		{
			return InteropHelp.ByteArrayToStringUTF8(m_rgchFilename_);
		}
		set
		{
			InteropHelp.StringToByteArrayUTF8(value, m_rgchFilename_, 260);
		}
	}
}