1using System.Collections.Generic;
55 windows[0].AddBottomButton(
"save", delegate
60 if (!
string.IsNullOrEmpty(text))
75 ELayer.screen.tileMap.usingHouseBoard =
true;
93 List<int> blocks =
new List<int>();
98 if (row.tileType ==
TileType.
Roof && !row.tag.Contains(
"hidden"))
103 num = blocks.IndexOf(
data.idRoofTile);
108 sliderRoof.SetList(num, blocks, delegate(
int a,
int b)
112 }, (
int a) => blocks.IndexOf(a).ToString() ??
"");
113 List<int> ramps =
new List<int>();
121 int num2 = ramps.IndexOf(
data.idRamp);
126 sliderRamp.SetList(num2, ramps, delegate(
int a,
int b)
130 }, (
int a) => ramps.IndexOf(a).ToString() ??
"");
133 data.height = (int)a;
135 return a.ToString() ??
"";
139 data.heightFix = (int)a;
141 return a.ToString() ??
"";
145 data.decoFix = (int)a;
147 return a.ToString() ??
"";
151 data.decoFix2 = (int)a;
153 return a.ToString() ??
"";
157 data.idDeco = (int)a;
159 return a.ToString() ??
"";
163 data.idDeco2 = (int)a;
165 return a.ToString() ??
"";
178 List<int> blocks =
new List<int>();
196 int num2 = blocks.IndexOf(
data.idBlock);
201 sliderBlock.SetList(num2, blocks, delegate(
int a,
int b)
205 }, (
int a) => blocks.IndexOf(a).ToString() ??
"");
212 buttonColorRoof.icon.color = c;
222 buttonColorBlock.icon.color = c;
232 buttonColorDeco.icon.color = c;
242 buttonColorDeco2.icon.color = c;
251 where a.Name.EndsWith(
".tpl")
253 ddTemplate.SetList(0, list, (FileInfo a,
int b) => a.Name, delegate(
int a, FileInfo b)
257 board.data.idBGM = idBGM;
271 ELayer.screen.tileMap.usingHouseBoard =
false;
if(item3.idFile==idFirstFile &&item3.id==idFirstTopic)
void WaitForEndOfFrame(Action action)
static string LotTemplate
static SourceManager sources
static BaseGameScreen screen
static int ToInt(ref Color c)
static Color32 FromInt(int i)
UIButton buttonColorBlock
UISlider sliderWallHeight
void SetBoard(TraitHouseBoard b)
TraitHouseBoard.Data data
UIButton buttonColorDeco2
static string SaveFilePanel(string title, string directory, string defaultName, string extension)
static TileTypeSlope Slope
static TileTypeStairs Stairs
static TileTypeBlock Block