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
AnchorData.cs
Go to the documentation of this file.
1
using
System
;
2
using
Terraria.Enums
;
3
4
namespace
Terraria.DataStructures
5
{
6
// Token: 0x02000618 RID: 1560
7
public
struct
AnchorData
8
{
9
// Token: 0x060035B3 RID: 13747 RVA: 0x00211770 File Offset: 0x0020F970
10
public
AnchorData
(
AnchorType
type
,
int
count
,
int
start
)
11
{
12
this.type
=
type
;
13
this.checkStart
=
count
;
14
this.checkStart
=
start
;
15
}
16
17
// Token: 0x060035B4 RID: 13748 RVA: 0x00211794 File Offset: 0x0020F994
18
public
static
bool
operator ==
(
AnchorData
data1
,
AnchorData
data2
)
19
{
20
}
21
22
// Token: 0x060035B5 RID: 13749 RVA: 0x002117A4 File Offset: 0x0020F9A4
23
public
static
bool
operator !=
(
AnchorData
data1
,
AnchorData
data2
)
24
{
25
return
true
;
26
}
27
28
// Token: 0x060035B6 RID: 13750 RVA: 0x002117B4 File Offset: 0x0020F9B4
29
public
override
bool
Equals
(
object
obj
)
30
{
31
if
(
obj
!=
null
)
32
{
33
int
num = this.
tileCount
;
34
int
num2
= this.
checkStart
;
35
}
36
throw
new
InvalidCastException
();
37
}
38
39
// Token: 0x060035B7 RID: 13751 RVA: 0x002117DC File Offset: 0x0020F9DC
40
public
override
int
GetHashCode
()
41
{
42
int
num = this.
checkStart
;
43
AnchorType
anchorType
= this.
type
;
44
int
num2
= this.
checkStart
;
45
return
num;
46
}
47
48
// Token: 0x060035B8 RID: 13752 RVA: 0x00211800 File Offset: 0x0020FA00
49
// Note: this type is marked as 'beforefieldinit'.
50
static
AnchorData
()
51
{
52
}
53
54
// Token: 0x0400768E RID: 30350
55
public
AnchorType
type
;
56
57
// Token: 0x0400768F RID: 30351
58
public
int
tileCount
;
59
60
// Token: 0x04007690 RID: 30352
61
public
int
checkStart
;
62
63
// Token: 0x04007691 RID: 30353
64
public
static
AnchorData
Empty
;
65
}
66
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.ExceptionArgument.obj
@ obj
System.ExceptionArgument.count
@ count
System.ExceptionArgument.start
@ start
System
Definition
__ComObject.cs:4
Terraria.DataStructures
Definition
AEntitySource_OnHit.cs:4
Terraria.Enums.AnchorType
AnchorType
Definition
AnchorType.cs:8
Terraria.Enums
Definition
AnchorType.cs:4
Terraria.DataStructures.AnchorData.Equals
override bool Equals(object obj)
Definition
AnchorData.cs:29
Terraria.DataStructures.AnchorData.operator!=
static bool operator!=(AnchorData data1, AnchorData data2)
Definition
AnchorData.cs:23
Terraria.DataStructures.AnchorData.type
AnchorType type
Definition
AnchorData.cs:55
Terraria.DataStructures.AnchorData.tileCount
int tileCount
Definition
AnchorData.cs:58
Terraria.DataStructures.AnchorData.checkStart
int checkStart
Definition
AnchorData.cs:61
Terraria.DataStructures.AnchorData.Empty
static AnchorData Empty
Definition
AnchorData.cs:64
Terraria.DataStructures.AnchorData.operator==
static bool operator==(AnchorData data1, AnchorData data2)
Definition
AnchorData.cs:18
Terraria.DataStructures.AnchorData.GetHashCode
override int GetHashCode()
Definition
AnchorData.cs:40
Terraria.DataStructures.AnchorData.AnchorData
static AnchorData()
Definition
AnchorData.cs:50
Terraria.DataStructures.AnchorData.AnchorData
AnchorData(AnchorType type, int count, int start)
Definition
AnchorData.cs:10
Terraria.DataStructures.AnchorData
Definition
AnchorData.cs:8
source
Terraria
DataStructures
AnchorData.cs
Generated by
1.10.0