Terraria.TileObjectData.CheckLiquidPlacement C# (CSharp) Method

CheckLiquidPlacement() public static method

public static CheckLiquidPlacement ( int type, int style, Tile checkTile ) : bool
type int
style int
checkTile Tile
return bool
        public static bool CheckLiquidPlacement(int type, int style, Tile checkTile)
        {
            TileObjectData tileData = TileObjectData.GetTileData(type, style, 0);
            if (tileData != null)
                return tileData.LiquidPlace(checkTile);
            return TileObjectData.LiquidPlace(type, checkTile);
        }