Пример #1
0
 public TournamentController()
 {
     TournamentController.LoadTierData();
     Service.Set <TournamentController>(this);
     this.viewedTournaments = new Dictionary <string, bool>();
     this.currentPlayer     = Service.Get <CurrentPlayer>();
     this.currentPlayer.TournamentProgress.RemoveMissingTournamentData();
     this.LoadTournamentViewedData();
     this.UpdateTournamentsData(false);
     Service.Get <EventManager>().RegisterObserver(this, EventId.PlanetRelocate, EventPriority.Default);
     this.conflictPointPopupShown = (Service.Get <SharedPlayerPrefs>().GetPref <int>("ConfPtsPopup") >= 1);
     this.UpdatePlayerRanks();
 }
Пример #2
0
 public unsafe static long $Invoke20(long instance, long *args)
 {
     TournamentController.LoadTierData();
     return(-1L);
 }