基线 SVN r240

SVN-Revision: r240
This commit is contained in:
cyf
2025-02-06 06:46:06 +00:00
commit ab56a9bcf7
5317 changed files with 902274 additions and 0 deletions
@@ -0,0 +1,27 @@
namespace LSServerService
{
using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential, Pack=1)]
public struct C2S2C_BackgroundFileData
{
public const uint ID = 65545;
public MsgHeader header;
public int dwErrId;
public int dwTotalCount;
public int dwPacketOrder;
public int dwPacketLen;
[MarshalAs(UnmanagedType.ByValArray, SizeConst=1024)]
public byte[] FileData;
public C2S2C_BackgroundFileData(bool autoSet)
{
this.FileData = new byte[1024];
this.dwErrId = this.dwTotalCount = this.dwPacketOrder = this.dwPacketLen = 0;
this.header = new MsgHeader();
this.header.dwType = 65545;
this.header.dwLen = (uint) Marshal.SizeOf(this);
}
}
}