Files
lserp_cs_6.0/插件库/Lskj.Test/LSServerService/S2C_DownloadFile.cs
T
cyf ab56a9bcf7 基线 SVN r240
SVN-Revision: r240
2025-02-06 06:46:06 +00: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);
}
}
}