Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions GameFrameX.NetWork.Kcp/KcpServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ public sealed class KcpServer : IDisposable
private readonly ConcurrentDictionary<uint, KcpNetWorkChannel> _channels = new();
private readonly KcpMessagePipelineFilter _messageFilter;
private readonly Func<EndPoint, ValueTask> _onConnected;
private readonly Func<EndPoint, ValueTask> _onDisconnected;
private readonly KcpOptions _options;
private readonly Action<IGameAppSession, IMessage> _packageHandler;
private readonly byte[] _receiveBuffer;
Expand Down Expand Up @@ -79,7 +78,6 @@ public KcpServer(
_setting = setting ?? throw new ArgumentNullException(nameof(setting));
_packageHandler = packageHandler ?? throw new ArgumentNullException(nameof(packageHandler));
_onConnected = onConnected;
_onDisconnected = onDisconnected;
_receiveBuffer = new byte[options.Mtu * 2];
_messageFilter = new KcpMessagePipelineFilter();

Expand Down
Loading