Files
lserp_cs_5.0/LSTest/LSServerService/C2S_AddFile.cs
T
2026-07-10 15:25:05 +08:00

22 lines
539 B
C#

namespace LSServerService
{
using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential, Pack=1)]
public struct C2S_AddFile
{
public const uint ID = 17;
public MsgHeader header;
public StructFileInfo fi;
public C2S_AddFile(bool autoSet)
{
this.header = new MsgHeader();
this.fi = new StructFileInfo(true);
this.header.dwType = 17;
this.header.dwLen = (uint) Marshal.SizeOf(this);
}
}
}