KCPServerNetwork 类
程序集: Fantasy.Net.dll
语法
public sealed class KCPServerNetwork : ANetwork, IEntity, IDisposable, IPool
属性
|
编辑本文
查看源代码
Settings
声明
public KCPSettings Settings { get; }
属性值
方法
|
编辑本文
查看源代码
AddUpdateChannel(uint, uint)
声明
public void AddUpdateChannel(uint channelId, uint tillTime)
参数
|
编辑本文
查看源代码
Dispose()
销毁当前实体,销毁后会自动销毁当前实体下的所有实体。
声明
public override void Dispose()
重写
|
编辑本文
查看源代码
Initialize(NetworkTarget, IPEndPoint)
声明
public void Initialize(NetworkTarget networkTarget, IPEndPoint address)
参数
|
编辑本文
查看源代码
RemoveChannel(uint)
声明
public override void RemoveChannel(uint channelId)
参数
重写
|
编辑本文
查看源代码
SendAsync(byte[], int, int, EndPoint)
声明
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void SendAsync(byte[] buffer, int offset, int count, EndPoint endPoint)
参数
|
编辑本文
查看源代码
Update()
声明
实现
扩展方法