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