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.
1using System;
3
4namespace 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 {
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 = 65536U;
118
119 // Token: 0x04008AD1 RID: 35537
120 private const uint INDEX_MASK = 65535U;
121
122 // Token: 0x04008AD2 RID: 35538
123 private const uint ACTIVE_MASK = 2147483648U;
124
125 // Token: 0x04008AD3 RID: 35539
126 private const uint KEY_MASK = 2147418112U;
127
128 // Token: 0x04008AD4 RID: 35540
129 public readonly uint Value;
130 }
131}
class f__AnonymousType0<< Count > j__TPar
static bool operator==(SlotId lhs, SlotId rhs)
Definition SlotId.cs:84
const uint INDEX_MASK
Definition SlotId.cs:120
static bool operator!=(SlotId lhs, SlotId rhs)
Definition SlotId.cs:90
override int GetHashCode()
Definition SlotId.cs:77
SlotId(uint value)
Definition SlotId.cs:62
static readonly SlotId Invalid
Definition SlotId.cs:114
const uint ACTIVE_MASK
Definition SlotId.cs:123
override bool Equals(object obj)
Definition SlotId.cs:68
static SlotId FromFloat(float value)
Definition SlotId.cs:102
readonly uint Value
Definition SlotId.cs:129
SlotId ToInactive(uint freeHead)
Definition SlotId.cs:50
SlotId ToActive(uint index)
Definition SlotId.cs:56