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.
1using System;
3
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
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
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 {
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
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
91 {
92 ushort num;
93 this._packed = num;
94 }
95
96 // Token: 0x060019C6 RID: 6598 RVA: 0x000021DB File Offset: 0x000003DB
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
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}
class f__AnonymousType0<< Count > j__TPar
static bool operator!=(NormalizedByte2 a, NormalizedByte2 b)
static bool operator==(NormalizedByte2 a, NormalizedByte2 b)