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

◆ AttemptToGrowTreeFromSapling()

static bool Terraria.WorldGen.AttemptToGrowTreeFromSapling ( int x,
int y,
bool underground )
inlinestatic

Definition at line 15207 of file WorldGen.cs.

15208 {
15209 int num = 1;
15210 if (num == 0)
15211 {
15212 }
15213 if (num == 0)
15214 {
15215 }
15216 int num2 = 2;
15217 bool flag = WorldGen.InWorld(0, x, num2);
15218 if (num == 0)
15219 {
15220 }
15221 Tile tile;
15222 bool flag2 = tile.active();
15223 if (num == 0)
15224 {
15225 }
15226 if (num == 0)
15227 {
15228 }
15229 long num3 = 0L;
15230 if (num == 0)
15231 {
15232 }
15233 bool flag3 = WorldGen.TryGrowingTreeByType(596, (int)num3, x);
15234 if (num == 0)
15235 {
15236 }
15237 bool flag4 = WorldGen.PlayerLOS(0, x);
15238 if (num == 0)
15239 {
15240 }
15241 WorldGen.TreeGrowFXCheck(0, x);
15242 if (num == 0)
15243 {
15244 }
15245 return WorldGen.GrowPalmTree(0, x);
15246 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Tile.active(), Terraria.WorldGen.GrowPalmTree(), Terraria.WorldGen.InWorld(), j__TPar, System.L, Terraria.WorldGen.PlayerLOS(), Terraria.WorldGen.TreeGrowFXCheck(), and Terraria.WorldGen.TryGrowingTreeByType().