Esempio n. 1
0
        public new void Unselect()
        {
            orig_Unselect();

            // reset the level set picker when we exit out of the file select slot.
            newGameLevelSetPicker = null;
        }
Esempio n. 2
0
        public new void CreateButtons()
        {
            orig_CreateButtons();

            if (Everest.Flags.IsDisabled || !CoreModule.Settings.ShowModOptionsInGame)
            {
                return;
            }

            if (!Exists)
            {
                if (AreaData.Areas.Select(area => area.GetLevelSet()).Distinct().Count() > 1)
                {
                    buttons.Add(newGameLevelSetPicker = new OuiFileSelectSlotLevelSetPicker(this));
                }
            }

            patch_SaveData.LoadModSaveData(FileSlot);
            Everest.Events.FileSelectSlot.HandleCreateButtons(buttons, this, Exists);
        }