Terraria.TileObjectData.CheckLiquidPlacement C# (CSharp) 메소드

CheckLiquidPlacement() 공개 정적인 메소드

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