ab56a9bcf7
SVN-Revision: r240
24 lines
717 B
C#
24 lines
717 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Lskj.AttachStart.Service
|
|
{
|
|
[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);
|
|
}
|
|
}
|
|
} |