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

◆ OpenDoor()

static bool Terraria.WorldGen.OpenDoor ( int i,
int j,
int direction )
inlinestatic

Definition at line 7392 of file WorldGen.cs.

7393 {
7394 int num = 1;
7395 if (num == 0)
7396 {
7397 }
7398 Tile tile;
7399 ushort type = tile.type;
7400 if (num == 0)
7401 {
7402 }
7403 if (4855 == 0)
7404 {
7405 }
7406 Tile tile2;
7407 TileColorCache tileColorCache = tile2.BlockColorAndCoating();
7408 Tile tile3;
7409 TileColorCache tileColorCache2 = tile3.BlockColorAndCoating();
7410 Tile tile4;
7411 TileColorCache tileColorCache3 = tile4.BlockColorAndCoating();
7412 Tile tile5;
7413 bool flag = tile5.active();
7414 Tile tile6;
7415 ushort type2 = tile6.type;
7416 Tile tile7;
7417 ushort type3 = tile7.type;
7418 Tile tile8;
7419 ushort type4 = tile8.type;
7420 Tile tile9;
7421 ushort type5 = tile9.type;
7422 Tile tile10;
7423 ushort type6 = tile10.type;
7424 Tile tile11;
7425 ushort type7 = tile11.type;
7426 Tile tile12;
7427 ushort type8 = tile12.type;
7428 Tile tile13;
7429 ushort type9 = tile13.type;
7430 Tile tile14;
7431 ushort type10 = tile14.type;
7432 Tile tile15;
7433 ushort type11 = tile15.type;
7434 Tile tile16;
7435 ushort type12 = tile16.type;
7436 Tile tile17;
7437 ushort type13 = tile17.type;
7438 Tile tile18;
7439 ushort type14 = tile18.type;
7440 Tile tile19;
7441 ushort type15 = tile19.type;
7442 Tile tile20;
7443 ushort type16 = tile20.type;
7444 long num2 = 0L;
7445 long num3 = 0L;
7446 long num4 = 0L;
7447 WorldGen.KillTile(0, 43143168, num2 != 0L, num3 != 0L, num4 != 0L);
7448 return false;
7449 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Tile.active(), j__TPar, Terraria.WorldGen.KillTile(), System.L, and Terraria.Tile.type.