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
PlacementHook.cs
Go to the documentation of this file.
1using System;
2
4{
5 // Token: 0x0200063B RID: 1595
6 public struct PlacementHook
7 {
8 // Token: 0x06003649 RID: 13897 RVA: 0x002128F8 File Offset: 0x00210AF8
15
16 // Token: 0x0600364A RID: 13898 RVA: 0x0021291C File Offset: 0x00210B1C
17 public static bool operator ==(PlacementHook first, PlacementHook second)
18 {
19 int num = first.badResponse;
20 int num2 = first.badReturn;
21 bool flag = first.processedCoordinates;
22 bool flag2;
23 return flag2;
24 }
25
26 // Token: 0x0600364B RID: 13899 RVA: 0x00212944 File Offset: 0x00210B44
27 public static bool operator !=(PlacementHook first, PlacementHook second)
28 {
29 int num = first.badResponse;
30 int num2 = first.badReturn;
31 bool flag = first.processedCoordinates;
32 bool flag2;
33 return flag2;
34 }
35
36 // Token: 0x0600364C RID: 13900 RVA: 0x0021296C File Offset: 0x00210B6C
37 public override bool Equals(object obj)
38 {
39 if (obj != null)
40 {
41 }
42 int num = this.badReturn;
43 bool flag = this.processedCoordinates;
44 bool flag2 = this.processedCoordinates;
45 throw new InvalidCastException();
46 }
47
48 // Token: 0x0600364D RID: 13901 RVA: 0x0021299C File Offset: 0x00210B9C
49 public override int GetHashCode()
50 {
51 bool flag = this.processedCoordinates;
52 int num;
53 return num;
54 }
55
56 // Token: 0x0600364E RID: 13902 RVA: 0x002129B4 File Offset: 0x00210BB4
57 // Note: this type is marked as 'beforefieldinit'.
59 {
60 }
61
62 // Token: 0x04007701 RID: 30465
64
65 // Token: 0x04007702 RID: 30466
66 public int badReturn;
67
68 // Token: 0x04007703 RID: 30467
69 public int badResponse;
70
71 // Token: 0x04007704 RID: 30468
73
74 // Token: 0x04007705 RID: 30469
75 public static PlacementHook Empty;
76
77 // Token: 0x04007706 RID: 30470
78 public const int Response_AllInvalid = 0;
79 }
80}
class f__AnonymousType0<< Count > j__TPar
override bool Equals(object obj)
Func< int, int, int, int, int, int, int > hook
PlacementHook(Func< int, int, int, int, int, int, int > hook, int badReturn, int badResponse, bool processedCoordinates)
static bool operator==(PlacementHook first, PlacementHook second)
static bool operator!=(PlacementHook first, PlacementHook second)