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
SlotId.cs
Go to the documentation of this file.
1
using
System
;
2
using
Cpp2IlInjected
;
3
4
namespace
ReLogic.Utilities
5
{
6
// Token: 0x02000B08 RID: 2824
7
public
struct
SlotId
8
{
9
// Token: 0x170008E0 RID: 2272
10
// (get) Token: 0x0600528B RID: 21131 RVA: 0x000021DB File Offset: 0x000003DB
11
public
bool
IsValid
12
{
13
get
14
{
15
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
16
}
17
}
18
19
// Token: 0x170008E1 RID: 2273
20
// (get) Token: 0x0600528C RID: 21132 RVA: 0x000021DB File Offset: 0x000003DB
21
internal
bool
IsActive
22
{
23
get
24
{
25
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
26
}
27
}
28
29
// Token: 0x170008E2 RID: 2274
30
// (get) Token: 0x0600528D RID: 21133 RVA: 0x000021DB File Offset: 0x000003DB
31
internal
uint
Index
32
{
33
get
34
{
35
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
36
}
37
}
38
39
// Token: 0x170008E3 RID: 2275
40
// (get) Token: 0x0600528E RID: 21134 RVA: 0x000021DB File Offset: 0x000003DB
41
internal
uint
Key
42
{
43
get
44
{
45
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
46
}
47
}
48
49
// Token: 0x0600528F RID: 21135 RVA: 0x0028324C File Offset: 0x0028144C
50
internal
SlotId
ToInactive
(uint
freeHead
)
51
{
52
return
ref
this
;
53
}
54
55
// Token: 0x06005290 RID: 21136 RVA: 0x0028325C File Offset: 0x0028145C
56
internal
SlotId
ToActive
(uint
index
)
57
{
58
return
ref
this
;
59
}
60
61
// Token: 0x06005291 RID: 21137 RVA: 0x0028326C File Offset: 0x0028146C
62
public
SlotId
(uint
value
)
63
{
64
this.Value
=
value
;
65
}
66
67
// Token: 0x06005292 RID: 21138 RVA: 0x00283280 File Offset: 0x00281480
68
public
override
bool
Equals
(
object
obj
)
69
{
70
if
(
obj
!=
null
)
71
{
72
return
;
73
}
74
}
75
76
// Token: 0x06005293 RID: 21139 RVA: 0x00283294 File Offset: 0x00281494
77
public
override
int
GetHashCode
()
78
{
79
int
num;
80
return
num;
81
}
82
83
// Token: 0x06005294 RID: 21140 RVA: 0x000021DB File Offset: 0x000003DB
84
public
static
bool
operator ==
(
SlotId
lhs
,
SlotId
rhs
)
85
{
86
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
87
}
88
89
// Token: 0x06005295 RID: 21141 RVA: 0x000021DB File Offset: 0x000003DB
90
public
static
bool
operator !=
(
SlotId
lhs
,
SlotId
rhs
)
91
{
92
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
93
}
94
95
// Token: 0x06005296 RID: 21142 RVA: 0x000021DB File Offset: 0x000003DB
96
public
float
ToFloat
()
97
{
98
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
99
}
100
101
// Token: 0x06005297 RID: 21143 RVA: 0x000021DB File Offset: 0x000003DB
102
public
static
SlotId
FromFloat
(
float
value
)
103
{
104
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
105
}
106
107
// Token: 0x06005298 RID: 21144 RVA: 0x002832A4 File Offset: 0x002814A4
108
// Note: this type is marked as 'beforefieldinit'.
109
static
SlotId
()
110
{
111
}
112
113
// Token: 0x04008ACF RID: 35535
114
public
static
readonly
SlotId
Invalid
;
115
116
// Token: 0x04008AD0 RID: 35536
117
private
const
uint
KEY_INC
= 65536
U
;
118
119
// Token: 0x04008AD1 RID: 35537
120
private
const
uint
INDEX_MASK
= 65535
U
;
121
122
// Token: 0x04008AD2 RID: 35538
123
private
const
uint
ACTIVE_MASK
= 2147483648
U
;
124
125
// Token: 0x04008AD3 RID: 35539
126
private
const
uint
KEY_MASK
= 2147418112
U
;
127
128
// Token: 0x04008AD4 RID: 35540
129
public
readonly
uint
Value
;
130
}
131
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
ReLogic.Utilities
Definition
AttributeUtilities.cs:6
System.ExceptionArgument.value
@ value
System.ExceptionArgument.index
@ index
System.ExceptionArgument.obj
@ obj
System.ConsoleKey.U
@ U
System
Definition
__ComObject.cs:4
ReLogic.Utilities.SlotId.SlotId
static SlotId()
Definition
SlotId.cs:109
ReLogic.Utilities.SlotId.ToFloat
float ToFloat()
Definition
SlotId.cs:96
ReLogic.Utilities.SlotId.Index
uint Index
Definition
SlotId.cs:32
ReLogic.Utilities.SlotId.operator==
static bool operator==(SlotId lhs, SlotId rhs)
Definition
SlotId.cs:84
ReLogic.Utilities.SlotId.INDEX_MASK
const uint INDEX_MASK
Definition
SlotId.cs:120
ReLogic.Utilities.SlotId.IsValid
bool IsValid
Definition
SlotId.cs:12
ReLogic.Utilities.SlotId.operator!=
static bool operator!=(SlotId lhs, SlotId rhs)
Definition
SlotId.cs:90
ReLogic.Utilities.SlotId.GetHashCode
override int GetHashCode()
Definition
SlotId.cs:77
ReLogic.Utilities.SlotId.SlotId
SlotId(uint value)
Definition
SlotId.cs:62
ReLogic.Utilities.SlotId.Invalid
static readonly SlotId Invalid
Definition
SlotId.cs:114
ReLogic.Utilities.SlotId.ACTIVE_MASK
const uint ACTIVE_MASK
Definition
SlotId.cs:123
ReLogic.Utilities.SlotId.Equals
override bool Equals(object obj)
Definition
SlotId.cs:68
ReLogic.Utilities.SlotId.Key
uint Key
Definition
SlotId.cs:42
ReLogic.Utilities.SlotId.FromFloat
static SlotId FromFloat(float value)
Definition
SlotId.cs:102
ReLogic.Utilities.SlotId.Value
readonly uint Value
Definition
SlotId.cs:129
ReLogic.Utilities.SlotId.ToInactive
SlotId ToInactive(uint freeHead)
Definition
SlotId.cs:50
ReLogic.Utilities.SlotId.KEY_INC
const uint KEY_INC
Definition
SlotId.cs:117
ReLogic.Utilities.SlotId.IsActive
bool IsActive
Definition
SlotId.cs:22
ReLogic.Utilities.SlotId.ToActive
SlotId ToActive(uint index)
Definition
SlotId.cs:56
ReLogic.Utilities.SlotId.KEY_MASK
const uint KEY_MASK
Definition
SlotId.cs:126
ReLogic.Utilities.SlotId
Definition
SlotId.cs:8
source
ReLogic
Utilities
SlotId.cs
Generated by
1.10.0