using System; using System.Runtime.InteropServices; namespace Lskj.AttachStart.Service { [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct C2S_SmartClientLogin { public const uint ID = 69633; public MsgHeader header; public C2S_SmartClientLogin(bool autoSet) { this.header = new MsgHeader(); this.header.dwType = 69633; this.header.dwLen = (uint)Marshal.SizeOf(this); } } }