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