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
GUILayoutEntry.cs
Go to the documentation of this file.
1using System;
3
4namespace UnityEngine
5{
6 // Token: 0x02000002 RID: 2
7 internal class GUILayoutEntry
8 {
9 // Token: 0x17000001 RID: 1
10 // (get) Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
11 // (set) Token: 0x06000002 RID: 2 RVA: 0x00002064 File Offset: 0x00000264
13 {
14 get
15 {
16 return this.m_Style;
17 }
18 set
19 {
21 }
22 }
23
24 // Token: 0x17000002 RID: 2
25 // (get) Token: 0x06000003 RID: 3 RVA: 0x00002078 File Offset: 0x00000278
26 public virtual int marginLeft
27 {
28 get
29 {
30 return this.m_Style.margin.left;
31 }
32 }
33
34 // Token: 0x17000003 RID: 3
35 // (get) Token: 0x06000004 RID: 4 RVA: 0x00002098 File Offset: 0x00000298
36 public virtual int marginRight
37 {
38 get
39 {
40 return this.m_Style.margin.right;
41 }
42 }
43
44 // Token: 0x17000004 RID: 4
45 // (get) Token: 0x06000005 RID: 5 RVA: 0x000020B8 File Offset: 0x000002B8
46 public virtual int marginTop
47 {
48 get
49 {
50 return this.m_Style.margin.top;
51 }
52 }
53
54 // Token: 0x17000005 RID: 5
55 // (get) Token: 0x06000006 RID: 6 RVA: 0x000020D8 File Offset: 0x000002D8
56 public virtual int marginBottom
57 {
58 get
59 {
60 return this.m_Style.margin.bottom;
61 }
62 }
63
64 // Token: 0x17000006 RID: 6
65 // (get) Token: 0x06000007 RID: 7 RVA: 0x000020F5 File Offset: 0x000002F5
67 {
68 get
69 {
70 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
71 }
72 }
73
74 // Token: 0x17000007 RID: 7
75 // (get) Token: 0x06000008 RID: 8 RVA: 0x000020F5 File Offset: 0x000002F5
76 public int marginVertical
77 {
78 get
79 {
80 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
81 }
82 }
83
84 // Token: 0x06000009 RID: 9 RVA: 0x00002104 File Offset: 0x00000304
85 public GUILayoutEntry(float _minWidth, float _maxWidth, float _minHeight, float _maxHeight, GUIStyle _style)
86 {
88 if (!true)
89 {
90 }
91 GUIStyle none = GUIStyle.none;
92 this.m_Style = none;
93 base..ctor();
95 if (_style == null)
96 {
97 if (!true)
98 {
99 }
101 }
103 }
104
105 // Token: 0x0600000A RID: 10 RVA: 0x00002150 File Offset: 0x00000350
106 public GUILayoutEntry(float _minWidth, float _maxWidth, float _minHeight, float _maxHeight, GUIStyle _style, GUILayoutOption[] options)
107 {
109 if (!true)
110 {
111 }
112 GUIStyle none = GUIStyle.none;
113 this.m_Style = none;
114 base..ctor();
115 this.m_Style = _style;
116 }
117
118 // Token: 0x0600000B RID: 11 RVA: 0x00002190 File Offset: 0x00000390
119 public virtual void CalcWidth()
120 {
121 }
122
123 // Token: 0x0600000C RID: 12 RVA: 0x000021A0 File Offset: 0x000003A0
124 public virtual void CalcHeight()
125 {
126 }
127
128 // Token: 0x0600000D RID: 13 RVA: 0x000021B0 File Offset: 0x000003B0
129 public virtual void SetHorizontal(float x, float width)
130 {
131 }
132
133 // Token: 0x0600000E RID: 14 RVA: 0x000021C0 File Offset: 0x000003C0
134 public virtual void SetVertical(float y, float height)
135 {
136 }
137
138 // Token: 0x0600000F RID: 15 RVA: 0x000021D0 File Offset: 0x000003D0
139 protected virtual void ApplyStyleSettings(GUIStyle style)
140 {
141 throw new MissingMethodException();
142 }
143
144 // Token: 0x06000010 RID: 16 RVA: 0x00002210 File Offset: 0x00000410
145 public virtual void ApplyOptions(GUILayoutOption[] options)
146 {
147 if (options != null)
148 {
149 object value = options.value;
150 return;
151 }
152 }
153
154 // Token: 0x06000011 RID: 17 RVA: 0x00002288 File Offset: 0x00000488
155 public override string ToString()
156 {
157 if (!true)
158 {
159 }
160 return "" + " ";
161 }
162
163 // Token: 0x06000012 RID: 18 RVA: 0x00002378 File Offset: 0x00000578
164 // Note: this type is marked as 'beforefieldinit'.
166 {
167 }
168
169 // Token: 0x04000001 RID: 1
170 public float minWidth;
171
172 // Token: 0x04000002 RID: 2
173 public float maxWidth;
174
175 // Token: 0x04000003 RID: 3
176 public float minHeight;
177
178 // Token: 0x04000004 RID: 4
179 public float maxHeight;
180
181 // Token: 0x04000005 RID: 5
182 public Rect rect;
183
184 // Token: 0x04000006 RID: 6
185 public int stretchWidth;
186
187 // Token: 0x04000007 RID: 7
188 public int stretchHeight;
189
190 // Token: 0x04000008 RID: 8
191 public bool consideredForMargin = true;
192
193 // Token: 0x04000009 RID: 9
195
196 // Token: 0x0400000A RID: 10
197 internal static Rect kDummyRect;
198
199 // Token: 0x0400000B RID: 11
200 protected static int indent;
201 }
202}
class f__AnonymousType0<< Count > j__TPar
GUILayoutEntry(float _minWidth, float _maxWidth, float _minHeight, float _maxHeight, GUIStyle _style, GUILayoutOption[] options)
GUILayoutEntry(float _minWidth, float _maxWidth, float _minHeight, float _maxHeight, GUIStyle _style)
virtual void ApplyStyleSettings(GUIStyle style)
virtual void SetVertical(float y, float height)
virtual void ApplyOptions(GUILayoutOption[] options)
virtual void SetHorizontal(float x, float width)
RectOffset margin
Definition GUIStyle.cs:246
static GUIStyle none
Definition GUIStyle.cs:295