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
Transform.cs
Go to the documentation of this file.
1using System;
8
9namespace UnityEngine
10{
11 // Token: 0x020000E0 RID: 224
13 [NativeHeader("Configuration/UnityConfigure.h")]
14 [NativeHeader("Runtime/Transform/ScriptBindings/TransformScriptBindings.h")]
15 [NativeHeader("Runtime/Transform/Transform.h")]
17 {
18 // Token: 0x06000496 RID: 1174 RVA: 0x000086EC File Offset: 0x000068EC
19 protected Transform()
20 {
21 }
22
23 // Token: 0x170000EC RID: 236
24 // (get) Token: 0x06000497 RID: 1175 RVA: 0x00008700 File Offset: 0x00006900
25 // (set) Token: 0x06000498 RID: 1176 RVA: 0x00008714 File Offset: 0x00006914
27 {
28 get
29 {
30 throw new MissingMethodException();
31 }
32 set
33 {
34 throw new MissingMethodException();
35 }
36 }
37
38 // Token: 0x170000ED RID: 237
39 // (get) Token: 0x06000499 RID: 1177 RVA: 0x00008728 File Offset: 0x00006928
40 // (set) Token: 0x0600049A RID: 1178 RVA: 0x0000873C File Offset: 0x0000693C
42 {
43 get
44 {
45 throw new MissingMethodException();
46 }
47 set
48 {
49 throw new MissingMethodException();
50 }
51 }
52
53 // Token: 0x170000EE RID: 238
54 // (get) Token: 0x0600049B RID: 1179 RVA: 0x00008750 File Offset: 0x00006950
56 {
57 get
58 {
59 /*
60An exception occurred when decompiling this method (0600049B)
61
62ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Vector3 UnityEngine.Transform::get_forward()
63
64 ---> System.Exception: Basic block has to end with unconditional control flow.
65{
66 Block_0:
67 stloc:Quaternion(var_0_06, callgetter:Quaternion(Transform::get_rotation, ldloc:Transform(this)))
68}
69
70 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
71 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
72 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
73 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
74 --- End of inner exception stack trace ---
75 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
76 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
77*/;
78 }
79 }
80
81 // Token: 0x170000EF RID: 239
82 // (get) Token: 0x0600049C RID: 1180 RVA: 0x00008764 File Offset: 0x00006964
84 {
85 get
86 {
87 throw new MissingMethodException();
88 }
89 }
90
91 // Token: 0x170000F0 RID: 240
92 // (get) Token: 0x0600049D RID: 1181 RVA: 0x00008778 File Offset: 0x00006978
93 // (set) Token: 0x0600049E RID: 1182 RVA: 0x0000878C File Offset: 0x0000698C
95 {
96 get
97 {
98 throw new MissingMethodException();
99 }
100 set
101 {
102 throw new MissingMethodException();
103 }
104 }
105
106 // Token: 0x170000F1 RID: 241
107 // (get) Token: 0x0600049F RID: 1183 RVA: 0x000087A0 File Offset: 0x000069A0
108 // (set) Token: 0x060004A0 RID: 1184 RVA: 0x000087B4 File Offset: 0x000069B4
110 {
111 get
112 {
113 throw new MissingMethodException();
114 }
115 set
116 {
117 throw new MissingMethodException();
118 }
119 }
120
121 // Token: 0x170000F2 RID: 242
122 // (get) Token: 0x060004A1 RID: 1185 RVA: 0x000087C8 File Offset: 0x000069C8
123 // (set) Token: 0x060004A2 RID: 1186 RVA: 0x000087DC File Offset: 0x000069DC
125 {
126 get
127 {
128 throw new MissingMethodException();
129 }
130 set
131 {
132 if (this != null)
133 {
134 Debug.LogWarning("Parent of RectTransform is being set with parent property. Consider using the SetParent method instead, with the worldPositionStays argument set to false. This will retain local orientation and scale rather than world orientation and scale, which can prevent common UI scaling issues.", this);
135 }
136 throw new MissingMethodException();
137 }
138 }
139
140 // Token: 0x170000F3 RID: 243
141 // (get) Token: 0x060004A3 RID: 1187 RVA: 0x00008800 File Offset: 0x00006A00
142 // (set) Token: 0x060004A4 RID: 1188 RVA: 0x00008814 File Offset: 0x00006A14
144 {
145 get
146 {
147 throw new MissingMethodException();
148 }
149 set
150 {
151 throw new MissingMethodException();
152 }
153 }
154
155 // Token: 0x060004A5 RID: 1189 RVA: 0x00008828 File Offset: 0x00006A28
157 {
158 throw new MissingMethodException();
159 }
160
161 // Token: 0x060004A6 RID: 1190 RVA: 0x0000883C File Offset: 0x00006A3C
162 public void SetParent(Transform p)
163 {
164 throw new MissingMethodException();
165 }
166
167 // Token: 0x060004A7 RID: 1191 RVA: 0x00008850 File Offset: 0x00006A50
168 [FreeFunction("SetParent", HasExplicitThis = true)]
170 {
171 throw new MissingMethodException();
172 }
173
174 // Token: 0x170000F4 RID: 244
175 // (get) Token: 0x060004A8 RID: 1192 RVA: 0x00008864 File Offset: 0x00006A64
177 {
178 get
179 {
180 throw new MissingMethodException();
181 }
182 }
183
184 // Token: 0x170000F5 RID: 245
185 // (get) Token: 0x060004A9 RID: 1193 RVA: 0x00008878 File Offset: 0x00006A78
187 {
188 get
189 {
190 throw new MissingMethodException();
191 }
192 }
193
194 // Token: 0x060004AA RID: 1194 RVA: 0x0000888C File Offset: 0x00006A8C
195 [NativeMethod("RotateAround")]
196 internal void RotateAroundInternal(Vector3 axis, float angle)
197 {
198 throw new MissingMethodException();
199 }
200
201 // Token: 0x060004AB RID: 1195 RVA: 0x000088A0 File Offset: 0x00006AA0
202 public void Rotate(Vector3 axis, float angle, [DefaultValue("Space.Self")] Space relativeTo)
203 {
205 }
206
207 // Token: 0x060004AC RID: 1196 RVA: 0x000088B8 File Offset: 0x00006AB8
209 {
210 throw new MissingMethodException();
211 }
212
213 // Token: 0x060004AD RID: 1197 RVA: 0x000088CC File Offset: 0x00006ACC
215 {
216 throw new MissingMethodException();
217 }
218
219 // Token: 0x060004AE RID: 1198 RVA: 0x000088E0 File Offset: 0x00006AE0
224
225 // Token: 0x170000F6 RID: 246
226 // (get) Token: 0x060004AF RID: 1199 RVA: 0x000088F4 File Offset: 0x00006AF4
227 public int childCount
228 {
229 [NativeMethod("GetChildrenCount")]
230 get
231 {
232 throw new MissingMethodException();
233 }
234 }
235
236 // Token: 0x060004B0 RID: 1200 RVA: 0x00008908 File Offset: 0x00006B08
237 public void SetAsFirstSibling()
238 {
239 throw new MissingMethodException();
240 }
241
242 // Token: 0x060004B1 RID: 1201 RVA: 0x0000891C File Offset: 0x00006B1C
243 public int GetSiblingIndex()
244 {
245 throw new MissingMethodException();
246 }
247
248 // Token: 0x060004B2 RID: 1202 RVA: 0x00008930 File Offset: 0x00006B30
249 [FreeFunction("Internal_IsChildOrSameTransform", HasExplicitThis = true)]
250 public bool IsChildOf([NotNull("ArgumentNullException")] Transform parent)
251 {
252 throw new MissingMethodException();
253 }
254
255 // Token: 0x060004B3 RID: 1203 RVA: 0x000021B3 File Offset: 0x000003B3
257 {
258 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
259 }
260
261 // Token: 0x060004B4 RID: 1204 RVA: 0x00008944 File Offset: 0x00006B44
263 [FreeFunction("GetChild", HasExplicitThis = true)]
265 {
266 throw new MissingMethodException();
267 }
268
269 // Token: 0x060004B5 RID: 1205 RVA: 0x00008958 File Offset: 0x00006B58
270 private void get_position_Injected([Out] Vector3 ret)
271 {
272 throw new MissingMethodException();
273 }
274
275 // Token: 0x060004B6 RID: 1206 RVA: 0x0000896C File Offset: 0x00006B6C
277 {
278 throw new MissingMethodException();
279 }
280
281 // Token: 0x060004B7 RID: 1207 RVA: 0x00008980 File Offset: 0x00006B80
282 private void get_localPosition_Injected([Out] Vector3 ret)
283 {
284 throw new MissingMethodException();
285 }
286
287 // Token: 0x060004B8 RID: 1208 RVA: 0x00008994 File Offset: 0x00006B94
289 {
290 throw new MissingMethodException();
291 }
292
293 // Token: 0x060004B9 RID: 1209 RVA: 0x000089A8 File Offset: 0x00006BA8
294 private void get_rotation_Injected([Out] Quaternion ret)
295 {
296 throw new MissingMethodException();
297 }
298
299 // Token: 0x060004BA RID: 1210 RVA: 0x000089BC File Offset: 0x00006BBC
301 {
302 throw new MissingMethodException();
303 }
304
305 // Token: 0x060004BB RID: 1211 RVA: 0x000089D0 File Offset: 0x00006BD0
307 {
308 throw new MissingMethodException();
309 }
310
311 // Token: 0x060004BC RID: 1212 RVA: 0x000089E4 File Offset: 0x00006BE4
312 private void get_localScale_Injected([Out] Vector3 ret)
313 {
314 throw new MissingMethodException();
315 }
316
317 // Token: 0x060004BD RID: 1213 RVA: 0x000089F8 File Offset: 0x00006BF8
319 {
320 throw new MissingMethodException();
321 }
322
323 // Token: 0x060004BE RID: 1214 RVA: 0x00008A0C File Offset: 0x00006C0C
325 {
326 throw new MissingMethodException();
327 }
328
329 // Token: 0x060004BF RID: 1215 RVA: 0x00008A20 File Offset: 0x00006C20
331 {
332 throw new MissingMethodException();
333 }
334
335 // Token: 0x060004C0 RID: 1216 RVA: 0x00008A34 File Offset: 0x00006C34
337 {
338 throw new MissingMethodException();
339 }
340
341 // Token: 0x060004C1 RID: 1217 RVA: 0x00008A48 File Offset: 0x00006C48
342 private void TransformDirection_Injected(Vector3 direction, [Out] Vector3 ret)
343 {
344 throw new MissingMethodException();
345 }
346
347 // Token: 0x060004C2 RID: 1218 RVA: 0x00008A5C File Offset: 0x00006C5C
349 {
350 throw new MissingMethodException();
351 }
352
353 // Token: 0x060004C3 RID: 1219 RVA: 0x00008A70 File Offset: 0x00006C70
355 {
356 throw new MissingMethodException();
357 }
358
359 // Token: 0x020000E1 RID: 225
360 private class Enumerator : IEnumerator
361 {
362 // Token: 0x060004C4 RID: 1220 RVA: 0x00008A84 File Offset: 0x00006C84
364 {
366 }
367
368 // Token: 0x170000F7 RID: 247
369 // (get) Token: 0x060004C5 RID: 1221 RVA: 0x00008AA0 File Offset: 0x00006CA0
370 public object Current
371 {
372 get
373 {
375 int num = this.currentIndex;
376 throw new MissingMethodException();
377 }
378 }
379
380 // Token: 0x060004C6 RID: 1222 RVA: 0x00008AC0 File Offset: 0x00006CC0
381 public bool MoveNext()
382 {
384 throw new MissingMethodException();
385 }
386
387 // Token: 0x060004C7 RID: 1223 RVA: 0x00008AE8 File Offset: 0x00006CE8
388 public void Reset()
389 {
390 }
391
392 // Token: 0x040003DC RID: 988
394
395 // Token: 0x040003DD RID: 989
396 private int currentIndex;
397 }
398 }
399}
class f__AnonymousType0<< Count > j__TPar
static void LogWarning(object message)
Definition Debug.cs:117
IEnumerator GetEnumerator()
Definition Transform.cs:256
void SetParent(Transform parent, bool worldPositionStays)
Definition Transform.cs:169
Quaternion localRotation
Definition Transform.cs:95
Vector3 InverseTransformPoint(Vector3 position)
Definition Transform.cs:220
void Rotate(Vector3 axis, float angle, [DefaultValue("Space.Self")] Space relativeTo)
Definition Transform.cs:202
Transform GetParent()
Definition Transform.cs:156
Matrix4x4 localToWorldMatrix
Definition Transform.cs:187
void get_localToWorldMatrix_Injected([Out] Matrix4x4 ret)
Definition Transform.cs:330
void set_position_Injected(Vector3 value)
Definition Transform.cs:276
Quaternion rotation
Definition Transform.cs:84
bool IsChildOf([NotNull("ArgumentNullException")] Transform parent)
Definition Transform.cs:250
void RotateAroundInternal(Vector3 axis, float angle)
Definition Transform.cs:196
Vector3 TransformDirection(Vector3 direction)
Definition Transform.cs:208
void TransformDirection_Injected(Vector3 direction, [Out] Vector3 ret)
Definition Transform.cs:342
void get_localScale_Injected([Out] Vector3 ret)
Definition Transform.cs:312
void get_rotation_Injected([Out] Quaternion ret)
Definition Transform.cs:294
void set_localScale_Injected(Vector3 value)
Definition Transform.cs:318
void RotateAroundInternal_Injected(Vector3 axis, float angle)
Definition Transform.cs:336
void get_worldToLocalMatrix_Injected([Out] Matrix4x4 ret)
Definition Transform.cs:324
void TransformPoint_Injected(Vector3 position, [Out] Vector3 ret)
Definition Transform.cs:348
Matrix4x4 worldToLocalMatrix
Definition Transform.cs:177
Transform GetChild(int index)
Definition Transform.cs:264
void InverseTransformPoint_Injected(Vector3 position, [Out] Vector3 ret)
Definition Transform.cs:354
void get_localRotation_Injected([Out] Quaternion ret)
Definition Transform.cs:300
Transform parentInternal
Definition Transform.cs:144
Vector3 TransformPoint(Vector3 position)
Definition Transform.cs:214
void set_localPosition_Injected(Vector3 value)
Definition Transform.cs:288
void SetParent(Transform p)
Definition Transform.cs:162
void get_position_Injected([Out] Vector3 ret)
Definition Transform.cs:270
void set_localRotation_Injected(Quaternion value)
Definition Transform.cs:306
void get_localPosition_Injected([Out] Vector3 ret)
Definition Transform.cs:282