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
NormalizedShort2.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x020003BC RID: 956
7 public struct NormalizedShort2 : IPackedVector<uint>, IPackedVector, IEquatable<NormalizedShort2>
8 {
9 // Token: 0x060019D5 RID: 6613 RVA: 0x0006B8D0 File Offset: 0x00069AD0
11 {
12 uint num;
14 }
15
16 // Token: 0x060019D6 RID: 6614 RVA: 0x0006B8E4 File Offset: 0x00069AE4
17 public NormalizedShort2(float x, float y)
18 {
19 uint num = NormalizedShort2.PackInTwo(x, y);
21 }
22
23 // Token: 0x060019D7 RID: 6615 RVA: 0x0006B900 File Offset: 0x00069B00
25 {
26 bool flag;
27 return flag;
28 }
29
30 // Token: 0x060019D8 RID: 6616 RVA: 0x0006B910 File Offset: 0x00069B10
32 {
33 bool flag;
34 return flag;
35 }
36
37 // Token: 0x17000369 RID: 873
38 // (get) Token: 0x060019D9 RID: 6617 RVA: 0x000021DB File Offset: 0x000003DB
39 // (set) Token: 0x060019DA RID: 6618 RVA: 0x0006B920 File Offset: 0x00069B20
40 [CLSCompliant(false)]
41 public uint PackedValue
42 {
43 get
44 {
45 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
46 }
47 set
48 {
50 }
51 }
52
53 // Token: 0x060019DB RID: 6619 RVA: 0x0006B934 File Offset: 0x00069B34
54 public override bool Equals(object obj)
55 {
56 if (obj != null)
57 {
58 }
59 bool flag;
60 return flag;
61 }
62
63 // Token: 0x060019DC RID: 6620 RVA: 0x0006B948 File Offset: 0x00069B48
65 {
66 bool flag;
67 return flag;
68 }
69
70 // Token: 0x060019DD RID: 6621 RVA: 0x0006B958 File Offset: 0x00069B58
71 public override int GetHashCode()
72 {
73 int num;
74 return num;
75 }
76
77 // Token: 0x060019DE RID: 6622 RVA: 0x0006B968 File Offset: 0x00069B68
78 public override string ToString()
79 {
80 string text;
81 return text;
82 }
83
84 // Token: 0x060019DF RID: 6623 RVA: 0x000021DB File Offset: 0x000003DB
86 {
87 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
88 }
89
90 // Token: 0x060019E0 RID: 6624 RVA: 0x0006B978 File Offset: 0x00069B78
91 private static uint PackInTwo(float vectorX, float vectorY)
92 {
93 if (!true)
94 {
95 return;
96 }
97 }
98
99 // Token: 0x060019E1 RID: 6625 RVA: 0x0006B98C File Offset: 0x00069B8C
101 {
102 }
103
104 // Token: 0x060019E2 RID: 6626 RVA: 0x000021DB File Offset: 0x000003DB
106 {
107 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
108 }
109
110 // Token: 0x040027A6 RID: 10150
111 private uint short2Packed;
112 }
113}
class f__AnonymousType0<< Count > j__TPar
static bool operator==(NormalizedShort2 a, NormalizedShort2 b)
static bool operator!=(NormalizedShort2 a, NormalizedShort2 b)