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
Short2.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x020003C1 RID: 961
7 public struct Short2 : IPackedVector<uint>, IPackedVector, IEquatable<Short2>
8 {
9 // Token: 0x06001A18 RID: 6680 RVA: 0x0006BD04 File Offset: 0x00069F04
10 public Short2(Vector2 vector)
11 {
12 uint num;
14 }
15
16 // Token: 0x06001A19 RID: 6681 RVA: 0x0006BD18 File Offset: 0x00069F18
17 public Short2(float x, float y)
18 {
19 uint num = Short2.PackInTwo(x, y);
21 }
22
23 // Token: 0x06001A1A RID: 6682 RVA: 0x000021DB File Offset: 0x000003DB
24 public static bool operator !=(Short2 a, Short2 b)
25 {
26 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
27 }
28
29 // Token: 0x06001A1B RID: 6683 RVA: 0x000021DB File Offset: 0x000003DB
30 public static bool operator ==(Short2 a, Short2 b)
31 {
32 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
33 }
34
35 // Token: 0x1700036E RID: 878
36 // (get) Token: 0x06001A1C RID: 6684 RVA: 0x000021DB File Offset: 0x000003DB
37 // (set) Token: 0x06001A1D RID: 6685 RVA: 0x0006BD34 File Offset: 0x00069F34
38 [CLSCompliant(false)]
39 public uint 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: 0x06001A1E RID: 6686 RVA: 0x0006BD48 File Offset: 0x00069F48
52 public override bool Equals(object obj)
53 {
54 if (obj != null)
55 {
56 return;
57 }
58 }
59
60 // Token: 0x06001A1F RID: 6687 RVA: 0x000021DB File Offset: 0x000003DB
61 public bool Equals(Short2 other)
62 {
63 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
64 }
65
66 // Token: 0x06001A20 RID: 6688 RVA: 0x0006BD5C File Offset: 0x00069F5C
67 public override int GetHashCode()
68 {
69 int num;
70 return num;
71 }
72
73 // Token: 0x06001A21 RID: 6689 RVA: 0x0006BD6C File Offset: 0x00069F6C
74 public override string ToString()
75 {
76 string text;
77 return text;
78 }
79
80 // Token: 0x06001A22 RID: 6690 RVA: 0x000021DB File Offset: 0x000003DB
82 {
83 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
84 }
85
86 // Token: 0x06001A23 RID: 6691 RVA: 0x0006BD7C File Offset: 0x00069F7C
87 private static uint PackInTwo(float vectorX, float vectorY)
88 {
89 if (50944 == 0)
90 {
91 return;
92 }
93 }
94
95 // Token: 0x06001A24 RID: 6692 RVA: 0x0006BD94 File Offset: 0x00069F94
97 {
98 uint num;
100 }
101
102 // Token: 0x06001A25 RID: 6693 RVA: 0x000021DB File Offset: 0x000003DB
104 {
105 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
106 }
107
108 // Token: 0x040027AB RID: 10155
109 private uint _short2Packed;
110 }
111}
class f__AnonymousType0<< Count > j__TPar
static bool operator==(Short2 a, Short2 b)
Definition Short2.cs:30
static uint PackInTwo(float vectorX, float vectorY)
Definition Short2.cs:87
static bool operator!=(Short2 a, Short2 b)
Definition Short2.cs:24