init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
namespace LSServerService
|
||||
{
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack=1)]
|
||||
public struct C2S_AddFileDirectory
|
||||
{
|
||||
public const uint ID = 1;
|
||||
public MsgHeader header;
|
||||
public StructFileInfo fi;
|
||||
public C2S_AddFileDirectory(bool autoSet)
|
||||
{
|
||||
this.header = new MsgHeader();
|
||||
this.fi = new StructFileInfo(true);
|
||||
this.header.dwType = 1;
|
||||
this.header.dwLen = (uint) Marshal.SizeOf(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user