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
GameObject.cs
Go to the documentation of this file.
1using System;
9
10namespace UnityEngine
11{
12 // Token: 0x020000A0 RID: 160
14 [NativeHeader("Runtime/Export/Scripting/GameObject.bindings.h")]
16 public sealed class GameObject : Object
17 {
18 // Token: 0x060002BA RID: 698 RVA: 0x000021B3 File Offset: 0x000003B3
19 public T GetComponent<T>()
20 {
21 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
22 }
23
24 // Token: 0x060002BB RID: 699 RVA: 0x00005FA4 File Offset: 0x000041A4
25 [TypeInferenceRule(TypeInferenceRules.TypeReferencedByFirstArgument)]
26 [FreeFunction(Name = "GameObjectBindings::GetComponentFromType", HasExplicitThis = true, ThrowsException = true)]
28 {
29 throw new MissingMethodException();
30 }
31
32 // Token: 0x060002BC RID: 700 RVA: 0x00005FB8 File Offset: 0x000041B8
33 [FreeFunction(Name = "GameObjectBindings::GetComponentFastPath", HasExplicitThis = true, ThrowsException = true)]
39
40 // Token: 0x060002BD RID: 701 RVA: 0x00005FCC File Offset: 0x000041CC
41 [TypeInferenceRule(TypeInferenceRules.TypeReferencedByFirstArgument)]
42 [FreeFunction(Name = "GameObjectBindings::GetComponentInChildren", HasExplicitThis = true, ThrowsException = true)]
44 {
45 throw new MissingMethodException();
46 }
47
48 // Token: 0x060002BE RID: 702 RVA: 0x000021B3 File Offset: 0x000003B3
51 {
52 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
53 }
54
55 // Token: 0x060002BF RID: 703 RVA: 0x00005FE0 File Offset: 0x000041E0
56 public T GetComponentInChildren<T>([DefaultValue("false")] bool includeInactive)
57 {
58 Component component;
59 while (component != null)
60 {
61 if (component == null)
62 {
63 throw new InvalidCastException();
64 }
65 }
66 }
67
68 // Token: 0x060002C0 RID: 704 RVA: 0x00005FFC File Offset: 0x000041FC
69 [TypeInferenceRule(TypeInferenceRules.TypeReferencedByFirstArgument)]
70 [FreeFunction(Name = "GameObjectBindings::GetComponentInParent", HasExplicitThis = true, ThrowsException = true)]
72 {
73 throw new MissingMethodException();
74 }
75
76 // Token: 0x060002C1 RID: 705 RVA: 0x000021B3 File Offset: 0x000003B3
79 {
80 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
81 }
82
83 // Token: 0x060002C2 RID: 706 RVA: 0x00006010 File Offset: 0x00004210
84 public T GetComponentInParent<T>([DefaultValue("false")] bool includeInactive)
85 {
86 Component component;
87 while (component != null)
88 {
89 if (component == null)
90 {
91 throw new InvalidCastException();
92 }
93 }
94 }
95
96 // Token: 0x060002C3 RID: 707 RVA: 0x0000602C File Offset: 0x0000422C
97 [FreeFunction(Name = "GameObjectBindings::GetComponentsInternal", HasExplicitThis = true, ThrowsException = true)]
99 {
100 throw new MissingMethodException();
101 }
102
103 // Token: 0x060002C4 RID: 708 RVA: 0x00006040 File Offset: 0x00004240
104 public T[] GetComponents<T>()
105 {
107 do
108 {
109 long num = 0L;
110 long num2 = 0L;
111 long num3 = 0L;
112 Type type;
113 componentsInternal = this.GetComponentsInternal(type, true, num != 0L, true, num2 != 0L, num3);
114 if (componentsInternal == null)
115 {
116 return;
117 }
118 }
119 while (componentsInternal != null);
120 throw new InvalidCastException();
121 }
122
123 // Token: 0x060002C5 RID: 709 RVA: 0x00006074 File Offset: 0x00004274
125 {
126 long num = 0L;
127 long num2 = 0L;
128 Type type;
129 Array componentsInternal = this.GetComponentsInternal(type, true, num != 0L, true, num2 != 0L, results);
130 }
131
132 // Token: 0x060002C6 RID: 710 RVA: 0x00006094 File Offset: 0x00004294
134 {
135 Array array;
136 while (array != null)
137 {
138 if (array == null)
139 {
140 throw new InvalidCastException();
141 }
142 }
143 }
144
145 // Token: 0x060002C7 RID: 711 RVA: 0x000060B0 File Offset: 0x000042B0
149
150 // Token: 0x060002C8 RID: 712 RVA: 0x000021B3 File Offset: 0x000003B3
152 {
153 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
154 }
155
156 // Token: 0x060002C9 RID: 713 RVA: 0x000060C0 File Offset: 0x000042C0
160
161 // Token: 0x060002CA RID: 714 RVA: 0x000060D0 File Offset: 0x000042D0
163 {
164 Array array;
165 while (array != null)
166 {
167 if (array == null)
168 {
169 throw new InvalidCastException();
170 }
171 }
172 }
173
174 // Token: 0x060002CB RID: 715 RVA: 0x000060EC File Offset: 0x000042EC
175 public bool TryGetComponent<T>([Out] T component)
176 {
177 }
178
179 // Token: 0x060002CC RID: 716 RVA: 0x000060FC File Offset: 0x000042FC
180 [FreeFunction(Name = "GameObjectBindings::TryGetComponentFastPath", HasExplicitThis = true, ThrowsException = true)]
183 {
184 throw new MissingMethodException();
185 }
186
187 // Token: 0x060002CD RID: 717 RVA: 0x00006110 File Offset: 0x00004310
188 [FreeFunction(Name = "MonoAddComponentWithType", HasExplicitThis = true)]
190 {
191 throw new MissingMethodException();
192 }
193
194 // Token: 0x060002CE RID: 718 RVA: 0x00006124 File Offset: 0x00004324
195 [TypeInferenceRule(TypeInferenceRules.TypeReferencedByFirstArgument)]
196 public Component AddComponent(Type componentType)
197 {
198 throw new MissingMethodException();
199 }
200
201 // Token: 0x060002CF RID: 719 RVA: 0x00006138 File Offset: 0x00004338
203 {
204 Component component;
205 while (component != null)
206 {
207 if (component == null)
208 {
209 throw new InvalidCastException();
210 }
211 }
212 }
213
214 // Token: 0x170000A5 RID: 165
215 // (get) Token: 0x060002D0 RID: 720 RVA: 0x00006154 File Offset: 0x00004354
217 {
218 [FreeFunction("GameObjectBindings::GetTransform", HasExplicitThis = true)]
219 get
220 {
221 throw new MissingMethodException();
222 }
223 }
224
225 // Token: 0x170000A6 RID: 166
226 // (get) Token: 0x060002D1 RID: 721 RVA: 0x00006168 File Offset: 0x00004368
227 // (set) Token: 0x060002D2 RID: 722 RVA: 0x0000617C File Offset: 0x0000437C
228 public int layer
229 {
230 get
231 {
232 throw new MissingMethodException();
233 }
234 set
235 {
236 throw new MissingMethodException();
237 }
238 }
239
240 // Token: 0x060002D3 RID: 723 RVA: 0x00006190 File Offset: 0x00004390
241 [NativeMethod(Name = "SetSelfActive")]
242 public void SetActive(bool value)
243 {
244 throw new MissingMethodException();
245 }
246
247 // Token: 0x170000A7 RID: 167
248 // (get) Token: 0x060002D4 RID: 724 RVA: 0x000061A4 File Offset: 0x000043A4
249 public bool activeSelf
250 {
251 [NativeMethod(Name = "IsSelfActive")]
252 get
253 {
254 throw new MissingMethodException();
255 }
256 }
257
258 // Token: 0x170000A8 RID: 168
259 // (get) Token: 0x060002D5 RID: 725 RVA: 0x000061B8 File Offset: 0x000043B8
261 {
262 [NativeMethod(Name = "IsActive")]
263 get
264 {
265 throw new MissingMethodException();
266 }
267 }
268
269 // Token: 0x060002D6 RID: 726 RVA: 0x000061CC File Offset: 0x000043CC
270 [FreeFunction(Name = "Scripting::SendScriptingMessage", HasExplicitThis = true)]
271 public void SendMessage(string methodName, [DefaultValue("null")] object value, [DefaultValue("SendMessageOptions.RequireReceiver")] SendMessageOptions options)
272 {
273 throw new MissingMethodException();
274 }
275
276 // Token: 0x060002D7 RID: 727 RVA: 0x000061E0 File Offset: 0x000043E0
277 public GameObject(string name)
278 {
279 if (!true)
280 {
281 }
282 base..ctor();
283 throw new MissingMethodException();
284 }
285
286 // Token: 0x060002D8 RID: 728 RVA: 0x000061FC File Offset: 0x000043FC
287 public GameObject()
288 {
289 if (!true)
290 {
291 }
292 base..ctor();
293 throw new MissingMethodException();
294 }
295
296 // Token: 0x060002D9 RID: 729 RVA: 0x00006218 File Offset: 0x00004418
297 public GameObject(string name, params Type[] components)
298 {
299 if (!true)
300 {
301 }
302 base..ctor();
303 throw new MissingMethodException();
304 }
305
306 // Token: 0x060002DA RID: 730 RVA: 0x0000623C File Offset: 0x0000443C
307 [FreeFunction(Name = "GameObjectBindings::Internal_CreateGameObject")]
308 private static void Internal_CreateGameObject([Writable] GameObject self, string name)
309 {
310 throw new MissingMethodException();
311 }
312
313 // Token: 0x060002DB RID: 731 RVA: 0x00006250 File Offset: 0x00004450
314 [FreeFunction(Name = "GameObjectBindings::Find")]
315 public static GameObject Find(string name)
316 {
317 throw new MissingMethodException();
318 }
319
320 // Token: 0x170000A9 RID: 169
321 // (get) Token: 0x060002DC RID: 732 RVA: 0x00006264 File Offset: 0x00004464
323 {
324 get
325 {
326 return this;
327 }
328 }
329 }
330}
class f__AnonymousType0<< Count > j__TPar
Component GetComponent(Type type)
Definition GameObject.cs:27
bool TryGetComponent< T >([Out] T component)
void TryGetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue)
Component GetComponentInChildren(Type type, bool includeInactive)
Definition GameObject.cs:43
static GameObject Find(string name)
static void Internal_CreateGameObject([Writable] GameObject self, string name)
void GetComponentsInParent< T >(bool includeInactive, List< T > results)
void SendMessage(string methodName, [DefaultValue("null")] object value, [DefaultValue("SendMessageOptions.RequireReceiver")] SendMessageOptions options)
GameObject(string name)
Component GetComponentInParent(Type type, bool includeInactive)
Definition GameObject.cs:71
GameObject(string name, params Type[] components)
void GetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue)
Definition GameObject.cs:35
Component Internal_AddComponentWithType(Type componentType)
Component AddComponent(Type componentType)
void SetActive(bool value)
Array GetComponentsInternal(Type type, bool useSearchTypeAsArrayReturnType, bool recursive, bool includeInactive, bool reverse, object resultList)
Definition GameObject.cs:98