43 lines
1.4 KiB
C#
43 lines
1.4 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: Terraria.Modules.TileObjectStyleModule
|
|
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
|
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
|
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
|
|
|
namespace Terraria.Modules
|
|
{
|
|
public class TileObjectStyleModule
|
|
{
|
|
public int style;
|
|
public bool horizontal;
|
|
public int styleWrapLimit;
|
|
public int styleMultiplier;
|
|
public int styleLineSkip;
|
|
public int? styleWrapLimitVisualOverride;
|
|
public int? styleLineSkipVisualoverride;
|
|
|
|
public TileObjectStyleModule(TileObjectStyleModule copyFrom = null)
|
|
{
|
|
if (copyFrom == null)
|
|
{
|
|
this.style = 0;
|
|
this.horizontal = false;
|
|
this.styleWrapLimit = 0;
|
|
this.styleWrapLimitVisualOverride = new int?();
|
|
this.styleLineSkipVisualoverride = new int?();
|
|
this.styleMultiplier = 1;
|
|
this.styleLineSkip = 1;
|
|
}
|
|
else
|
|
{
|
|
this.style = copyFrom.style;
|
|
this.horizontal = copyFrom.horizontal;
|
|
this.styleWrapLimit = copyFrom.styleWrapLimit;
|
|
this.styleMultiplier = copyFrom.styleMultiplier;
|
|
this.styleLineSkip = copyFrom.styleLineSkip;
|
|
this.styleWrapLimitVisualOverride = copyFrom.styleWrapLimitVisualOverride;
|
|
this.styleLineSkipVisualoverride = copyFrom.styleLineSkipVisualoverride;
|
|
}
|
|
}
|
|
}
|
|
}
|