terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
GameObjectExtensions.cs
Go to the documentation of this file.
1using System;
6using UnityEngine;
7
8[global::Cpp2ILInjected.Token(Token = "0x20002FD")]
9public static class GameObjectExtensions
10{
11 [global::Cpp2ILInjected.Token(Token = "0x60011B9")]
12 [global::Cpp2ILInjected.Address(RVA = "0xA6E514", Offset = "0xA6E514", Length = "0xCC")]
13 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LocalUser), Member = "GetCamera", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Camera))]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DistortionRenderTargetManager), Member = "get_Instance", ReturnType = typeof(DistortionRenderTargetManager))]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaterRenderTargetManager), Member = "get_Instance", ReturnType = typeof(WaterRenderTargetManager))]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GeometryBufferInstanceList), Member = "SetupParent", ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "op_Inequality", MemberParameters = new object[]
19 {
20 typeof(global::UnityEngine.Object),
21 typeof(global::UnityEngine.Object)
22 }, ReturnType = typeof(bool))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GameObject), Member = "get_transform", ReturnType = typeof(Transform))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TransformExtensions), Member = "FindInChildren", MemberParameters = new object[]
25 {
27 typeof(string)
28 }, ReturnType = typeof(Transform))]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Component), Member = "get_gameObject", ReturnType = typeof(GameObject))]
30 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
31 public static GameObject FindInChildren(this GameObject gameObject, string name)
32 {
33 throw null;
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x60011BA")]
37 [global::Cpp2ILInjected.Address(RVA = "0x158AE00", Offset = "0x158AE00", Length = "0x9C")]
38 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "op_Inequality", MemberParameters = new object[]
41 {
42 typeof(global::UnityEngine.Object),
43 typeof(global::UnityEngine.Object)
44 }, ReturnType = typeof(bool))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GameObject), Member = "get_transform", ReturnType = typeof(Transform))]
46 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
47 public static T FindInChildren<T>(this GameObject gameObject) where T : Component
48 {
49 throw null;
50 }
51
52 [global::Cpp2ILInjected.Token(Token = "0x60011BB")]
53 [global::Cpp2ILInjected.Address(RVA = "0x158AE9C", Offset = "0x158AE9C", Length = "0x9C")]
54 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "op_Inequality", MemberParameters = new object[]
57 {
58 typeof(global::UnityEngine.Object),
59 typeof(global::UnityEngine.Object)
60 }, ReturnType = typeof(bool))]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GameObject), Member = "get_transform", ReturnType = typeof(Transform))]
62 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
63 public static T FindInObjectOrChildren<T>(this GameObject gameObject) where T : Component
64 {
65 throw null;
66 }
67
68 [global::Cpp2ILInjected.Token(Token = "0x60011BC")]
69 [global::Cpp2ILInjected.Address(RVA = "0x158B0B4", Offset = "0x158B0B4", Length = "0x100")]
70 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
71 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
73 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
74 public static T[] GetComponentsInObjectChildren<T>(this GameObject gameObject) where T : Component
75 {
76 throw null;
77 }
78
79 [global::Cpp2ILInjected.Token(Token = "0x60011BD")]
80 [global::Cpp2ILInjected.Address(RVA = "0x158B018", Offset = "0x158B018", Length = "0x9C")]
81 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
82 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "op_Inequality", MemberParameters = new object[]
84 {
85 typeof(global::UnityEngine.Object),
86 typeof(global::UnityEngine.Object)
87 }, ReturnType = typeof(bool))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GameObject), Member = "get_transform", ReturnType = typeof(Transform))]
89 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
90 public static T FindInParents<T>(this GameObject gameObject) where T : Component
91 {
92 throw null;
93 }
94
95 [global::Cpp2ILInjected.Token(Token = "0x60011BE")]
96 [global::Cpp2ILInjected.Address(RVA = "0x158AF38", Offset = "0x158AF38", Length = "0xE0")]
97 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
98 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
99 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "op_Inequality", MemberParameters = new object[]
101 {
102 typeof(global::UnityEngine.Object),
103 typeof(global::UnityEngine.Object)
104 }, ReturnType = typeof(bool))]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "op_Equality", MemberParameters = new object[]
106 {
107 typeof(global::UnityEngine.Object),
108 typeof(global::UnityEngine.Object)
109 }, ReturnType = typeof(bool))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GameObject), Member = "get_transform", ReturnType = typeof(Transform))]
111 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
112 public static T FindInObjectOrParents<T>(this GameObject gameObject) where T : Component
113 {
114 throw null;
115 }
116
117 [global::Cpp2ILInjected.Token(Token = "0x60011BF")]
118 [global::Cpp2ILInjected.Address(RVA = "0xA6E6DC", Offset = "0xA6E6DC", Length = "0x90")]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GameObjectExtensions), Member = "InstantiatePrefabAsChild", MemberParameters = new object[]
120 {
123 }, ReturnType = typeof(GameObject))]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GeometryBufferInstanceList), Member = "GetBatchInstance", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(GeometryBufferInstance))]
125 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GeometryBufferInstanceList), Member = "GetInstance", MemberParameters = new object[]
126 {
128 typeof(short[]),
129 typeof(int),
130 typeof(int),
131 typeof(int)
132 }, ReturnType = typeof(GeometryBufferInstance))]
133 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GeometryBufferInstanceList), Member = "GetInstance", MemberParameters = new object[]
134 {
140 typeof(int)
141 }, ReturnType = typeof(GeometryBufferInstance))]
142 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "op_Inequality", MemberParameters = new object[]
144 {
145 typeof(global::UnityEngine.Object),
146 typeof(global::UnityEngine.Object)
147 }, ReturnType = typeof(bool))]
148 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GameObject), Member = "get_transform", ReturnType = typeof(Transform))]
149 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
150 public static void SetLayer(this GameObject gameObject, int layer)
151 {
152 throw null;
153 }
154
155 [global::Cpp2ILInjected.Token(Token = "0x60011C0")]
156 [global::Cpp2ILInjected.Address(RVA = "0xA6E7F0", Offset = "0xA6E7F0", Length = "0x1C0")]
157 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "Instantiate", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "T" }, ReturnType = "T")]
159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "op_Inequality", MemberParameters = new object[]
160 {
161 typeof(global::UnityEngine.Object),
162 typeof(global::UnityEngine.Object)
163 }, ReturnType = typeof(bool))]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GameObject), Member = "get_transform", ReturnType = typeof(Transform))]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Transform), Member = "set_parent", MemberParameters = new object[] { typeof(Transform) }, ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Transform), Member = "set_localPosition", MemberParameters = new object[] { typeof(Vector3) }, ReturnType = typeof(void))]
167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Transform), Member = "set_localRotation", MemberParameters = new object[] { typeof(Quaternion) }, ReturnType = typeof(void))]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Transform), Member = "set_localScale", MemberParameters = new object[] { typeof(Vector3) }, ReturnType = typeof(void))]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GameObject), Member = "get_layer", ReturnType = typeof(int))]
170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GameObjectExtensions), Member = "SetLayer", MemberParameters = new object[]
171 {
173 typeof(int)
174 }, ReturnType = typeof(void))]
175 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
177 {
178 throw null;
179 }
180
181 [global::Cpp2ILInjected.Token(Token = "0x60011C1")]
182 [global::Cpp2ILInjected.Address(RVA = "0xA6E9B0", Offset = "0xA6E9B0", Length = "0x14")]
183 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
184 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GameObject), Member = "get_transform", ReturnType = typeof(Transform))]
185 public static string GetPath(this GameObject gameObject)
186 {
187 throw null;
188 }
189
190 [global::Cpp2ILInjected.Token(Token = "0x60011C2")]
191 [global::Cpp2ILInjected.Address(RVA = "0xA6EAA8", Offset = "0xA6EAA8", Length = "0xA8")]
192 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
193 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GameObject), Member = "get_transform", ReturnType = typeof(Transform))]
194 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Transform), Member = "get_parent", ReturnType = typeof(Transform))]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "op_Inequality", MemberParameters = new object[]
196 {
197 typeof(global::UnityEngine.Object),
198 typeof(global::UnityEngine.Object)
199 }, ReturnType = typeof(bool))]
200 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Component), Member = "get_gameObject", ReturnType = typeof(GameObject))]
201 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
202 public static GameObject Parent(this GameObject gameObject)
203 {
204 throw null;
205 }
206}
class f__AnonymousType0<< Count > j__TPar
static GameObject FindInChildren(this GameObject gameObject, string name)
static GameObject InstantiatePrefabAsChild(this GameObject gameObject, GameObject prefab)
static string GetPath(this GameObject gameObject)
static T FindInChildren< T >(this GameObject gameObject)
static void SetLayer(this GameObject gameObject, int layer)
static GameObject Parent(this GameObject gameObject)
static T FindInObjectOrParents< T >(this GameObject gameObject)
static T FindInObjectOrChildren< T >(this GameObject gameObject)
static T[] GetComponentsInObjectChildren< T >(this GameObject gameObject)
static T FindInParents< T >(this GameObject gameObject)