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

◆ TryGrowingGlowTulip()

static bool Terraria.WorldGen.TryGrowingGlowTulip ( int i,
int j )
inlinestaticprivate

Definition at line 15413 of file WorldGen.cs.

15414 {
15415 if (!true)
15416 {
15417 }
15418 UnifiedRandom genRand = WorldGen.genRand;
15419 int num = Math.Max(10, 43143168);
15420 int num2 = Math.Min(int.MinValue, 43143168);
15421 int num3 = genRand.Next(num, num2);
15423 int num4 = Math.Max(10, num);
15424 int num5 = Math.Min(num4, num);
15425 int num6 = genRand2.Next(num4, num5);
15426 bool flag = WorldGen.HasValidGroundForGlowTulipBelowSpot(num3, num6);
15427 if (-2147483648 == 0)
15428 {
15429 }
15430 bool flag2 = WorldGen.NoNearbyGlowTulips(num3, num6);
15431 if (-2147483648 == 0)
15432 {
15433 }
15434 if (-2147483648 == 0)
15435 {
15436 }
15437 Tile tile;
15438 bool flag3 = tile.active();
15439 if (-2147483648 == 0)
15440 {
15441 }
15442 if (-2147483648 == 0)
15443 {
15444 if (-2147483648 == 0)
15445 {
15446 }
15447 bool netHost = Main.NetHost;
15448 if (-2147483648 == 0)
15449 {
15450 }
15451 Tile tile2;
15452 bool flag4 = tile2.active();
15453 return;
15454 }
15455 }
class f__AnonymousType0<< Count > j__TPar
static byte Min(byte val1, byte val2)
Definition Math.cs:152
static byte Max(byte val1, byte val2)
Definition Math.cs:111
static UnifiedRandom genRand
Definition WorldGen.cs:38

References Terraria.Tile.active(), Terraria.WorldGen.genRand, Terraria.WorldGen.HasValidGroundForGlowTulipBelowSpot(), j__TPar, System.Math.Max(), System.Math.Min(), Terraria.Main.NetHost, Terraria.Utilities.UnifiedRandom.Next(), and Terraria.WorldGen.NoNearbyGlowTulips().