Files
lserp_cs_5.0/Lskj.Test/LSServerService/S2C_ReqBackgroundDownload.cs
T
2026-07-10 15:25:05 +08:00

40 lines
942 B
C#

namespace LSServerService
{
using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential, Pack=1)]
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);
}
}
}
}