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
Rg32.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x020003BE RID: 958
7 public struct Rg32 : IPackedVector<uint>, IPackedVector, IEquatable<Rg32>
8 {
9 // Token: 0x1700036B RID: 875
10 // (get) Token: 0x060019F0 RID: 6640 RVA: 0x000021DB File Offset: 0x000003DB
11 // (set) Token: 0x060019F1 RID: 6641 RVA: 0x0006BA98 File Offset: 0x00069C98
12 [CLSCompliant(false)]
13 public uint PackedValue
14 {
15 get
16 {
17 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
18 }
19 set
20 {
22 }
23 }
24
25 // Token: 0x060019F2 RID: 6642 RVA: 0x0006BAAC File Offset: 0x00069CAC
26 public Rg32(float x, float y)
27 {
28 uint num = Rg32.Pack(x, y);
29 this.packedValue = num;
30 }
31
32 // Token: 0x060019F3 RID: 6643 RVA: 0x0006BAC8 File Offset: 0x00069CC8
33 public Rg32(Vector2 vector)
34 {
35 uint num;
36 this.packedValue = num;
37 }
38
39 // Token: 0x060019F4 RID: 6644 RVA: 0x000021DB File Offset: 0x000003DB
41 {
42 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
43 }
44
45 // Token: 0x060019F5 RID: 6645 RVA: 0x0006BADC File Offset: 0x00069CDC
47 {
48 uint num;
49 this.packedValue = num;
50 }
51
52 // Token: 0x060019F6 RID: 6646 RVA: 0x0006BAF0 File Offset: 0x00069CF0
54 {
55 Vector2 vector = this.ToVector2();
57 return vector2;
58 }
59
60 // Token: 0x060019F7 RID: 6647 RVA: 0x0006BB08 File Offset: 0x00069D08
61 public override bool Equals(object obj)
62 {
63 if (obj != null)
64 {
65 return;
66 }
67 }
68
69 // Token: 0x060019F8 RID: 6648 RVA: 0x000021DB File Offset: 0x000003DB
70 public bool Equals(Rg32 other)
71 {
72 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
73 }
74
75 // Token: 0x060019F9 RID: 6649 RVA: 0x0006BB1C File Offset: 0x00069D1C
76 public override string ToString()
77 {
78 return this.ToVector2().ToString();
79 }
80
81 // Token: 0x060019FA RID: 6650 RVA: 0x0006BB34 File Offset: 0x00069D34
82 public override int GetHashCode()
83 {
84 int num;
85 return num;
86 }
87
88 // Token: 0x060019FB RID: 6651 RVA: 0x000021DB File Offset: 0x000003DB
89 public static bool operator ==(Rg32 lhs, Rg32 rhs)
90 {
91 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
92 }
93
94 // Token: 0x060019FC RID: 6652 RVA: 0x000021DB File Offset: 0x000003DB
95 public static bool operator !=(Rg32 lhs, Rg32 rhs)
96 {
97 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
98 }
99
100 // Token: 0x060019FD RID: 6653 RVA: 0x0006BB44 File Offset: 0x00069D44
101 private static uint Pack(float x, float y)
102 {
103 if (!true)
104 {
105 return;
106 }
107 }
108
109 // Token: 0x040027A8 RID: 10152
110 private uint packedValue;
111 }
112}
class f__AnonymousType0<< Count > j__TPar
static bool operator==(Rg32 lhs, Rg32 rhs)
Definition Rg32.cs:89
static uint Pack(float x, float y)
Definition Rg32.cs:101
static bool operator!=(Rg32 lhs, Rg32 rhs)
Definition Rg32.cs:95
override string ToString()
Definition Vector2.cs:588