Files
lserp_cs_6.0/插件库/Lskj.AttachStart/Service/S2C_ReqBackgroundDownload.cs
T
cyf ab56a9bcf7 基线 SVN r240
SVN-Revision: r240
2025-02-06 06:46:06 +00:00

37 lines
890 B
C#

using System;
using System.Runtime.InteropServices;
namespace Lskj.AttachStart.Service
{
public struct S2C_ReqBackgroundDownload
{
public const uint ID = 65544;
public MsgHeader header;
public int dwErrId;
public int reqType;
public int dwCount;
public S2C_ReqBackgroundDownload(bool autoSet)
{
this.dwErrId = this.dwCount = 0;
this.reqType = 1;
this.header = new MsgHeader();
this.header.dwType = 65544;
this.header.dwLen = (uint)Marshal.SizeOf(this);
}
public bool isDownloadModel
{
get
{
return (this.reqType == 1);
}
}
public bool isGetFileListModel
{
get
{
return (this.reqType == 2);
}
}
}
}