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
NormalizedByte2.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: 0x020003BA RID: 954
7
public
struct
NormalizedByte2
:
IPackedVector
<ushort>,
IPackedVector
,
IEquatable
<NormalizedByte2>
8
{
9
// Token: 0x060019BA RID: 6586 RVA: 0x0006B760 File Offset: 0x00069960
10
public
NormalizedByte2
(
Vector2
vector)
11
{
12
ushort num;
13
this._packed
= num;
14
}
15
16
// Token: 0x060019BB RID: 6587 RVA: 0x0006B774 File Offset: 0x00069974
17
public
NormalizedByte2
(
float
x,
float
y)
18
{
19
ushort num =
NormalizedByte2
.
Pack
(x, y);
20
this._packed
= num;
21
}
22
23
// Token: 0x060019BC RID: 6588 RVA: 0x000021DB File Offset: 0x000003DB
24
public
static
bool
operator !=
(
NormalizedByte2
a,
NormalizedByte2
b)
25
{
26
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
27
}
28
29
// Token: 0x060019BD RID: 6589 RVA: 0x000021DB File Offset: 0x000003DB
30
public
static
bool
operator ==
(
NormalizedByte2
a,
NormalizedByte2
b)
31
{
32
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
33
}
34
35
// Token: 0x17000367 RID: 871
36
// (get) Token: 0x060019BE RID: 6590 RVA: 0x000021DB File Offset: 0x000003DB
37
// (set) Token: 0x060019BF RID: 6591 RVA: 0x0006B790 File Offset: 0x00069990
38
[
CLSCompliant
(
false
)]
39
public
ushort
PackedValue
40
{
41
get
42
{
43
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
44
}
45
set
46
{
47
this._packed
=
value
;
48
}
49
}
50
51
// Token: 0x060019C0 RID: 6592 RVA: 0x0006B7A4 File Offset: 0x000699A4
52
public
override
bool
Equals
(
object
obj
)
53
{
54
if
(
obj
!=
null
)
55
{
56
return
;
57
}
58
}
59
60
// Token: 0x060019C1 RID: 6593 RVA: 0x000021DB File Offset: 0x000003DB
61
public
bool
Equals
(
NormalizedByte2
other
)
62
{
63
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
64
}
65
66
// Token: 0x060019C2 RID: 6594 RVA: 0x0006B7B8 File Offset: 0x000699B8
67
public
override
int
GetHashCode
()
68
{
69
int
num;
70
return
num;
71
}
72
73
// Token: 0x060019C3 RID: 6595 RVA: 0x0006B7C8 File Offset: 0x000699C8
74
public
override
string
ToString
()
75
{
76
string
text
;
77
return
text
;
78
}
79
80
// Token: 0x060019C4 RID: 6596 RVA: 0x0006B7D8 File Offset: 0x000699D8
81
private
static
ushort
Pack
(
float
x,
float
y)
82
{
83
if
(!
true
)
84
{
85
return
;
86
}
87
}
88
89
// Token: 0x060019C5 RID: 6597 RVA: 0x0006B7EC File Offset: 0x000699EC
90
void
IPackedVector
.
PackFromVector4
(
Vector4
vector)
91
{
92
ushort num;
93
this._packed
= num;
94
}
95
96
// Token: 0x060019C6 RID: 6598 RVA: 0x000021DB File Offset: 0x000003DB
97
Vector4
IPackedVector
.
ToVector4
()
98
{
99
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
100
}
101
102
// Token: 0x060019C7 RID: 6599 RVA: 0x000021DB File Offset: 0x000003DB
103
public
Vector2
ToVector2
()
104
{
105
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
106
}
107
108
// Token: 0x040027A4 RID: 10148
109
private
ushort
_packed
;
110
}
111
}
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.text
@ text
System.ExceptionArgument.value
@ value
System.ExceptionArgument.obj
@ obj
System
Definition
__ComObject.cs:4
Microsoft.Xna.Framework.Graphics.PackedVector.NormalizedByte2.Pack
static ushort Pack(float x, float y)
Definition
NormalizedByte2.cs:81
Microsoft.Xna.Framework.Graphics.PackedVector.NormalizedByte2.operator!=
static bool operator!=(NormalizedByte2 a, NormalizedByte2 b)
Definition
NormalizedByte2.cs:24
Microsoft.Xna.Framework.Graphics.PackedVector.NormalizedByte2.NormalizedByte2
NormalizedByte2(Vector2 vector)
Definition
NormalizedByte2.cs:10
Microsoft.Xna.Framework.Graphics.PackedVector.NormalizedByte2.operator==
static bool operator==(NormalizedByte2 a, NormalizedByte2 b)
Definition
NormalizedByte2.cs:30
Microsoft.Xna.Framework.Graphics.PackedVector.NormalizedByte2._packed
ushort _packed
Definition
NormalizedByte2.cs:109
Microsoft.Xna.Framework.Graphics.PackedVector.NormalizedByte2.Equals
bool Equals(NormalizedByte2 other)
Definition
NormalizedByte2.cs:61
Microsoft.Xna.Framework.Graphics.PackedVector.NormalizedByte2.NormalizedByte2
NormalizedByte2(float x, float y)
Definition
NormalizedByte2.cs:17
Microsoft.Xna.Framework.Graphics.PackedVector.NormalizedByte2.ToString
override string ToString()
Definition
NormalizedByte2.cs:74
Microsoft.Xna.Framework.Graphics.PackedVector.NormalizedByte2.Equals
override bool Equals(object obj)
Definition
NormalizedByte2.cs:52
Microsoft.Xna.Framework.Graphics.PackedVector.NormalizedByte2.ToVector2
Vector2 ToVector2()
Definition
NormalizedByte2.cs:103
Microsoft.Xna.Framework.Graphics.PackedVector.NormalizedByte2.GetHashCode
override int GetHashCode()
Definition
NormalizedByte2.cs:67
Microsoft.Xna.Framework.Graphics.PackedVector.NormalizedByte2.PackedValue
ushort PackedValue
Definition
NormalizedByte2.cs:40
Microsoft.Xna.Framework.Graphics.PackedVector.NormalizedByte2
Definition
NormalizedByte2.cs:8
Microsoft.Xna.Framework.Vector2
Definition
Vector2.cs:10
Microsoft.Xna.Framework.Vector4
Definition
Vector4.cs:10
source
Microsoft
Xna
Framework
Graphics
PackedVector
NormalizedByte2.cs
Generated by
1.10.0