KCPClientNetwork 类
程序集: Fantasy.Net.dll
语法
public sealed class KCPClientNetwork : AClientNetwork, IEntity, IPool, INetworkChannel, IDisposable
属性
|
编辑本文
查看源代码
ChannelId
声明
public uint ChannelId { get; }
属性值
方法
|
编辑本文
查看源代码
CheckUpdate()
声明
public void CheckUpdate()
|
编辑本文
查看源代码
Connect(string, Action, Action, Action, bool, int)
声明
public override Session Connect(string remoteAddress, Action onConnectComplete, Action onConnectFail, Action onConnectDisconnect, bool isHttps, int connectTimeout = 5000)
参数
返回
重写
|
编辑本文
查看源代码
Dispose()
销毁当前实体,销毁后会自动销毁当前实体下的所有实体。
声明
public override void Dispose()
重写
|
编辑本文
查看源代码
Initialize(NetworkTarget)
声明
public void Initialize(NetworkTarget networkTarget)
参数
|
编辑本文
查看源代码
RemoveChannel(uint)
声明
public override void RemoveChannel(uint channelId)
参数
重写
|
编辑本文
查看源代码
Send(uint, long, MemoryStreamBuffer, IMessage)
声明
public override void Send(uint rpcId, long routeId, MemoryStreamBuffer memoryStream, IMessage message)
参数
重写
实现
扩展方法