blob: e9fbee6bfdb5938ded62c2b7c7eed2d8fe600de4 (
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
|
using System.Runtime.InteropServices;
namespace Steamworks;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[CallbackIdentity(1303)]
public struct RemoteStorageAppSyncProgress_t
{
public const int k_iCallback = 1303;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 260)]
private byte[] m_rgchCurrentFile_;
public AppId_t m_nAppID;
public uint m_uBytesTransferredThisChunk;
public double m_dAppPercentComplete;
[MarshalAs(UnmanagedType.I1)]
public bool m_bUploading;
public string m_rgchCurrentFile
{
get
{
return InteropHelp.ByteArrayToStringUTF8(m_rgchCurrentFile_);
}
set
{
InteropHelp.StringToByteArrayUTF8(value, m_rgchCurrentFile_, 260);
}
}
}
|