26 lines
717 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
|