public void PutReputationToEnter(UpdateTopLeagueInfoEvent e, UserWithLeagueNode userWithLeagueNode, [JoinAll] SingleNode <LeagueRewardUIComponent> screen, [JoinAll] TopLeagueNode topLeague)
 {
     screen.component.PlaceInTopLeague = e.Place;
     screen.component.PutReputationToEnter(topLeague.Entity.Id, e.LastPlaceReputation);
     screen.component.UpdateLeagueRewardUI();
 }
Ejemplo n.º 2
0
 public void PutReputationToEnter(UpdateTopLeagueInfoEvent e, SelfUserNode user, [JoinAll] ScreenNode screen, [JoinAll] TopLeagueNode topLeague, [JoinAll] ResultsNode results)
 {
     if (!results.battleResults.ResultForClient.Spectator && screen.battleResultsAwardsScreen.CanShowLeagueProgress())
     {
         screen.battleResultsAwardsScreen.leagueResultUI.PutReputationToEnter(topLeague.Entity.Id, e.LastPlaceReputation);
     }
 }