protected override void OnRegisterClientSafe(ILowProtocol protocol, Guid clientId) { base.OnRegisterClientSafe(protocol, clientId); if (m_matchServer != null) { m_matchServer.RegisterClient(clientId, error => { if (m_matchServer.HasError(error)) { Log.Error("m_matchServer.RegisterClient. This method should never fail but it does.. " + error.ToString()); } ; }); } }
private void SubmitResponse(ClientRequest request) { m_matchServer.SubmitResponse(m_gSettings.ClientId, request, (error, response) => { if (m_matchServer.HasError(error)) { if (Error != null) { Error(error); } } }); }