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
DelegateMethods.cs
Go to the documentation of this file.
1using System;
7
8namespace Terraria
9{
10 // Token: 0x02000428 RID: 1064
11 public static class DelegateMethods
12 {
13 // Token: 0x060027B5 RID: 10165 RVA: 0x0018E1D0 File Offset: 0x0018C3D0
15 {
16 if (!true)
17 {
18 }
19 return 1;
20 }
21
22 // Token: 0x060027B6 RID: 10166 RVA: 0x0018E1E4 File Offset: 0x0018C3E4
23 public static Color ColorLerp_HSL_H(float percent)
24 {
25 if (!true)
26 {
27 }
28 return 1;
29 }
30
31 // Token: 0x060027B7 RID: 10167 RVA: 0x0018E1F8 File Offset: 0x0018C3F8
32 public static Color ColorLerp_HSL_S(float percent)
33 {
34 if (!true)
35 {
36 }
37 return 1;
38 }
39
40 // Token: 0x060027B8 RID: 10168 RVA: 0x0018E20C File Offset: 0x0018C40C
41 public static Color ColorLerp_HSL_L(float percent)
42 {
43 /*
44An exception occurred when decompiling this method (060027B8)
45
46ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Graphics.Color Terraria.DelegateMethods::ColorLerp_HSL_L(System.Single)
47
48 ---> System.Exception: Basic block has to end with unconditional control flow.
49{
50 IL_0000:
51 brtrue(IL_0000, ldc.i4:bool(1))
52}
53
54 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
55 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
56 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
57 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
58 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
59 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
60 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
61 --- End of inner exception stack trace ---
62 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
63 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
64*/;
65 }
66
67 // Token: 0x060027B9 RID: 10169 RVA: 0x0018E21C File Offset: 0x0018C41C
68 public static Color ColorLerp_HSL_O(float percent)
69 {
70 /*
71An exception occurred when decompiling this method (060027B9)
72
73ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Graphics.Color Terraria.DelegateMethods::ColorLerp_HSL_O(System.Single)
74
75 ---> System.Exception: Basic block has to end with unconditional control flow.
76{
77 IL_0000:
78 brtrue(IL_0000, ldc.i4:bool(1))
79}
80
81 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
82 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
83 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
84 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
85 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
86 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
87 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
88 --- End of inner exception stack trace ---
89 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
90 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
91*/;
92 }
93
94 // Token: 0x060027BA RID: 10170 RVA: 0x0018E22C File Offset: 0x0018C42C
95 public static bool SpreadDirt(int x, int y)
96 {
97 /*
98An exception occurred when decompiling this method (060027BA)
99
100ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.DelegateMethods::SpreadDirt(System.Int32,System.Int32)
101
102 ---> System.Exception: Basic block has to end with unconditional control flow.
103{
104 IL_0008:
105 stloc:int64(var_3_0B, ldc.i4:int64(0))
106 stloc:bool(var_4_14, call:bool(WorldGen::TryKillingReplaceableTile, ldc.i4:int32(0), ldloc:int32(x), ldloc:int64[exp:int32](var_3_0B)))
107 stloc:int32(var_7_1B, ldc.i4:int32(1))
108 stloc:float32(var_10_2D, ldfld:float32(Vector2::Y, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Dust::velocity, ldloc:Dust(var_9))))
109 stfld:bool(Dust::noGravity, ldloc:Dust(var_9), ldloc:int32[exp:bool](var_7_1B))
110 stloc:float32(var_11_44, ldfld:float32(Vector2::X, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Dust::velocity, ldloc:Dust(var_9))))
111 stfld:float32(Vector2::X, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Dust::velocity, ldloc:Dust(var_9)), ldloc:float32(var_10_2D))
112 stloc:float32(var_17_6B, ldfld:float32(Vector2::X, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Dust::velocity, ldloc:Dust(var_16))))
113 stloc:float32(var_18_79, ldfld:float32(Vector2::Y, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Dust::velocity, ldloc:Dust(var_16))))
114 stfld:float32(Vector2::Y, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Dust::velocity, ldloc:Dust(var_16)), ldloc:float32(var_18_79))
115 stfld:float32(Vector2::X, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Dust::velocity, ldloc:Dust(var_16)), ldloc:float32(var_17_6B))
116 stfld:float32(Vector2::Y, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Dust::velocity, ldloc:Dust(var_16)), ldloc:float32(var_18_79))
117 stloc:uint16(var_24_B2, callgetter:uint16(Tile::get_type, ldloc:Tile[exp:valuetype Terraria.Tile&](var_22)))
118 stloc:bool(var_27_BE, call:bool(Tile::topSlope, ldloc:Tile[exp:valuetype Terraria.Tile&](var_25)))
119 stloc:bool(var_29_C7, call:bool(Tile::halfBrick, ldloc:Tile[exp:valuetype Terraria.Tile&](var_28)))
120 stloc:int64(var_30_CA, ldc.i4:int64(0))
121 stloc:int64(var_31_CD, ldc.i4:int64(0))
122 stloc:bool(var_32_DB, call:bool(WorldGen::SlopeTile, ldc.i4:int32(0), ldloc:bool[exp:int32](var_5), ldloc:int64[exp:int32](var_30_CA), ldloc:int64[exp:bool](var_31_CD)))
123 stloc:uint16(var_37_EB, callgetter:uint16(Tile::get_type, ldloc:Tile[exp:valuetype Terraria.Tile&](var_35)))
124 stloc:int64(var_39_EE, ldc.i4:int64(0))
125 stloc:bool(var_40_F7, call:bool(Tile::bottomSlope, ldloc:Tile[exp:valuetype Terraria.Tile&](var_38)))
126 stloc:int64(var_41_FA, ldc.i4:int64(0))
127 stloc:int64(var_42_FD, ldc.i4:int64(0))
128 stloc:bool(var_43_10B, call:bool(WorldGen::SlopeTile, ldc.i4:int32(0), ldloc:int64[exp:int32](var_39_EE), ldloc:int64[exp:int32](var_41_FA), ldloc:int64[exp:bool](var_42_FD)))
129 stloc:bool(var_46_118, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_45)))
130 stloc:int64(var_56_11B, ldc.i4:int64(0))
131 stloc:bool(var_57_12A, call:bool(WorldGen::SolidTile, ldc.i4:int32(0), ldc.i4:int32(42189448), ldloc:int64[exp:bool](var_56_11B)))
132 stloc:int32(var_58_12D, ldc.i4:int32(1))
133 stloc:int64(var_59_130, ldc.i4:int64(0))
134 stloc:int64(var_60_133, ldc.i4:int64(0))
135 call:void(WorldGen::KillTile, ldloc:int32(x), ldc.i4:int32(42189448), ldloc:int32[exp:bool](var_58_12D), ldloc:int64[exp:bool](var_59_130), ldloc:int64[exp:bool](var_60_133))
136 stloc:uint16(var_63_151, callgetter:uint16(Tile::get_type, ldloc:Tile[exp:valuetype Terraria.Tile&](var_62)))
137}
138
139 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
140 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
141 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
142 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
143 --- End of inner exception stack trace ---
144 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
145 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
146*/;
147 }
148
149 // Token: 0x060027BB RID: 10171 RVA: 0x0018E394 File Offset: 0x0018C594
150 public static bool SpreadWater(int x, int y)
151 {
152 if (!true)
153 {
154 }
155 if (!true)
156 {
157 }
158 bool flag;
159 if (!flag)
160 {
161 }
162 int num = Dust.dustWater();
163 Dust dust;
164 float y2 = dust.velocity.Y;
165 dust.noGravity = true;
166 float x2 = dust.velocity.X;
168 Dust dust2;
169 float x3 = dust2.velocity.X;
170 float y3 = dust2.velocity.Y;
174 return true;
175 }
176
177 // Token: 0x060027BC RID: 10172 RVA: 0x0018E440 File Offset: 0x0018C640
178 public static bool SpreadHoney(int x, int y)
179 {
180 if (!true)
181 {
182 }
183 if (!true)
184 {
185 }
186 Dust dust;
187 float y2 = dust.velocity.Y;
188 float x2 = dust.velocity.X;
190 Dust dust2;
191 float x3 = dust2.velocity.X;
192 float y3 = dust2.velocity.Y;
196 return true;
197 }
198
199 // Token: 0x060027BD RID: 10173 RVA: 0x0018E4CC File Offset: 0x0018C6CC
200 public static bool SpreadLava(int x, int y)
201 {
202 if (!true)
203 {
204 }
205 if (!true)
206 {
207 }
208 Dust dust;
209 float x2 = dust.velocity.X;
210 float y2 = dust.velocity.Y;
211 Dust dust2;
212 float x3 = dust2.velocity.X;
213 float y3 = dust2.velocity.Y;
216 return true;
217 }
218
219 // Token: 0x060027BE RID: 10174 RVA: 0x0018E540 File Offset: 0x0018C740
220 public static bool SpreadDry(int x, int y)
221 {
222 if (!true)
223 {
224 }
225 if (!true)
226 {
227 }
228 bool flag = WorldGen.EmptyLiquid(0, x);
229 Dust dust;
230 dust.noGravity = true;
231 float x2 = dust.velocity.X;
232 float y2 = dust.velocity.Y;
233 Dust dust2;
234 float x3 = dust2.velocity.X;
235 float y3 = dust2.velocity.Y;
238 return true;
239 }
240
241 // Token: 0x060027BF RID: 10175 RVA: 0x0018E5C0 File Offset: 0x0018C7C0
242 public static bool SpreadTest(int x, int y)
243 {
244 if (!true)
245 {
246 }
247 long num = 0L;
248 bool flag = WorldGen.SolidTile(0, x, num != 0L);
249 return true;
250 }
251
252 // Token: 0x060027C0 RID: 10176 RVA: 0x0018E5E0 File Offset: 0x0018C7E0
253 public static bool TestDust(int x, int y)
254 {
255 if (!true)
256 {
257 }
258 if (!false)
259 {
260 return;
261 }
262 }
263
264 // Token: 0x060027C1 RID: 10177 RVA: 0x0018E5FC File Offset: 0x0018C7FC
265 public static bool CastLightFunc(int x, int y)
266 {
267 if (!true)
268 {
269 }
270 long num = 0L;
271 if (num == 0L)
272 {
273 }
274 if (num == 0L)
275 {
276 }
277 return false;
278 }
279
280 // Token: 0x060027C2 RID: 10178 RVA: 0x0018E618 File Offset: 0x0018C818
281 public static bool CastLightOpenFunc(int x, int y)
282 {
283 if (!true)
284 {
285 }
286 long num = 0L;
287 if (num == 0L)
288 {
289 }
290 if (num == 0L)
291 {
292 }
293 Tile tile;
294 bool flag = tile.active();
295 Tile tile2;
296 bool flag2 = tile2.inActive();
297 Tile tile3;
298 ushort type = tile3.type;
299 return false;
300 }
301
302 // Token: 0x060027C3 RID: 10179 RVA: 0x0018E664 File Offset: 0x0018C864
303 public static bool CheckStopForSolids(int x, int y)
304 {
305 /*
306An exception occurred when decompiling this method (060027C3)
307
308ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.DelegateMethods::CheckStopForSolids(System.Int32,System.Int32)
309
310 ---> System.Exception: Basic block has to end with unconditional control flow.
311{
312 Block_0:
313 brtrue(IL_0000, ldloc:int64[exp:bool](var_11_2E))
314}
315
316 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
317 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
318 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
319 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
320 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
321 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
322 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
323 --- End of inner exception stack trace ---
324 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
325 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
326*/;
327 }
328
329 // Token: 0x060027C4 RID: 10180 RVA: 0x0018E6B8 File Offset: 0x0018C8B8
330 public static bool CastLightOpen_StopForSolids_ScaleWithDistance(int x, int y)
331 {
332 if (!true)
333 {
334 }
335 long num = 0L;
336 if (num == 0L)
337 {
338 }
339 if (num == 0L)
340 {
341 }
342 Tile tile;
343 bool flag = tile.active();
344 Tile tile2;
345 bool flag2 = tile2.inActive();
346 Tile tile3;
347 ushort type = tile3.type;
348 return false;
349 }
350
351 // Token: 0x060027C5 RID: 10181 RVA: 0x0018E710 File Offset: 0x0018C910
352 public static bool CastLightOpen_StopForSolids(int x, int y)
353 {
354 if (!true)
355 {
356 }
357 long num = 0L;
358 if (num == 0L)
359 {
360 }
361 if (num == 0L)
362 {
363 }
364 Tile tile;
365 bool flag = tile.active();
366 Tile tile2;
367 bool flag2 = tile2.inActive();
368 Tile tile3;
369 ushort type = tile3.type;
370 return false;
371 }
372
373 // Token: 0x060027C6 RID: 10182 RVA: 0x0018E760 File Offset: 0x0018C960
374 public static bool SpreadLightOpen_StopForSolids(int x, int y)
375 {
376 /*
377An exception occurred when decompiling this method (060027C6)
378
379ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.DelegateMethods::SpreadLightOpen_StopForSolids(System.Int32,System.Int32)
380
381 ---> System.Exception: Basic block has to end with unconditional control flow.
382{
383 IL_000A:
384 stloc:bool(var_6_16, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_4)))
385 stloc:bool(var_9_22, call:bool(Tile::inActive, ldloc:Tile[exp:valuetype Terraria.Tile&](var_7)))
386 stloc:uint16(var_11_2B, callgetter:uint16(Tile::get_type, ldloc:Tile[exp:valuetype Terraria.Tile&](var_10)))
387 stloc:uint16(var_14_37, callgetter:uint16(Tile::get_type, ldloc:Tile[exp:valuetype Terraria.Tile&](var_13)))
388}
389
390 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
391 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
392 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
393 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
394 --- End of inner exception stack trace ---
395 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
396 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
397*/;
398 }
399
400 // Token: 0x060027C7 RID: 10183 RVA: 0x0018E7A8 File Offset: 0x0018C9A8
401 public static bool EmitGolfCartDust_StopForSolids(int x, int y)
402 {
403 if (!true)
404 {
405 }
406 long num = 0L;
407 if (num == 0L)
408 {
409 }
410 if (num == 0L)
411 {
412 }
413 Tile tile;
414 bool flag = tile.active();
415 Tile tile2;
416 bool flag2 = tile2.inActive();
417 Tile tile3;
418 ushort type = tile3.type;
419 if (8 == 0)
420 {
421 }
422 if (!true)
423 {
424 }
425 int num2 = 1;
426 if (num2 == 0)
427 {
428 }
429 Tile tile4;
430 ushort type2 = tile4.type;
431 while (num2 == 0)
432 {
433 }
434 }
435
436 // Token: 0x060027C8 RID: 10184 RVA: 0x0018E808 File Offset: 0x0018CA08
437 public static bool NotDoorStand(int x, int y)
438 {
439 if (!true)
440 {
441 }
442 Tile tile;
443 bool flag = tile.active();
444 Tile tile2;
445 ushort type = tile2.type;
446 Tile tile3;
447 short frameX = tile3.frameX;
448 Tile tile4;
449 short frameX2 = tile4.frameX;
450 return true;
451 }
452
453 // Token: 0x060027C9 RID: 10185 RVA: 0x0018E848 File Offset: 0x0018CA48
454 public static bool CutTiles(int x, int y)
455 {
456 int num = 1;
457 if (num == 0)
458 {
459 }
460 int num2 = 1;
461 bool flag = WorldGen.InWorld(0, x, num2);
462 if (num == 0)
463 {
464 }
465 Tile tile;
466 ushort type = tile.type;
467 Tile tile2;
468 ushort type2 = tile2.type;
469 if (!false)
470 {
471 }
472 long num3 = 0L;
473 long num4 = 0L;
474 long num5 = 0L;
475 WorldGen.KillTile(0, x, num3 != 0L, num4 != 0L, num5 != 0L);
476 if (!false)
477 {
478 }
479 if (false)
480 {
481 return;
482 }
483 }
484
485 // Token: 0x060027CA RID: 10186 RVA: 0x0018E8A8 File Offset: 0x0018CAA8
486 public static bool SearchAvoidedByNPCsImp(int x, int y)
487 {
488 /*
489An exception occurred when decompiling this method (060027CA)
490
491ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.DelegateMethods::SearchAvoidedByNPCsImp(System.Int32,System.Int32)
492
493 ---> System.Exception: Basic block has to end with unconditional control flow.
494{
495 IL_0013:
496 stloc:bool(var_6_1D, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_4)))
497 stloc:uint16(var_8_26, callgetter:uint16(Tile::get_type, ldloc:Tile[exp:valuetype Terraria.Tile&](var_7)))
498}
499
500 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
501 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
502 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
503 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
504 --- End of inner exception stack trace ---
505 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
506 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
507*/;
508 }
509
510 // Token: 0x060027CB RID: 10187 RVA: 0x0018E8E4 File Offset: 0x0018CAE4
511 public static void RainbowLaserDraw(int stage, [Out] float distCovered, [Out] Rectangle frame, [Out] Vector2 origin, [Out] Color color)
512 {
513 if (!true)
514 {
515 }
516 float x;
517 if (stage == 0)
518 {
519 frame.X = 16900;
521 x = origin.X;
522 if (16900 == 0)
523 {
524 }
525 if (16900 == 0)
526 {
527 }
528 return;
529 }
530 frame.X = 15360;
531 if (15360 == 0)
532 {
533 }
534 if (!true)
535 {
536 }
537 origin.X = (float)1;
538 if (!true)
539 {
540 }
541 if (!true)
542 {
543 }
544 color.A = 1;
545 if (!true)
546 {
547 }
548 x.m_value = (float)1;
549 }
550
551 // Token: 0x060027CC RID: 10188 RVA: 0x0018E988 File Offset: 0x0018CB88
552 public static void TurretLaserDraw(int stage, [Out] float distCovered, [Out] Rectangle frame, [Out] Vector2 origin, [Out] Color color)
553 {
554 if (!true)
555 {
556 }
557 if (stage == 0)
558 {
559 int num = 16896;
560 frame.X = num;
562 float x = origin.X;
563 if (num == 0)
564 {
565 }
566 if (num == 0)
567 {
568 }
569 return;
570 }
571 int num2 = 15360;
572 frame.X = num2;
573 if (num2 == 0)
574 {
575 }
576 int num3 = 1;
577 if (num3 == 0)
578 {
579 }
580 if (num3 == 0)
581 {
582 }
583 if (!true)
584 {
585 }
586 }
587
588 // Token: 0x060027CD RID: 10189 RVA: 0x0018EA28 File Offset: 0x0018CC28
589 public static void LightningLaserDraw(int stage, [Out] float distCovered, [Out] Rectangle frame, [Out] Vector2 origin, [Out] Color color)
590 {
591 if (!true)
592 {
593 }
594 float x;
595 if (stage == 0)
596 {
598 x = origin.X;
599 if (!true)
600 {
601 }
602 if (!true)
603 {
604 }
605 return;
606 }
607 frame.X = 15360;
608 if (15360 == 0)
609 {
610 }
611 if (!true)
612 {
613 }
614 origin.X = (float)1;
615 if (!true)
616 {
617 }
618 if (!true)
619 {
620 }
621 color.A = 1;
622 if (!true)
623 {
624 }
625 x.m_value = (float)1;
626 }
627
628 // Token: 0x060027CE RID: 10190 RVA: 0x0018EAB8 File Offset: 0x0018CCB8
629 public static int CompareYReverse(Point a, Point b)
630 {
631 int num;
632 return num;
633 }
634
635 // Token: 0x060027CF RID: 10191 RVA: 0x0018EAC8 File Offset: 0x0018CCC8
637 {
638 float y = a.scale.Y;
639 int num;
640 return num;
641 }
642
643 // Token: 0x060027D0 RID: 10192 RVA: 0x0018EAE4 File Offset: 0x0018CCE4
644 // Note: this type is marked as 'beforefieldinit'.
646 {
647 if (!true)
648 {
649 }
650 if (!true)
651 {
652 }
653 if (!true)
654 {
655 }
656 if (!true)
657 {
658 }
659 if (!true)
660 {
661 }
662 }
663
664 // Token: 0x040033D4 RID: 13268
665 public static Vector3 v3_1;
666
667 // Token: 0x040033D5 RID: 13269
668 public static Vector2 v2_1;
669
670 // Token: 0x040033D6 RID: 13270
671 public static float f_1;
672
673 // Token: 0x040033D7 RID: 13271
674 public static Color c_1;
675
676 // Token: 0x040033D8 RID: 13272
677 public static int i_1;
678
679 // Token: 0x040033D9 RID: 13273
680 public static bool CheckResultOut;
681
682 // Token: 0x040033DA RID: 13274
684
685 // Token: 0x040033DB RID: 13275
686 public static bool[] tileCutIgnore;
687
688 // Token: 0x040033DC RID: 13276
690
691 // Token: 0x040033DD RID: 13277
693
694 // Token: 0x040033DE RID: 13278
696
697 // Token: 0x02000429 RID: 1065
698 public static class CharacterPreview
699 {
700 // Token: 0x060027D1 RID: 10193 RVA: 0x0018EB08 File Offset: 0x0018CD08
701 public static void EtsyPet(Projectile proj, bool walking)
702 {
703 int num = 1;
704 long num2 = 0L;
706 if (num == 0)
707 {
708 }
709 }
710
711 // Token: 0x060027D2 RID: 10194 RVA: 0x0018EB24 File Offset: 0x0018CD24
712 public static void CompanionCubePet(Projectile proj, bool walking)
713 {
714 if (!true)
715 {
716 }
717 if (17136 == 0)
718 {
719 }
720 float y = proj.position.Y;
721 proj.position.Y = y;
722 }
723
724 // Token: 0x060027D3 RID: 10195 RVA: 0x0018EB54 File Offset: 0x0018CD54
725 public static void BerniePet(Projectile proj, bool walking)
726 {
727 float x = proj.position.X;
728 proj.position.X = x;
729 }
730
731 // Token: 0x060027D4 RID: 10196 RVA: 0x0018EB7C File Offset: 0x0018CD7C
732 public static void SlimePet(Projectile proj, bool walking)
733 {
734 if (!true)
735 {
736 }
737 float y = proj.position.Y;
738 if (!true)
739 {
740 }
741 }
742
743 // Token: 0x060027D5 RID: 10197 RVA: 0x0018EB9C File Offset: 0x0018CD9C
744 public static void WormPet(Projectile proj, bool walking)
745 {
746 if (!true)
747 {
748 }
749 int num = 1;
750 if (num == 0)
751 {
752 }
753 if (num == 0)
754 {
755 }
756 Vector2[] oldPos = proj.oldPos;
757 int type = proj.type;
758 float x = proj.position.X;
759 float y = proj.position.Y;
760 if (oldPos == null)
761 {
762 }
763 Vector2[] oldPos2 = proj.oldPos;
764 }
765
766 // Token: 0x060027D6 RID: 10198 RVA: 0x0018EC18 File Offset: 0x0018CE18
768 {
769 long num = 0L;
771 if (!true)
772 {
773 }
774 }
775
776 // Token: 0x060027D7 RID: 10199 RVA: 0x0018EC34 File Offset: 0x0018CE34
778 {
779 long num = 0L;
781 }
782
783 // Token: 0x060027D8 RID: 10200 RVA: 0x0018EC4C File Offset: 0x0018CE4C
784 public static void Float(Projectile proj, bool walking)
785 {
786 if (!true)
787 {
788 }
789 float y = proj.position.Y;
790 if (17008 == 0)
791 {
792 }
793 }
794
795 // Token: 0x060027D9 RID: 10201 RVA: 0x0018EC70 File Offset: 0x0018CE70
797 {
798 }
799 }
800
801 // Token: 0x0200042A RID: 1066
802 public static class Mount
803 {
804 // Token: 0x060027DA RID: 10202 RVA: 0x0018EC80 File Offset: 0x0018CE80
805 public static bool NoHandPosition(Player player, [Out] Vector2? position)
806 {
807 return true;
808 }
809
810 // Token: 0x060027DB RID: 10203 RVA: 0x0018EC90 File Offset: 0x0018CE90
811 public static bool WolfMouthPosition(Player player, [Out] Vector2? position)
812 {
813 if (!true)
814 {
815 }
816 if (!true)
817 {
818 }
819 return true;
820 }
821 }
822
823 // Token: 0x0200042B RID: 1067
824 public static class Minecart
825 {
826 // Token: 0x060027DC RID: 10204 RVA: 0x0018ECAC File Offset: 0x0018CEAC
827 public static void Sparks(Vector2 dustPosition)
828 {
829 if (!true)
830 {
831 }
832 int num;
833 if (num != 0)
834 {
835 return;
836 }
837 }
838
839 // Token: 0x060027DD RID: 10205 RVA: 0x0018ECFC File Offset: 0x0018CEFC
840 public static void JumpingSound(Player Player, Vector2 Position, int Width, int Height)
841 {
842 }
843
844 // Token: 0x060027DE RID: 10206 RVA: 0x0018ED0C File Offset: 0x0018CF0C
845 public static void LandingSound(Player Player, Vector2 Position, int Width, int Height)
846 {
847 if (!true)
848 {
849 }
850 }
851
852 // Token: 0x060027DF RID: 10207 RVA: 0x0018ED1C File Offset: 0x0018CF1C
853 public static void BumperSound(Player Player, Vector2 Position, int Width, int Height)
854 {
855 if (!true)
856 {
857 }
858 }
859
860 // Token: 0x060027E0 RID: 10208 RVA: 0x0018ED2C File Offset: 0x0018CF2C
861 public static void SpawnFartCloud(Player Player, Vector2 Position, int Width, int Height, bool useDelay = true)
862 {
863 int fartKartCloudDelay = Player.fartKartCloudDelay;
864 int num = 20;
866 if (num == 0)
867 {
868 }
869 float x = Player.velocity.X;
870 float y = Player.velocity.Y;
871 Vector2 vector;
872 float num2 = vector.Length();
873 if (!true)
874 {
875 }
876 int num3 = 1;
877 if (num3 != 0)
878 {
879 return;
880 }
881 int value = num3.m_value;
882 int num4 = 1;
883 if (num4 == 0)
884 {
885 }
886 int value2 = num4.m_value;
888 if (mount._active)
889 {
890 if (mount._type == 0)
891 {
892 }
893 int num5 = 1;
894 Dust dust;
895 float x2 = dust.velocity.X;
896 float y2 = dust.velocity.Y;
897 dust.velocity.X = x;
898 dust.velocity.X = x;
899 float y3 = dust.velocity.Y;
900 float x3 = dust.velocity.X;
902 dust.fadeIn = x3;
904 }
905 }
906
907 // Token: 0x060027E1 RID: 10209 RVA: 0x0018EEB4 File Offset: 0x0018D0B4
908 public static void JumpingSoundFart(Player Player, Vector2 Position, int Width, int Height)
909 {
910 if (!true)
911 {
912 }
913 }
914
915 // Token: 0x060027E2 RID: 10210 RVA: 0x0018EEC4 File Offset: 0x0018D0C4
916 public static void LandingSoundFart(Player Player, Vector2 Position, int Width, int Height)
917 {
918 if (!true)
919 {
920 }
921 }
922
923 // Token: 0x060027E3 RID: 10211 RVA: 0x0018EED4 File Offset: 0x0018D0D4
924 public static void BumperSoundFart(Player Player, Vector2 Position, int Width, int Height)
925 {
926 if (!true)
927 {
928 }
929 }
930
931 // Token: 0x060027E4 RID: 10212 RVA: 0x0018EEE4 File Offset: 0x0018D0E4
932 public static void SparksFart(Vector2 dustPosition)
933 {
934 if (!true)
935 {
936 }
937 int num;
938 if (num == 0)
939 {
940 }
941 int num2;
942 if (num2 == 0)
943 {
944 }
945 if (!true)
946 {
947 }
948 }
949
950 // Token: 0x060027E5 RID: 10213 RVA: 0x0018EF3C File Offset: 0x0018D13C
952 {
953 int num = 1;
954 if (num == 0)
955 {
956 }
957 int num2;
958 if (num2 != 0)
959 {
960 if (num == 0)
961 {
962 }
963 int num3;
964 if (num3 == 0)
965 {
966 }
967 int num4;
968 if (num4 == 0)
969 {
970 }
971 if (!true)
972 {
973 }
974 return;
975 }
976 }
977
978 // Token: 0x060027E6 RID: 10214 RVA: 0x0018EFB0 File Offset: 0x0018D1B0
979 public static void SparksMech(Vector2 dustPosition)
980 {
981 if (!true)
982 {
983 }
984 int num;
985 if (num != 0)
986 {
987 return;
988 }
989 }
990
991 // Token: 0x060027E7 RID: 10215 RVA: 0x0018F000 File Offset: 0x0018D200
992 public static void SparksMeow(Vector2 dustPosition)
993 {
994 if (!true)
995 {
996 }
997 int num;
998 if (num != 0)
999 {
1000 return;
1001 }
1002 }
1003
1004 // Token: 0x040033DF RID: 13279
1006
1007 // Token: 0x040033E0 RID: 13280
1008 public static float rotation;
1009 }
1010 }
1011}
class f__AnonymousType0<< Count > j__TPar
static void EtsyPet(Projectile proj, bool walking)
static void BerniePet(Projectile proj, bool walking)
static void SlimePet(Projectile proj, bool walking)
static void WormPet(Projectile proj, bool walking)
static void FloatAndRotateForwardWhenWalking(Projectile proj, bool walking)
static void RotateForwardWhenWalking(Projectile proj, bool walking)
static void Float(Projectile proj, bool walking)
static void CompanionCubePet(Projectile proj, bool walking)
static void FloatAndSpinWhenWalking(Projectile proj, bool walking)
static void LandingSoundFart(Player Player, Vector2 Position, int Width, int Height)
static void JumpingSoundFart(Player Player, Vector2 Position, int Width, int Height)
static void SparksMech(Vector2 dustPosition)
static void SparksFart(Vector2 dustPosition)
static void LandingSound(Player Player, Vector2 Position, int Width, int Height)
static void SparksTerraFart(Vector2 dustPosition)
static void SparksMeow(Vector2 dustPosition)
static void BumperSound(Player Player, Vector2 Position, int Width, int Height)
static void Sparks(Vector2 dustPosition)
static void BumperSoundFart(Player Player, Vector2 Position, int Width, int Height)
static void SpawnFartCloud(Player Player, Vector2 Position, int Width, int Height, bool useDelay=true)
static void JumpingSound(Player Player, Vector2 Position, int Width, int Height)
static bool NoHandPosition(Player player, [Out] Vector2? position)
static bool WolfMouthPosition(Player player, [Out] Vector2? position)
static bool SpreadWater(int x, int y)
static bool CheckStopForSolids(int x, int y)
static Utils.TileActionAttempt CastLight
static bool CastLightOpen_StopForSolids_ScaleWithDistance(int x, int y)
static bool SpreadLightOpen_StopForSolids(int x, int y)
static Utils.TileActionAttempt CastLightOpen
static Color ColorLerp_HSL_S(float percent)
static bool SpreadLava(int x, int y)
static bool SpreadDry(int x, int y)
static Color ColorLerp_BlackToWhite(float percent)
static Color ColorLerp_HSL_H(float percent)
static bool CastLightOpen_StopForSolids(int x, int y)
static Color ColorLerp_HSL_L(float percent)
static int CompareYReverse(Point a, Point b)
static bool SpreadTest(int x, int y)
static TileCuttingContext tilecut_0
static void LightningLaserDraw(int stage, [Out] float distCovered, [Out] Rectangle frame, [Out] Vector2 origin, [Out] Color color)
static bool CutTiles(int x, int y)
static bool SpreadDirt(int x, int y)
static bool NotDoorStand(int x, int y)
static bool SearchAvoidedByNPCsImp(int x, int y)
static bool CastLightFunc(int x, int y)
static bool EmitGolfCartDust_StopForSolids(int x, int y)
static bool SpreadHoney(int x, int y)
static bool CastLightOpenFunc(int x, int y)
static bool TestDust(int x, int y)
static void TurretLaserDraw(int stage, [Out] float distCovered, [Out] Rectangle frame, [Out] Vector2 origin, [Out] Color color)
static Color ColorLerp_HSL_O(float percent)
static Utils.TileActionAttempt SearchAvoidedByNPCs
static void RainbowLaserDraw(int stage, [Out] float distCovered, [Out] Rectangle frame, [Out] Vector2 origin, [Out] Color color)
static int CompareDrawSorterByYScale(DrawData a, DrawData b)
static int dustWater()
Definition Dust.cs:275
Vector2 velocity
Definition Dust.cs:441
Vector2 velocity
Definition Entity.cs:463
int fartKartCloudDelay
Definition Player.cs:21320
static bool SolidTile(short tileSHeader, ushort tileType)
static void KillTile(int i, int j, bool fail=false, bool effectOnly=false, bool noItem=false)
static bool EmptyLiquid(int x, int y)
Definition WorldGen.cs:116
static bool InWorld(int x, int y, int fluff=0)
Definition WorldGen.cs:1952
bool inActive()
Definition Tile.cs:1211
ushort type
Definition Tile.cs:58
short frameX
Definition Tile.cs:244
bool active()
Definition Tile.cs:1241