2using System.Collections.Generic;
62 for (
int i = 0; i < 100; i++)
92 for (
int i = 0; i < 100; i++)
103 return points.RandomItem();
113 plate.areaData.type =
type;
124 bool flag =
seed != -1;
139 HashSet<string> hashSet =
new HashSet<string>();
141 foreach (
string item in list)
151 list = thing.
source.GetTextArray(
"roomName");
152 foreach (
string item2
in list)
170 return new List<Interaction>
180 uIContextMenu.AddButton(((
data.
accessType == t) ?
"context_checker".lang() :
"") + (
"access_" + t).lang(), delegate
185 plate.areaData.accessType = data.accessType;
190 CursorSystem.ignoreCount = 5;
191 uIContextMenu.Show();
206 plate.areaData.name = text;
214 text =
"toggleShowWallItem".lang() +
"(" + (data.showWallItem ?
"on" :
"off").lang() +
")",
223 text =
"toggleAtrium".lang() +
"(" + (data.atrium ?
"on" :
"off").lang() +
")",
236 text =
"limitRoomHeight",
239 List<string> list2 =
new List<string>();
243 for (
int j = 1; j < 10; j++)
245 list2.Add(j.ToString() ??
"");
248 }, delegate(
int a,
string b)
250 data.maxHeight = a + 1;
253 plate.areaData.maxHeight = a + 1;
261 text =
"changeGroup",
264 List<string> list =
new List<string>();
268 for (
int i = 0; i < 5; i++)
270 list.Add(i.ToString() ??
"");
273 }, delegate(
int a,
string b)
278 plate.areaData.group = a;
BaseArea.AccessType accessType
void SetRandomName(int seed=-1)
void WriteNote(UINote n, Action< UINote > onWriteNote=null, IInspect.NoteMode mode=IInspect.NoteMode.Default, Recipe recipe=null)
List< Interaction > ListInteractions()
int GetSortVal(UIList.SortMode m)
void ChangeType(string _id)
string GetRandomName(int seed=-1)
HashSet< string > ListRoomNames()
virtual Point GetRandomPoint(bool walkable=true, bool allowChara=true)
static Dialog InputName(string langDetail, string text, Action< bool, string > onClose, InputType inputType=InputType.Default)
static FactionBranch Branch
static string[] GetList(string id)
static void SetSeed(int a=-1)
UIItem AddHeaderCard(string text, Sprite sprite=null)