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
Vector4.cs
Go to the documentation of this file.
1using System;
9
10namespace UnityEngine
11{
12 [NativeClass("Vector4f")]
13 [NativeHeader("Runtime/Math/Vector4.h")]
15 [RequiredByNativeCode(Optional = true, GenerateProxy = true)]
16 [global::Cpp2ILInjected.Token(Token = "0x20000CC")]
17 public struct Vector4 : IEquatable<Vector4>, IFormattable
18 {
19 [global::Cpp2ILInjected.Token(Token = "0x170000C2")]
20 public float this[int index]
21 {
22 [global::Cpp2ILInjected.Token(Token = "0x60003BA")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1F8050C", Offset = "0x1F8050C", Length = "0x90")]
24 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IndexOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
27 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
28 [MethodImpl(256)]
29 get
30 {
31 throw null;
32 }
33 [global::Cpp2ILInjected.Token(Token = "0x60003BB")]
34 [global::Cpp2ILInjected.Address(RVA = "0x1F8059C", Offset = "0x1F8059C", Length = "0x90")]
35 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
36 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IndexOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
38 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
39 [MethodImpl(256)]
40 set
41 {
42 throw null;
43 }
44 }
45
46 [global::Cpp2ILInjected.Token(Token = "0x60003BC")]
47 [global::Cpp2ILInjected.Address(RVA = "0x1F8062C", Offset = "0x1F8062C", Length = "0xC")]
48 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
49 [MethodImpl(256)]
50 public Vector4(float x, float y, float z, float w)
51 {
52 throw null;
53 }
54
55 [global::Cpp2ILInjected.Token(Token = "0x60003BD")]
56 [global::Cpp2ILInjected.Address(RVA = "0x1F80638", Offset = "0x1F80638", Length = "0x64")]
57 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(float), Member = "GetHashCode", ReturnType = typeof(int))]
59 [MethodImpl(256)]
60 public override int GetHashCode()
61 {
62 throw null;
63 }
64
65 [global::Cpp2ILInjected.Token(Token = "0x60003BE")]
66 [global::Cpp2ILInjected.Address(RVA = "0x1F8069C", Offset = "0x1F8069C", Length = "0xA8")]
67 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
68 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
69 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
70 [MethodImpl(256)]
71 public override bool Equals(object other)
72 {
73 throw null;
74 }
75
76 [global::Cpp2ILInjected.Token(Token = "0x60003BF")]
77 [global::Cpp2ILInjected.Address(RVA = "0x1F80744", Offset = "0x1F80744", Length = "0x3C")]
78 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
79 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
80 [MethodImpl(256)]
81 public bool Equals(Vector4 other)
82 {
83 throw null;
84 }
85
86 [global::Cpp2ILInjected.Token(Token = "0x60003C0")]
87 [global::Cpp2ILInjected.Address(RVA = "0x1F80780", Offset = "0x1F80780", Length = "0x20")]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
89 [MethodImpl(256)]
90 public static float Dot(Vector4 a, Vector4 b)
91 {
92 throw null;
93 }
94
95 [global::Cpp2ILInjected.Token(Token = "0x170000C3")]
96 public float sqrMagnitude
97 {
98 [global::Cpp2ILInjected.Token(Token = "0x60003C1")]
99 [global::Cpp2ILInjected.Address(RVA = "0x1F807A0", Offset = "0x1F807A0", Length = "0x28")]
100 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
101 [MethodImpl(256)]
102 get
103 {
104 throw null;
105 }
106 }
107
108 [global::Cpp2ILInjected.Token(Token = "0x170000C4")]
109 public static Vector4 zero
110 {
111 [global::Cpp2ILInjected.Token(Token = "0x60003C2")]
112 [global::Cpp2ILInjected.Address(RVA = "0x1F807C8", Offset = "0x1F807C8", Length = "0x4C")]
113 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
114 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
115 [MethodImpl(256)]
116 get
117 {
118 throw null;
119 }
120 }
121
122 [global::Cpp2ILInjected.Token(Token = "0x170000C5")]
123 public static Vector4 one
124 {
125 [global::Cpp2ILInjected.Token(Token = "0x60003C3")]
126 [global::Cpp2ILInjected.Address(RVA = "0x1F80814", Offset = "0x1F80814", Length = "0x4C")]
127 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
128 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
129 [MethodImpl(256)]
130 get
131 {
132 throw null;
133 }
134 }
135
136 [global::Cpp2ILInjected.Token(Token = "0x60003C4")]
137 [global::Cpp2ILInjected.Address(RVA = "0x1F80860", Offset = "0x1F80860", Length = "0x14")]
138 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
139 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
140 [MethodImpl(256)]
141 public static Vector4 operator /(Vector4 a, float d)
142 {
143 throw null;
144 }
145
146 [global::Cpp2ILInjected.Token(Token = "0x60003C5")]
147 [global::Cpp2ILInjected.Address(RVA = "0x1F80874", Offset = "0x1F80874", Length = "0x40")]
148 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
149 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
150 [MethodImpl(256)]
151 public static bool operator ==(Vector4 lhs, Vector4 rhs)
152 {
153 throw null;
154 }
155
156 [global::Cpp2ILInjected.Token(Token = "0x60003C6")]
157 [global::Cpp2ILInjected.Address(RVA = "0x1F808B4", Offset = "0x1F808B4", Length = "0x8")]
158 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
159 [MethodImpl(256)]
160 public static implicit operator Vector4(Vector3 v)
161 {
162 throw null;
163 }
164
165 [global::Cpp2ILInjected.Token(Token = "0x60003C7")]
166 [global::Cpp2ILInjected.Address(RVA = "0x1F808BC", Offset = "0x1F808BC", Length = "0xC")]
167 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
168 [MethodImpl(256)]
169 public static implicit operator Vector4(Vector2 v)
170 {
171 throw null;
172 }
173
174 [global::Cpp2ILInjected.Token(Token = "0x60003C8")]
175 [global::Cpp2ILInjected.Address(RVA = "0x1F808C8", Offset = "0x1F808C8", Length = "0xC")]
176 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
177 public override string ToString()
178 {
179 throw null;
180 }
181
182 [global::Cpp2ILInjected.Token(Token = "0x60003C9")]
183 [global::Cpp2ILInjected.Address(RVA = "0x1F808D4", Offset = "0x1F808D4", Length = "0x1CC")]
184 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
185 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
187 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureInfo), Member = "get_InvariantCulture", ReturnType = typeof(CultureInfo))]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(float), Member = "ToString", MemberParameters = new object[]
189 {
190 typeof(string),
192 }, ReturnType = typeof(string))]
193 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "UnityEngine.UnityString", Member = "Format", MemberParameters = new object[]
194 {
195 typeof(string),
196 typeof(object[])
197 }, ReturnType = typeof(string))]
198 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
200 {
201 throw null;
202 }
203
204 // Note: this type is marked as 'beforefieldinit'.
205 [global::Cpp2ILInjected.Token(Token = "0x60003CA")]
206 [global::Cpp2ILInjected.Address(RVA = "0x1F80AA0", Offset = "0x1F80AA0", Length = "0x74")]
207 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
208 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
209 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
210 static Vector4()
211 {
212 throw null;
213 }
214
215 [global::Cpp2ILInjected.Token(Token = "0x40003A3")]
216 public const float kEpsilon = 1E-05f;
217
218 [global::Cpp2ILInjected.Token(Token = "0x40003A4")]
219 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
220 public float x;
221
222 [global::Cpp2ILInjected.Token(Token = "0x40003A5")]
223 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
224 public float y;
225
226 [global::Cpp2ILInjected.Token(Token = "0x40003A6")]
227 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
228 public float z;
229
230 [global::Cpp2ILInjected.Token(Token = "0x40003A7")]
231 [global::Cpp2ILInjected.FieldOffset(Offset = "0xC")]
232 public float w;
233
234 [global::Cpp2ILInjected.Token(Token = "0x40003A8")]
236
237 [global::Cpp2ILInjected.Token(Token = "0x40003A9")]
238 private static readonly Vector4 oneVector;
239
240 [global::Cpp2ILInjected.Token(Token = "0x40003AA")]
242
243 [global::Cpp2ILInjected.Token(Token = "0x40003AB")]
245 }
246}
class f__AnonymousType0<< Count > j__TPar
override bool Equals(object other)
Definition Vector4.cs:71
Vector4(float x, float y, float z, float w)
Definition Vector4.cs:50
static readonly Vector4 zeroVector
Definition Vector4.cs:235
static bool operator==(Vector4 lhs, Vector4 rhs)
Definition Vector4.cs:151
static Vector4 one
Definition Vector4.cs:124
bool Equals(Vector4 other)
Definition Vector4.cs:81
override int GetHashCode()
Definition Vector4.cs:60
override string ToString()
Definition Vector4.cs:177
static Vector4 operator/(Vector4 a, float d)
Definition Vector4.cs:141
static readonly Vector4 positiveInfinityVector
Definition Vector4.cs:241
static Vector4 zero
Definition Vector4.cs:110
static readonly Vector4 negativeInfinityVector
Definition Vector4.cs:244
static readonly Vector4 oneVector
Definition Vector4.cs:238
static float Dot(Vector4 a, Vector4 b)
Definition Vector4.cs:90
string ToString(string format, IFormatProvider formatProvider)
Definition Vector4.cs:199