19 this.owner.SetObj(1, value);
25 public override bool IsHomeItem
35 public override bool CanBeMasked
45 public override bool ShouldTryRefreshRoom
55 public override bool MaskOnBuild
65 public override bool ShowContextOnPick
79 return this.owner.IsInstalled && this.owner.pos.cell.room !=
null && this.data !=
null;
84 public void ApplyData()
86 if (this.owner.IsInstalled &&
this.owner.pos.cell.room !=
null)
88 this.owner.pos.cell.room.lot.RefreshData(this.data);
93 public override void TrySetAct(
ActPlan p)
99 Room room = this.owner.pos.cell.room;
104 if (room.lot.board ==
this)
106 p.TrySetAct(
"actLotBGM", delegate()
110 }, this.owner,
null, 1,
false,
true,
false);
111 p.TrySetAct(
"actChangeRoof", delegate()
115 }, this.owner,
null, 1,
false,
true,
false);
120 public override void OnChangePlaceState(PlaceState state)
122 string[] array =
new string[6];
123 array[0] =
"Lot OnChangePlaceState ";
125 Card owner = this.owner;
126 array[num] = ((owner !=
null) ? owner.ToString() :
null);
128 array[3] = this.owner.placeState.ToString();
131 Point pos = this.owner.pos;
132 array[num2] = ((pos !=
null) ? pos.ToString() :
null);
133 Debug.Log(
string.Concat(array));
134 EClass._map.rooms.dirtyLots =
true;
142 public int idRoofStyle;
154 public int heightFix;
158 public int idRoofTile;
162 public int idBlock = 30;