blob: 01f65436ffa3550b977657735827bc853eb72387 (
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
|
using System.Runtime.InteropServices;
namespace Steamworks;
public static class Packsize
{
[StructLayout(LayoutKind.Sequential, Pack = 8)]
private struct ValvePackingSentinel_t
{
private uint m_u32;
private ulong m_u64;
private ushort m_u16;
private double m_d;
}
public const int value = 8;
public static bool Test()
{
int num = Marshal.SizeOf(typeof(ValvePackingSentinel_t));
int num2 = Marshal.SizeOf(typeof(RemoteStorageEnumerateUserSubscribedFilesResult_t));
if (num != 32 || num2 != 616)
{
return false;
}
return true;
}
}
|