1using System.Collections.Generic;
8 public static Dictionary<int, int>
roofCount =
new Dictionary<int, int>();
102 if (
item.lot !=
this)
114 foreach (KeyValuePair<int, int> item2
in item.roofCount)
125 foreach (KeyValuePair<int, int> item3
in roofCount)
127 if (item3.Value > num)
142 data2.idRoofStyle = ((!EClass._map.IsIndoor && flag) ? 2 : 0);
143 data2.idBlock = defaultRoof.
idBlock;
144 data2.idRamp = defaultRoof.
idRamp;
155 idRoofStyle = ((!EClass._map.IsIndoor && flag) ? 2 : 0);
164 int num3 = (
mx -
x + pointMinX.z -
z) / 2;
165 int num4 = pointMaxX.x - pointMinX.x + pointMaxX.z - pointMinX.z + 1;
166 int num5 = (
mx -
x +
mz -
z) / 2 + 4;
167 int num6 = pointMinX.x + num3 - num5;
168 int num7 = pointMinX.z - num3 + num5;
170 for (
int i = 0; i < num4; i++)
175 for (
int j = 0; j < num5 + 1; j++)
214 if (data.colRoof == 0)
218 if (data.colBlock == 0)
222 if (data.colDeco == 0)
226 if (data.colDeco2 == 0)
300 if (
item.lot !=
null)
307 foreach (
Point point3
in r2.points)
309 if (point3.
Distance(point2) == 1 && r2.data.group ==
item.data.group)
static int GetColorInt(ref Color matColor, int p)
List< DefaultRoof > defaultRoofs
static SourceManager sources
static GameSetting setting
static int ToInt(ref Color c)
static Color32 FromInt(int i)
void AddConnectedRooms(Room r2)
static Dictionary< int, int > roofCount
void RefreshData(TraitHouseBoard.Data data)