Terraria.TileObjectData.CheckLiquidPlacement C# (CSharp) Méthode

CheckLiquidPlacement() public static méthode

public static CheckLiquidPlacement ( int type, int style, Tile checkTile ) : bool
type int
style int
checkTile Tile
Résultat 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);
        }