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
HalfSingle.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x020003B3 RID: 947
7 public struct HalfSingle : IPackedVector<ushort>, IPackedVector, IEquatable<HalfSingle>
8 {
9 // Token: 0x0600198B RID: 6539 RVA: 0x0006B4AC File Offset: 0x000696AC
10 public HalfSingle(float single)
11 {
12 ushort num;
13 this.packedValue = num;
14 }
15
16 // Token: 0x17000363 RID: 867
17 // (get) Token: 0x0600198C RID: 6540 RVA: 0x000021DB File Offset: 0x000003DB
18 // (set) Token: 0x0600198D RID: 6541 RVA: 0x0006B4C0 File Offset: 0x000696C0
19 [CLSCompliant(false)]
20 public ushort PackedValue
21 {
22 get
23 {
24 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
25 }
26 set
27 {
29 }
30 }
31
32 // Token: 0x0600198E RID: 6542 RVA: 0x000021DB File Offset: 0x000003DB
33 public float ToSingle()
34 {
35 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
36 }
37
38 // Token: 0x0600198F RID: 6543 RVA: 0x0006B4D4 File Offset: 0x000696D4
40 {
41 ushort num;
42 this.packedValue = num;
43 }
44
45 // Token: 0x06001990 RID: 6544 RVA: 0x0006B4E8 File Offset: 0x000696E8
47 {
48 Vector4 vector;
49 return vector;
50 }
51
52 // Token: 0x06001991 RID: 6545 RVA: 0x0006B4F8 File Offset: 0x000696F8
53 public override bool Equals(object obj)
54 {
55 if (obj != null)
56 {
57 Type type;
58 bool flag = obj.GetType() == type;
59 }
60 throw new InvalidCastException();
61 }
62
63 // Token: 0x06001992 RID: 6546 RVA: 0x000021DB File Offset: 0x000003DB
64 public bool Equals(HalfSingle other)
65 {
66 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
67 }
68
69 // Token: 0x06001993 RID: 6547 RVA: 0x0006B51C File Offset: 0x0006971C
70 public override string ToString()
71 {
72 string text;
73 return text;
74 }
75
76 // Token: 0x06001994 RID: 6548 RVA: 0x0006B52C File Offset: 0x0006972C
77 public override int GetHashCode()
78 {
79 int num;
80 return num;
81 }
82
83 // Token: 0x06001995 RID: 6549 RVA: 0x000021DB File Offset: 0x000003DB
85 {
86 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
87 }
88
89 // Token: 0x06001996 RID: 6550 RVA: 0x000021DB File Offset: 0x000003DB
91 {
92 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
93 }
94
95 // Token: 0x0400279E RID: 10142
96 private ushort packedValue;
97 }
98}
class f__AnonymousType0<< Count > j__TPar
new Type GetType()
Definition Type.cs:287
static bool operator==(HalfSingle lhs, HalfSingle rhs)
Definition HalfSingle.cs:84
static bool operator!=(HalfSingle lhs, HalfSingle rhs)
Definition HalfSingle.cs:90