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

◆ KillTile_GetTreeDrops()

static void Terraria.WorldGen.KillTile_GetTreeDrops ( int i,
int j,
Tile tileCache,
bool bonusWood,
int dropItem,
int secondaryItem )
inlinestaticprivate

Definition at line 14059 of file WorldGen.cs.

14060 {
14061 int num = 1;
14062 if (num == 0)
14063 {
14064 }
14065 bool logicHost = Main.LogicHost;
14066 if (num == 0)
14067 {
14068 }
14069 UnifiedRandom genRand = WorldGen.genRand;
14070 int num2 = 2;
14071 long num3 = 0L;
14072 if (genRand.Next(num2) != 0)
14073 {
14074 int num4 = 9;
14076 if (num4 == 0)
14077 {
14078 }
14079 WorldGen.GetTreeBottom(i, j, (int)num3, bonusWood ? 1 : 0);
14080 if (num4 == 0)
14081 {
14082 }
14083 Tile tile;
14084 bool flag = tile.active();
14085 if (num4 == 0)
14086 {
14087 }
14088 Tile tile2;
14089 ushort type = tile2.type;
14090 return;
14091 }
14092 int num5;
14093 if (num5 == 0)
14094 {
14095 }
14096 Tile tile3;
14097 bool flag2 = tile3.active();
14098 Tile tile4;
14099 ushort type2 = tile4.type;
14100 Tile tile5;
14101 ushort type3 = tile5.type;
14102 }
class f__AnonymousType0<< Count > j__TPar
static UnifiedRandom genRand
Definition WorldGen.cs:38

References Terraria.Tile.active(), Terraria.WorldGen.genRand, Terraria.WorldGen.GetTreeBottom(), j__TPar, System.L, Terraria.Main.LogicHost, Terraria.Utilities.UnifiedRandom.Next(), and Terraria.Tile.type.