예제 #1
0
        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);
        }
예제 #2
0
        private void Callbacks_PlayerConnect(object sender, Communication.EventArguments.Callbacks.PlayerConnectEventArgs e)
        {
            if (e.Handled)
            {
                return;
            }

            SendPlayerUIToLogin(e.Login);
        }
예제 #3
0
        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);
        }
예제 #4
0
        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);
        }