Files
2026-07-10 15:25:05 +08:00

26 lines
717 B
C#

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