diff options
Diffstat (limited to 'Assembly_Firstpass/Steamworks/Packsize.cs')
-rw-r--r-- | Assembly_Firstpass/Steamworks/Packsize.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Assembly_Firstpass/Steamworks/Packsize.cs b/Assembly_Firstpass/Steamworks/Packsize.cs new file mode 100644 index 0000000..01f6543 --- /dev/null +++ b/Assembly_Firstpass/Steamworks/Packsize.cs @@ -0,0 +1,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; + } +} |