NetManagerDisconnectPeer Method (NetPeer, Byte) |
LiteNetLib |
Disconnect peer from server and send additional data (Size must be less or equal MTU - 8)
Namespace: LiteNetLib
Assembly: LiteNetLib (in LiteNetLib.dll) Version: 1.0.0.0
Syntax
C#
public void DisconnectPeer( NetPeer peer, byte[] data )
Parameters
- peer
- Type: LiteNetLibNetPeer
peer to disconnect - data
- Type: SystemByte
additional data
See Also