1using System.Collections.Generic;
20 int num = packages.IndexOf(p);
21 if (num + a < 0 || num + a >= packages.Count || packages[num + a].builtin)
38 ELayer.config.other.disableMods = on;
43 list.dragScrollView = GetComponentInChildren<UIScrollView>();
44 list.dragViewport =
windows[0].Rect();
45 list.dragEdgeSize = 34f;
59 b.buttonActivate.subText.text = a.
version;
60 b.buttonLock.mainText.text = a.
author;
73 bt.SetOnClick(delegate
87 uIContextMenu.
AddButton(
"mod_publish", delegate
93 ELayer.core.steam.CreateUserContent(a);
103 a.willActivate = !a.willActivate;
104 ELayer.core.mods.SaveLoadOrder();
106 textRestart.SetActive(enable: true);
109 uIContextMenu.
AddButton(
"mod_info", delegate
112 Util.ShowExplorer(a.
dirInfo.FullName +
"/package.xml");
114 uIContextMenu.
Show();
145 uIList2.callbacks = obj;
146 uIList.callbacks = callbacks;
virtual void FreezeScreen(float duration=0.3f)
List< BaseModPackage > packages
void UpdateMeta(bool updateOnly=false)
static void TryWarnUpload(Action action)
static Dialog YesNo(string langDetail, Action actionYes, Action actionNo=null, string langYes="yes", string langNo="no")
void Move(BaseModPackage p, ItemMod b, int a)
UIButton toggleDisableMods
override void Add(object item)