namespace LSServerService { using System; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential, Pack=1)] public struct S2C_RemoveFileDirectory { public const uint ID = 6; public MsgHeader header; public int dwErrId; public int dwFileId; public S2C_RemoveFileDirectory(bool autoSet) { this.header = new MsgHeader(); this.dwErrId = this.dwFileId = 0; this.header.dwType = 6; this.header.dwLen = (uint) Marshal.SizeOf(this); } } }