/// <summary> /// При подключении клиента /// </summary> void OnClientConnect(NetworkMessage msg) { if (_connectionId == -1) { _connectionId = msg.conn.connectionId; ServerEvent.ClientConnected(msg); } }