private void Callbacks_PlayerConnect(object sender, Communication.EventArguments.Callbacks.PlayerConnectEventArgs e) { if (e.Handled) { return; } RunCatchLog(() => SendUIToPlayer(LastRankings, GetPlayerSettings(e.Login)), "Error in Callbacks_PlayerConnect Method.", true); }
private void Callbacks_PlayerConnect(object sender, Communication.EventArguments.Callbacks.PlayerConnectEventArgs e) { if (e.Handled) { return; } SendPlayerUIToLogin(e.Login); }
private void Callbacks_PlayerConnect(object sender, Communication.EventArguments.Callbacks.PlayerConnectEventArgs e) { if (e.Handled) { return; } RunCatchLog(() => Context.RPCClient.Methods.SendDisplayManialinkPageToLogin(e.Login, GetClockManiaLinkPage(), 0, false), "Error in Callbacks_PlayerConnect Method.", true); }
private void Callbacks_PlayerConnect(object sender, Communication.EventArguments.Callbacks.PlayerConnectEventArgs e) { if (e.Handled) { return; } SendAllVoteManiaLinkPageToLogin(e.Login, _lastAverageVoteValue, _lastVotesCount); double?voteValue = HostPlugin.RatingAdapter.GetVoteByLogin(e.Login, HostPlugin.CurrentChallengeID); SendOwnVoteManiaLinkPageToLogin(e.Login, voteValue); }