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
RemoteClient.cs
Go to the documentation of this file.
1using System;
5
6namespace Terraria
7{
8 // Token: 0x02000420 RID: 1056
9 public class RemoteClient
10 {
11 // Token: 0x17000559 RID: 1369
12 // (get) Token: 0x0600273C RID: 10044 RVA: 0x0018C3B8 File Offset: 0x0018A5B8
13 public bool HasAnySection
14 {
15 get
16 {
17 for (;;)
18 {
19 int num = 1;
20 if (num == 0)
21 {
22 }
23 if (num == 0)
24 {
25 }
26 if (this.TileSections != null)
27 {
28 return;
29 }
30 }
31 }
32 }
33
34 // Token: 0x0600273D RID: 10045 RVA: 0x0018C3DC File Offset: 0x0018A5DC
35 public void SpamUpdate()
36 {
37 int num = 1;
38 if (num == 0)
39 {
40 }
41 if (num != 0)
42 {
43 float spamProjectile = this.SpamProjectile;
45 int id = this.Id;
46 if (num == 0)
47 {
48 }
51 float spamAddBlock = this.SpamAddBlock;
54 NetMessage.BootPlayer(this.Id, networkText2);
58 NetMessage.BootPlayer(this.Id, networkText3);
59 float spamWater = this.SpamWater;
60 float spamWaterMax = this.SpamWaterMax;
62 NetMessage.BootPlayer(this.Id, networkText4);
63 float spamWater2 = this.SpamWater;
69 return;
70 }
71 }
72
73 // Token: 0x0600273E RID: 10046 RVA: 0x0018C49C File Offset: 0x0018A69C
74 public void SpamClear()
75 {
76 }
77
78 // Token: 0x0600273F RID: 10047 RVA: 0x0018C4AC File Offset: 0x0018A6AC
79 public static void CheckSection(int playerIndex, Vector2 position, int fluff = 1)
80 {
81 if (!true)
82 {
83 }
84 int num = 34079;
85 if (33205 == 0)
86 {
87 }
88 if (num == 0)
89 {
90 }
91 if (num == 0)
92 {
93 }
94 long num2 = 0L;
95 string textValue = Language.GetTextValue("Net.IsReceivingTileData");
96 NetMessage.SendSection(playerIndex, (int)num2, 42178960);
97 }
98
99 // Token: 0x06002740 RID: 10048 RVA: 0x0018C4F4 File Offset: 0x0018A6F4
100 public bool SectionRange(int size, int firstX, int firstY)
101 {
102 if (!true)
103 {
104 }
105 if (this.TileSections == null)
106 {
107 return;
108 }
109 }
110
111 // Token: 0x06002741 RID: 10049 RVA: 0x0018C514 File Offset: 0x0018A714
112 public void ResetSections()
113 {
114 int num = 1;
115 if (num == 0)
116 {
117 }
118 if (num == 0)
119 {
120 }
121 bool[,] tileSections = this.TileSections;
122 }
123
124 // Token: 0x06002742 RID: 10050 RVA: 0x0018C534 File Offset: 0x0018A734
125 public void Reset(bool setupActive = false)
126 {
127 int num = 1;
128 this.ResetSections();
129 int id = this.Id;
130 if (num == 0)
131 {
132 int id2 = this.Id;
133 }
134 }
135
136 // Token: 0x06002743 RID: 10051 RVA: 0x0018C57C File Offset: 0x0018A77C
137 public void ServerWriteCallBack(object state)
138 {
139 if (!true)
140 {
141 }
142 int statusMax = this.StatusMax;
143 int statusCount = this.StatusCount;
145 }
146
147 // Token: 0x06002744 RID: 10052 RVA: 0x0018C5A4 File Offset: 0x0018A7A4
149 {
150 if ("" == null)
151 {
152 }
153 base..ctor();
154 }
155
156 // Token: 0x06002745 RID: 10053 RVA: 0x0018C5D4 File Offset: 0x0018A7D4
157 // Note: this type is marked as 'beforefieldinit'.
159 {
160 }
161
162 // Token: 0x04003374 RID: 13172
164
165 // Token: 0x04003375 RID: 13173
166 public int Id;
167
168 // Token: 0x04003376 RID: 13174
169 public string Name = "Anonymous";
170
171 // Token: 0x04003377 RID: 13175
172 public bool LocalHost;
173
174 // Token: 0x04003378 RID: 13176
175 public bool Connected;
176
177 // Token: 0x04003379 RID: 13177
178 public bool IsActive;
179
180 // Token: 0x0400337A RID: 13178
182
183 // Token: 0x0400337B RID: 13179
185
186 // Token: 0x0400337C RID: 13180
187 public int State;
188
189 // Token: 0x0400337D RID: 13181
190 public int TimeOutTimer;
191
192 // Token: 0x0400337E RID: 13182
193 public string StatusText = "";
194
195 // Token: 0x0400337F RID: 13183
196 public string StatusText2;
197
198 // Token: 0x04003380 RID: 13184
199 public int StatusCount;
200
201 // Token: 0x04003381 RID: 13185
202 public int StatusMax;
203
204 // Token: 0x04003382 RID: 13186
205 public bool[,] TileSections;
206
207 // Token: 0x04003383 RID: 13187
208 public float SpamProjectile;
209
210 // Token: 0x04003384 RID: 13188
211 public float SpamAddBlock;
212
213 // Token: 0x04003385 RID: 13189
214 public float SpamDeleteBlock;
215
216 // Token: 0x04003386 RID: 13190
217 public float SpamWater;
218
219 // Token: 0x04003387 RID: 13191
220 public float SpamProjectileMax;
221
222 // Token: 0x04003388 RID: 13192
223 public float SpamAddBlockMax;
224
225 // Token: 0x04003389 RID: 13193
226 public float SpamDeleteBlockMax;
227
228 // Token: 0x0400338A RID: 13194
229 public float SpamWaterMax;
230 }
231}
class f__AnonymousType0<< Count > j__TPar
static string GetTextValue(string key)
Definition Language.cs:54
static void BootPlayer(int plr, NetworkText msg)
static void SendSection(int whoAmi, int sectionX, int sectionY)
void Reset(bool setupActive=false)
void ServerWriteCallBack(object state)
static void CheckSection(int playerIndex, Vector2 position, int fluff=1)
bool SectionRange(int size, int firstX, int firstY)
static List< Point > _pendingSectionFraming