From 76d8157fc7f5ac6e08510abd7a5fa0a5525e1c68 Mon Sep 17 00:00:00 2001 From: Alexander Filippov Date: Mon, 4 Nov 2024 06:53:06 +0100 Subject: [PATCH] Add connection event documentation. --- Runtime/Connection/NetworkConnectionManager.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Runtime/Connection/NetworkConnectionManager.cs b/Runtime/Connection/NetworkConnectionManager.cs index 5c26df4..9f59401 100644 --- a/Runtime/Connection/NetworkConnectionManager.cs +++ b/Runtime/Connection/NetworkConnectionManager.cs @@ -13,9 +13,21 @@ namespace Unity.Netcode public enum ConnectionEvent { + /// + /// Invoked on the server when a client connected. + /// ClientConnected, + /// + /// Invoked on all clients when a client connected. + /// PeerConnected, + /// + /// Invoked on all clients when a client disconnected. + /// ClientDisconnected, + /// + /// Invoked on all clients when a client disconnected. + /// PeerDisconnected }