Terraria 1.4.0.5 Source Code
This commit is contained in:
commit
05205f009e
1059 changed files with 563450 additions and 0 deletions
68
Modules/AnchorTypesModule.cs
Normal file
68
Modules/AnchorTypesModule.cs
Normal file
|
@ -0,0 +1,68 @@
|
|||
// Decompiled with JetBrains decompiler
|
||||
// Type: Terraria.Modules.AnchorTypesModule
|
||||
// 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
|
||||
|
||||
using System;
|
||||
|
||||
namespace Terraria.Modules
|
||||
{
|
||||
public class AnchorTypesModule
|
||||
{
|
||||
public int[] tileValid;
|
||||
public int[] tileInvalid;
|
||||
public int[] tileAlternates;
|
||||
public int[] wallValid;
|
||||
|
||||
public AnchorTypesModule(AnchorTypesModule copyFrom = null)
|
||||
{
|
||||
if (copyFrom == null)
|
||||
{
|
||||
this.tileValid = (int[]) null;
|
||||
this.tileInvalid = (int[]) null;
|
||||
this.tileAlternates = (int[]) null;
|
||||
this.wallValid = (int[]) null;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (copyFrom.tileValid == null)
|
||||
{
|
||||
this.tileValid = (int[]) null;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.tileValid = new int[copyFrom.tileValid.Length];
|
||||
Array.Copy((Array) copyFrom.tileValid, (Array) this.tileValid, this.tileValid.Length);
|
||||
}
|
||||
if (copyFrom.tileInvalid == null)
|
||||
{
|
||||
this.tileInvalid = (int[]) null;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.tileInvalid = new int[copyFrom.tileInvalid.Length];
|
||||
Array.Copy((Array) copyFrom.tileInvalid, (Array) this.tileInvalid, this.tileInvalid.Length);
|
||||
}
|
||||
if (copyFrom.tileAlternates == null)
|
||||
{
|
||||
this.tileAlternates = (int[]) null;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.tileAlternates = new int[copyFrom.tileAlternates.Length];
|
||||
Array.Copy((Array) copyFrom.tileAlternates, (Array) this.tileAlternates, this.tileAlternates.Length);
|
||||
}
|
||||
if (copyFrom.wallValid == null)
|
||||
{
|
||||
this.wallValid = (int[]) null;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.wallValid = new int[copyFrom.wallValid.Length];
|
||||
Array.Copy((Array) copyFrom.wallValid, (Array) this.wallValid, this.wallValid.Length);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue