基线 SVN r240
SVN-Revision: r240
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user