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
Rg32.cs
Go to the documentation of this file.
1
using
System
;
2
using
Cpp2IlInjected
;
3
4
namespace
Microsoft.Xna.Framework.Graphics.PackedVector
5
{
6
// Token: 0x020003BE RID: 958
7
public
struct
Rg32
:
IPackedVector
<uint>,
IPackedVector
,
IEquatable
<Rg32>
8
{
9
// Token: 0x1700036B RID: 875
10
// (get) Token: 0x060019F0 RID: 6640 RVA: 0x000021DB File Offset: 0x000003DB
11
// (set) Token: 0x060019F1 RID: 6641 RVA: 0x0006BA98 File Offset: 0x00069C98
12
[
CLSCompliant
(
false
)]
13
public
uint
PackedValue
14
{
15
get
16
{
17
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
18
}
19
set
20
{
21
this.packedValue
=
value
;
22
}
23
}
24
25
// Token: 0x060019F2 RID: 6642 RVA: 0x0006BAAC File Offset: 0x00069CAC
26
public
Rg32
(
float
x,
float
y)
27
{
28
uint num =
Rg32
.
Pack
(x, y);
29
this.packedValue
= num;
30
}
31
32
// Token: 0x060019F3 RID: 6643 RVA: 0x0006BAC8 File Offset: 0x00069CC8
33
public
Rg32
(
Vector2
vector)
34
{
35
uint num;
36
this.packedValue
= num;
37
}
38
39
// Token: 0x060019F4 RID: 6644 RVA: 0x000021DB File Offset: 0x000003DB
40
public
Vector2
ToVector2
()
41
{
42
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
43
}
44
45
// Token: 0x060019F5 RID: 6645 RVA: 0x0006BADC File Offset: 0x00069CDC
46
void
IPackedVector
.
PackFromVector4
(
Vector4
vector)
47
{
48
uint num;
49
this.packedValue
= num;
50
}
51
52
// Token: 0x060019F6 RID: 6646 RVA: 0x0006BAF0 File Offset: 0x00069CF0
53
Vector4
IPackedVector
.
ToVector4
()
54
{
55
Vector2
vector = this.
ToVector2
();
56
Vector4
vector2
;
57
return
vector2
;
58
}
59
60
// Token: 0x060019F7 RID: 6647 RVA: 0x0006BB08 File Offset: 0x00069D08
61
public
override
bool
Equals
(
object
obj
)
62
{
63
if
(
obj
!=
null
)
64
{
65
return
;
66
}
67
}
68
69
// Token: 0x060019F8 RID: 6648 RVA: 0x000021DB File Offset: 0x000003DB
70
public
bool
Equals
(
Rg32
other
)
71
{
72
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
73
}
74
75
// Token: 0x060019F9 RID: 6649 RVA: 0x0006BB1C File Offset: 0x00069D1C
76
public
override
string
ToString
()
77
{
78
return
this.
ToVector2
().
ToString
();
79
}
80
81
// Token: 0x060019FA RID: 6650 RVA: 0x0006BB34 File Offset: 0x00069D34
82
public
override
int
GetHashCode
()
83
{
84
int
num;
85
return
num;
86
}
87
88
// Token: 0x060019FB RID: 6651 RVA: 0x000021DB File Offset: 0x000003DB
89
public
static
bool
operator ==
(
Rg32
lhs
,
Rg32
rhs
)
90
{
91
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
92
}
93
94
// Token: 0x060019FC RID: 6652 RVA: 0x000021DB File Offset: 0x000003DB
95
public
static
bool
operator !=
(
Rg32
lhs
,
Rg32
rhs
)
96
{
97
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
98
}
99
100
// Token: 0x060019FD RID: 6653 RVA: 0x0006BB44 File Offset: 0x00069D44
101
private
static
uint
Pack
(
float
x,
float
y)
102
{
103
if
(!
true
)
104
{
105
return
;
106
}
107
}
108
109
// Token: 0x040027A8 RID: 10152
110
private
uint
packedValue
;
111
}
112
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
Microsoft.Xna.Framework.Graphics.PackedVector.IPackedVector.ToVector4
Vector4 ToVector4()
Microsoft.Xna.Framework.Graphics.PackedVector.IPackedVector.PackFromVector4
void PackFromVector4(Vector4 vector)
Microsoft.Xna.Framework.Graphics.PackedVector.IPackedVector
Definition
IPackedVector.2.cs:7
System.IEquatable
Definition
IEquatable.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
Microsoft.Xna.Framework.Graphics.PackedVector
Definition
Alpha8.cs:5
System.ExceptionArgument.value
@ value
System.ExceptionArgument.obj
@ obj
System
Definition
__ComObject.cs:4
Microsoft.Xna.Framework.Graphics.PackedVector.Rg32.Rg32
Rg32(Vector2 vector)
Definition
Rg32.cs:33
Microsoft.Xna.Framework.Graphics.PackedVector.Rg32.operator==
static bool operator==(Rg32 lhs, Rg32 rhs)
Definition
Rg32.cs:89
Microsoft.Xna.Framework.Graphics.PackedVector.Rg32.ToString
override string ToString()
Definition
Rg32.cs:76
Microsoft.Xna.Framework.Graphics.PackedVector.Rg32.GetHashCode
override int GetHashCode()
Definition
Rg32.cs:82
Microsoft.Xna.Framework.Graphics.PackedVector.Rg32.packedValue
uint packedValue
Definition
Rg32.cs:110
Microsoft.Xna.Framework.Graphics.PackedVector.Rg32.PackedValue
uint PackedValue
Definition
Rg32.cs:14
Microsoft.Xna.Framework.Graphics.PackedVector.Rg32.Rg32
Rg32(float x, float y)
Definition
Rg32.cs:26
Microsoft.Xna.Framework.Graphics.PackedVector.Rg32.Equals
override bool Equals(object obj)
Definition
Rg32.cs:61
Microsoft.Xna.Framework.Graphics.PackedVector.Rg32.Equals
bool Equals(Rg32 other)
Definition
Rg32.cs:70
Microsoft.Xna.Framework.Graphics.PackedVector.Rg32.ToVector2
Vector2 ToVector2()
Definition
Rg32.cs:40
Microsoft.Xna.Framework.Graphics.PackedVector.Rg32.Pack
static uint Pack(float x, float y)
Definition
Rg32.cs:101
Microsoft.Xna.Framework.Graphics.PackedVector.Rg32.operator!=
static bool operator!=(Rg32 lhs, Rg32 rhs)
Definition
Rg32.cs:95
Microsoft.Xna.Framework.Graphics.PackedVector.Rg32
Definition
Rg32.cs:8
Microsoft.Xna.Framework.Vector2.ToString
override string ToString()
Definition
Vector2.cs:588
Microsoft.Xna.Framework.Vector2
Definition
Vector2.cs:10
Microsoft.Xna.Framework.Vector4
Definition
Vector4.cs:10
source
Microsoft
Xna
Framework
Graphics
PackedVector
Rg32.cs
Generated by
1.10.0