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

◆ MarblePileWithStatues()

static bool Terraria.WorldGen.MarblePileWithStatues ( int X,
int Y )
inlinestatic

Definition at line 2360 of file WorldGen.cs.

2361 {
2362 int num = 1;
2363 if (num == 0)
2364 {
2365 }
2366 long num2 = 0L;
2367 bool flag = WorldGen.SolidTile(0, X, num2 != 0L);
2368 if (num == 0)
2369 {
2370 }
2371 if (num == 0)
2372 {
2373 }
2374 Tile tile;
2375 ushort type = tile.type;
2376 if (num == 0)
2377 {
2378 }
2379 Tile tile2;
2380 ushort type2 = tile2.type;
2381 if (num == 0)
2382 {
2383 }
2384 Tile tile3;
2385 ushort wall = tile3.wall;
2386 if (num == 0)
2387 {
2388 }
2389 int num3 = 32640;
2390 Tile tile4;
2391 bool flag2 = tile4.active();
2392 Tile tile5;
2393 ushort type3 = tile5.type;
2394 Tile tile6;
2395 ushort type4 = tile6.type;
2396 double num4 = WorldGen.genRand.NextDouble();
2397 double num5 = WorldGen.genRand.NextDouble();
2398 UnifiedRandom genRand = WorldGen.genRand;
2399 int num6 = 2;
2400 int num7 = 4;
2401 int num8 = genRand.Next(num6, num7);
2403 int num9 = 10;
2404 int num10 = genRand2.Next(num9);
2405 if (num3 == 0)
2406 {
2407 }
2409 int num11 = 3;
2410 int num12 = 6;
2411 int num13 = genRand3.Next(num11, num12);
2413 int num14 = 70;
2414 int num15 = 91;
2415 int num16 = genRand4.Next(num14, num15);
2417 double num17 = vector2D.Length();
2418 double num18 = WorldGen.genRand.NextDouble();
2419 double num19 = WorldGen.genRand.NextDouble();
2420 Tile tile7;
2421 bool flag3 = tile7.active();
2422 int num20 = 1;
2423 WorldGen.SquareTileFrame(X, num16, num20 != 0);
2424 double num21 = WorldGen.genRand.NextDouble();
2425 double num22 = WorldGen.genRand.NextDouble();
2426 int num23 = 32768;
2427 if (num23 == 0)
2428 {
2429 }
2431 int num24 = 5;
2432 if (genRand5.Next(num24) == 0)
2433 {
2434 if (num23 == 0)
2435 {
2436 }
2437 Tile tile8;
2438 bool flag4 = tile8.active();
2439 while (num23 != 0)
2440 {
2441 }
2442 if (num23 == 0)
2443 {
2444 }
2445 Tile tile9;
2446 bool flag5 = tile9.active();
2447 if (num23 == 0)
2448 {
2449 }
2450 int num25 = 26;
2451 bool flag6 = WorldGen.Statue(0, X, (byte)num25);
2452 return;
2453 }
2454 }
class f__AnonymousType0<< Count > j__TPar
static UnifiedRandom genRand
Definition WorldGen.cs:38

References Terraria.Tile.active(), Terraria.WorldGen.genRand, j__TPar, System.L, ReLogic.Utilities.Vector2D.Length(), Terraria.Utilities.UnifiedRandom.Next(), Terraria.Utilities.UnifiedRandom.NextDouble(), Terraria.WorldGen.SolidTile(), Terraria.WorldGen.SquareTileFrame(), Terraria.WorldGen.Statue(), Terraria.Tile.type, Terraria.Tile.wall, and System.X.