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
PressurePlateHelper.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x020007B3 RID: 1971
8 public class PressurePlateHelper
9 {
10 // Token: 0x0600403C RID: 16444 RVA: 0x00242A40 File Offset: 0x00240C40
11 public static void Update()
12 {
13 if (!true)
14 {
15 }
16 }
17
18 // Token: 0x0600403D RID: 16445 RVA: 0x00242A64 File Offset: 0x00240C64
19 public static void Reset()
20 {
21 int num = 1;
22 if (num == 0)
23 {
24 }
25 if (num == 0)
26 {
27 }
28 if (num == 0)
29 {
30 }
31 }
32
33 // Token: 0x0600403E RID: 16446 RVA: 0x00242A80 File Offset: 0x00240C80
34 public static void ResetPlayer(int player)
35 {
36 int num = 1;
37 if (num == 0)
38 {
39 }
40 if (num == 0)
41 {
42 }
43 }
44
45 // Token: 0x0600403F RID: 16447 RVA: 0x00242A98 File Offset: 0x00240C98
46 public static void UpdatePlayerPosition(Player player)
47 {
48 int num = 1;
49 int num2 = 1;
50 if (num == 0)
51 {
52 }
53 if (num == 0)
54 {
55 }
56 Vector2 size = player.Size;
58 Rectangle hitbox = player.Hitbox;
59 long num3 = 0L;
60 Rectangle hitbox2 = player.Hitbox;
61 hitbox2.Inflate((int)num3, num2);
62 hitbox2.Inflate((int)num3, num2);
63 if (32640 == 0)
64 {
65 }
66 Tile tile;
67 bool flag = tile.active();
68 int whoAmI = player.whoAmI;
69 }
70
71 // Token: 0x06004040 RID: 16448 RVA: 0x00242B30 File Offset: 0x00240D30
72 public static void DestroyPlate(Point location)
73 {
74 }
75
76 // Token: 0x06004041 RID: 16449 RVA: 0x00242B4C File Offset: 0x00240D4C
77 private static void UpdatePlatePosition(Point location, int player, bool onIt)
78 {
79 if (!true)
80 {
81 }
82 PressurePlateHelper.MoveInto(location, player);
83 }
84
85 // Token: 0x06004042 RID: 16450 RVA: 0x00242B6C File Offset: 0x00240D6C
86 private static void MoveInto(Point location, int player)
87 {
88 if (!true)
89 {
90 }
91 }
92
93 // Token: 0x06004043 RID: 16451 RVA: 0x00242BB8 File Offset: 0x00240DB8
94 private static void MoveAwayFrom(Point location, int player)
95 {
96 int num = 1;
97 if (num == 0)
98 {
99 }
100 if (num == 0)
101 {
102 }
103 if (num == 0)
104 {
105 }
106 long num2 = 0L;
107 int num3 = 7;
108 if (num != 0)
109 {
110 }
111 if (num2 == 0L)
112 {
113 if (num3 == 0)
114 {
115 if (num == 0)
116 {
117 }
119 }
120 return;
121 }
122 throw new OutOfMemoryException();
123 }
124
125 // Token: 0x06004044 RID: 16452 RVA: 0x00242C04 File Offset: 0x00240E04
126 private static void PokeLocation(Point location)
127 {
128 if (!true)
129 {
130 }
131 bool logicHost = Main.LogicHost;
132 if (!true)
133 {
134 }
135 if (!true)
136 {
137 }
138 }
139
140 // Token: 0x06004045 RID: 16453 RVA: 0x00242C24 File Offset: 0x00240E24
142 {
143 }
144
145 // Token: 0x06004046 RID: 16454 RVA: 0x00242C38 File Offset: 0x00240E38
146 // Note: this type is marked as 'beforefieldinit'.
148 {
149 }
150
151 // Token: 0x04007E0B RID: 32267
152 public static object EntityCreationLock;
153
154 // Token: 0x04007E0C RID: 32268
156
157 // Token: 0x04007E0D RID: 32269
158 public static bool NeedsFirstUpdate;
159
160 // Token: 0x04007E0E RID: 32270
161 private static Vector2[] PlayerLastPosition;
162
163 // Token: 0x04007E0F RID: 32271
165
166 // Token: 0x04007E10 RID: 32272
167 private static List<Point> tilesOld;
168
169 // Token: 0x04007E11 RID: 32273
170 private static List<Point> tilesNew;
171 }
172}
class f__AnonymousType0<< Count > j__TPar
Vector2 BottomRight
Definition Entity.cs:375
Vector2 Size
Definition Entity.cs:396
Rectangle Hitbox
Definition Entity.cs:414
static void MoveAwayFrom(Point location, int player)
static Dictionary< Point, bool[]> PressurePlatesPressed
static void UpdatePlayerPosition(Player player)
static void UpdatePlatePosition(Point location, int player, bool onIt)
static void MoveInto(Point location, int player)
static bool LogicHost
Definition Main.cs:5469
void Inflate(int horizontalValue, int verticalValue)
Definition Rectangle.cs:423
bool active()
Definition Tile.cs:1241