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