You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-06 02:11:06 +09:00
NetServer.Disconnect added; Buffer.BlockCopy used in NetBitWriter
This commit is contained in:
@@ -29,5 +29,10 @@ namespace Lidgren.Network
|
||||
// force this to true
|
||||
config.AcceptIncomingConnections = true;
|
||||
}
|
||||
|
||||
public void Disconnect(NetConnection connection, string byeMessage)
|
||||
{
|
||||
connection.Disconnect(byeMessage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user