mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
[+] 接入ET8服务端
[+] 接入ET8服务端
This commit is contained in:
23
Assets/GameScripts/ThirdParty/Kcp/KcpPatial.cs
vendored
Normal file
23
Assets/GameScripts/ThirdParty/Kcp/KcpPatial.cs
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
namespace ET
|
||||
{
|
||||
public partial class Kcp
|
||||
{
|
||||
public const int OneM = 1024 * 1024;
|
||||
public const int InnerMaxWaitSize = 1024 * 1024;
|
||||
public const int OuterMaxWaitSize = 1024 * 1024;
|
||||
|
||||
public struct SegmentHead
|
||||
{
|
||||
public uint conv;
|
||||
public byte cmd;
|
||||
public byte frg;
|
||||
public ushort wnd;
|
||||
public uint ts;
|
||||
public uint sn;
|
||||
public uint una;
|
||||
public uint len;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user