TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ Kill_DirtAndFluidProjectiles_RunDelegateMethodPushUpForHalfBricks()

void Terraria.Projectile.Kill_DirtAndFluidProjectiles_RunDelegateMethodPushUpForHalfBricks ( Point pt,
float size,
Utils::TileActionAttempt plot )
inline

Definition at line 77863 of file Projectile.cs.

77864 {
77865 //IL_0005: Unknown result type (might be due to invalid IL or missing references)
77866 //IL_000b: Unknown result type (might be due to invalid IL or missing references)
77867 //IL_0065: Unknown result type (might be due to invalid IL or missing references)
77868 //IL_0066: Unknown result type (might be due to invalid IL or missing references)
77869 //IL_006b: Unknown result type (might be due to invalid IL or missing references)
77870 //IL_0076: Unknown result type (might be due to invalid IL or missing references)
77871 //IL_007c: Unknown result type (might be due to invalid IL or missing references)
77872 //IL_0032: Unknown result type (might be due to invalid IL or missing references)
77873 //IL_0044: Unknown result type (might be due to invalid IL or missing references)
77874 Tile tile = Main.tile[pt.X, pt.Y];
77875 if (tile != null && tile.active() && tile.halfBrick())
77876 {
77877 int num = pt.Y - 1;
77878 if (num >= 0)
77879 {
77880 tile = Main.tile[pt.X, num];
77881 if (!WorldGen.SolidOrSlopedTile(tile))
77882 {
77883 pt.Y--;
77884 }
77885 }
77886 }
77887 DelegateMethods.v2_1 = pt.ToVector2();
77888 DelegateMethods.f_1 = size;
77889 Utils.PlotTileArea(pt.X, pt.Y, plot);
77890 }

References Terraria.Tile.active(), Terraria.Tile.halfBrick(), Terraria.Utils.PlotTileArea(), Terraria.WorldGen.SolidOrSlopedTile(), and Terraria.Main.tile.

+ Here is the call graph for this function: