NetworkConnection
This code defines a class called NetworkConnections
. This class contains various events related to network connections. Events are triggered based on different connection states on the server and client side.
Members
Server Side Events: This section defines events that may occur on the server side.
OnStartedServer
: Triggered when the server starts.OnStoppedServer
: Triggered when the server is stopped.OnServerConnected
: Triggered when the server is stopped.OnServerDisconnected
: Triggered when a client leaves the server.
Client Side Events: This section defines events that may occur on the client side.
OnStartedClient
: Triggered when the client starts.OnStoppedClient
: Triggered when the client is stopped.OnClientConnected
: Triggered when a client successfully connects to a server.OnClientDisconnected
: İstemci bir sunucudan ayrıldığında tetiklenir.
Last updated