NetworkedMultiplayerENet.disconnectPeer

Disconnect the given peer. If "now" is set to true, the connection will be closed immediately without flushing queued messages.

struct NetworkedMultiplayerENet
@nogc nothrow
void
disconnectPeer
(
in long id
,
in bool now = false
)

Meta