1using System.Collections.Generic;
 
  100            uIButton.SetOnClick(delegate
 
  107            ELayer.player.showWorkaround = a;
 
  160                if (itemSlider == 
null)
 
  171                    b.GetComponentInChildren<
UISlider>().SetSlider(itemSlider.
GetInt(), delegate(
float a)
 
  173                        itemSlider.
SetInt((
int)a);
 
  175                    }, 0, itemSlider.
max, notify: 
false);
 
  177                bool flag = item.id == 
"permadeath" && !
IsEmbark && !
item.WasSealed();
 
  180                b.
icon.SetAlpha((
item.grade < 0 || 
item.IsSealed()) ? 1f : 0.3f);
 
  182                b.
icon.SetNativeSize();
 
  183                b.GetOrCreate<CanvasGroup>().alpha = (flag ? 0.5f : 1f);
 
  184                string text = 
"pp_" + item.id + 
"_hint";
 
  186                b.tooltip.enable = 
Lang.
Has(text);
 
  187                b.interactable = !flag;
 
  197                    b.
icon.SetAlpha((
item.grade < 0 || 
item.IsSealed()) ? 1f : 0.3f);
 
  230                if (
item.IsModified())
 
  236        ELayer.game.principal = 
pp;
 
  239            ELayer.player.resetPrincipal = 
false;
 
void SetFeat(int id, int value=1, bool msg=false)
static GameSetting setting
Func< int, string > funcText
HashSet< string > modified
List< GamePrincipal > principals
static string[] GetList(string id)
static bool Has(string id)
static LayerDrama Instance
static LayerDrama ActivateMain(string idSheet, string idStep=null, Chara target=null, Card ref1=null, string tag="")
UIButton togglePermadeath
UIButton toggleUsermapBenefit
UIButton buttonWorkaround
UIButton toggleInfiniteMarketFund
UIButton toggleDeathPenaltyProtection
void SetTemplate(int idx)
UISelectableGroup groupTemplate
List< UIButton > buttonTemplates
UIButton toggleManualSave
void Select(UIButton button, bool check=true)