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(); }
public unsafe static long $Invoke20(long instance, long *args) { TournamentController.LoadTierData(); return(-1L); }