Elin Modding Docs Doc
Loading...
Searching...
No Matches
TileTypeRoof.cs
1using System;
2
3// Token: 0x020006DE RID: 1758
5{
6 // Token: 0x17000F2C RID: 3884
7 // (get) Token: 0x060032C9 RID: 13001 RVA: 0x00117377 File Offset: 0x00115577
8 public override string LangPlaceType
9 {
10 get
11 {
12 return "place_Roof";
13 }
14 }
15
16 // Token: 0x17000F2D RID: 3885
17 // (get) Token: 0x060032CA RID: 13002 RVA: 0x0011737E File Offset: 0x0011557E
18 public override bool CanStack
19 {
20 get
21 {
22 return false;
23 }
24 }
25
26 // Token: 0x17000F2E RID: 3886
27 // (get) Token: 0x060032CB RID: 13003 RVA: 0x00117381 File Offset: 0x00115581
28 public override bool IsUseBlockDir
29 {
30 get
31 {
32 return true;
33 }
34 }
35
36 // Token: 0x060032CC RID: 13004 RVA: 0x00117384 File Offset: 0x00115584
37 public override bool CanRotate(bool buildMode)
38 {
39 return false;
40 }
41
42 // Token: 0x060032CD RID: 13005 RVA: 0x00117387 File Offset: 0x00115587
43 protected override HitResult HitTest(Point pos)
44 {
45 if (!pos.cell.HasSlope)
46 {
47 return HitResult.Default;
48 }
49 if (pos.HasObj)
50 {
51 return HitResult.Invalid;
52 }
53 return HitResult.Valid;
54 }
55}
Definition Point.cs:11