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

◆ SlopeTile()

static bool Terraria.WorldGen.SlopeTile ( int i,
int j,
int slope = 0,
bool noEffects = false )
inlinestatic

Definition at line 17190 of file WorldGen.cs.

17191 {
17192 int num = 1;
17193 if (num == 0)
17194 {
17195 }
17196 bool flag = WorldGen.CanPoundTile(0, i);
17197 if (num == 0)
17198 {
17199 }
17200 long num2 = 0L;
17201 Tile tile;
17202 tile.halfBrick(num2 != 0L);
17203 Tile tile2;
17204 tile2.slope((byte)j);
17205 if (j == 0)
17206 {
17207 int num3 = 1;
17208 int num4 = 1;
17209 long num5 = 0L;
17210 WorldGen.KillTile(0, i, num3 != 0, num4 != 0, num5 != 0L);
17211 int num6 = 1;
17212 WorldGen.SquareTileFrame(0, i, num6 != 0);
17213 Tile tile3;
17214 byte b = tile3.slope();
17215 return;
17216 }
17217 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.WorldGen.CanPoundTile(), Terraria.Tile.halfBrick(), j__TPar, Terraria.WorldGen.KillTile(), System.L, Terraria.Tile.slope(), and Terraria.WorldGen.SquareTileFrame().

Referenced by Terraria.WorldBuilding.Actions.SetSlope.Apply(), and Terraria.Player.PlaceThing_Tiles_PlaceIt_UnslopeForSolids().