terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
CachedGridLayoutSettings.cs
Go to the documentation of this file.
1using System;
3
4// Token: 0x02000197 RID: 407
6{
7 // Token: 0x06000B5D RID: 2909 RVA: 0x00039444 File Offset: 0x00037644
8 public bool Dirty(ItemGrid_Layout layout)
9 {
10 if (!true)
11 {
12 }
13 bool horizontal = layout.Horizontal;
14 bool horizontal2 = this.Horizontal;
17 int itemCount = layout.ItemCount;
18 int itemCount2 = this.ItemCount;
19 int itemLineCount = layout.ItemLineCount;
21 float x = layout.PickingBorder.X;
22 float y = layout.PickingBorder.Y;
23 float x2 = this.PickingBorder.X;
24 float y2 = this.PickingBorder.Y;
25 if (itemLineCount2 == 0)
26 {
27 }
28 float x3 = layout.PickingOffset.X;
29 float y3 = layout.PickingOffset.Y;
30 float x4 = this.PickingOffset.X;
31 float y4 = this.PickingOffset.Y;
32 float x5 = layout.ExtraElementSpacing.X;
33 float y5 = layout.ExtraElementSpacing.Y;
34 float x6 = this.ExtraElementSpacing.X;
35 float y6 = this.ExtraElementSpacing.Y;
36 ControlAnchor.ControlId firstAnchorControl = layout.FirstAnchorControl;
38 LayoutCalculator.AnchorType firstItemAnchor = layout.FirstItemAnchor;
40 float x7 = layout.FirstItemLocation.X;
41 float y7 = layout.FirstItemLocation.Y;
42 float x8 = this.FirstItemLocation.X;
43 float y8 = this.FirstItemLocation.Y;
44 if (firstItemAnchor == (LayoutCalculator.AnchorType)0)
45 {
46 }
47 int screenWidth = this.ScreenWidth;
48 int screenHeight = this.ScreenHeight;
49 bool flag;
50 return flag;
51 }
52
53 // Token: 0x06000B5E RID: 2910 RVA: 0x000395A8 File Offset: 0x000377A8
54 public void Cache(ItemGrid_Layout layout)
55 {
56 bool horizontal = layout.Horizontal;
57 this.Horizontal = horizontal;
58 int itemLineCount = layout.ItemLineCount;
60 Vector2 pickingBorder = layout.PickingBorder;
62 Vector2 pickingOffset = layout.PickingOffset;
64 Vector2 extraElementSpacing = layout.ExtraElementSpacing;
66 ControlAnchor.ControlId firstAnchorControl = layout.FirstAnchorControl;
68 Vector2 firstItemLocation = layout.FirstItemLocation;
70 if (firstItemLocation == null)
71 {
72 }
73 }
74
75 // Token: 0x06000B5F RID: 2911 RVA: 0x00039624 File Offset: 0x00037824
77 {
78 }
79
80 // Token: 0x04000CB6 RID: 3254
81 public bool Horizontal;
82
83 // Token: 0x04000CB7 RID: 3255
85
86 // Token: 0x04000CB8 RID: 3256
87 public int ItemCount;
88
89 // Token: 0x04000CB9 RID: 3257
90 public int ItemLineCount;
91
92 // Token: 0x04000CBA RID: 3258
94
95 // Token: 0x04000CBB RID: 3259
97
98 // Token: 0x04000CBC RID: 3260
100
101 // Token: 0x04000CBD RID: 3261
103
104 // Token: 0x04000CBE RID: 3262
106
107 // Token: 0x04000CBF RID: 3263
109
110 // Token: 0x04000CC0 RID: 3264
111 public int ScreenWidth;
112
113 // Token: 0x04000CC1 RID: 3265
114 public int ScreenHeight;
115}
class f__AnonymousType0<< Count > j__TPar
void Cache(ItemGrid_Layout layout)
ItemGrid_Layout.ReorderStyle Reorder
bool Dirty(ItemGrid_Layout layout)
ControlAnchor.ControlId FirstAnchorControl
LayoutCalculator.AnchorType FirstItemAnchor
Vector2 FirstItemLocation
Vector2 ExtraElementSpacing