void HandleConnectingFailedEvent(NetworkError error) { if (ConnectingFailedEvent != null) { ConnectingFailedEvent.Invoke(error); } }
void HandleConnectingFailed() { m_ServerIp = string.Empty; m_ServerPort = 0; m_Connection = new Connection(NetworkTransport.INVALID_SOCKET, NetworkTransport.INVALID_CONNECTION, false, NetworkError.None); InternalRemoveHost(); ConnectingFailedEvent?.Invoke(m_Connection.LastError); }
void HandleConnectingFailedEvent(NetworkError error) { ConnectingFailedEvent?.Invoke(error); }