More SSC cleanup. Fixes prefix issues.

This commit is contained in:
DogooFalchion 2016-12-21 20:39:27 -05:00
parent 06382bb449
commit 2236a5bb56
2 changed files with 45 additions and 45 deletions

View file

@ -71,6 +71,11 @@ namespace TShockAPI
/// </summary>
public static readonly int MiscDyeSlots = MiscEquipSlots;
/// <summary>
/// 1 - The number of trash can slots.
/// </summary>
public static readonly int TrashSlots = 1;
/// <summary>
/// 180 - The inventory size (inventory, held item, armour, dies, coins, ammo, piggy, safe, and trash)
/// </summary>
@ -83,7 +88,8 @@ namespace TShockAPI
public static readonly Tuple<int, int> MiscDyeIndex = new Tuple<int, int>(MiscEquipIndex.Item2, MiscEquipIndex.Item2 + MiscDyeSlots);
public static readonly Tuple<int, int> PiggyIndex = new Tuple<int, int>(MiscDyeIndex.Item2, MiscDyeIndex.Item2 + PiggySlots);
public static readonly Tuple<int, int> SafeIndex = new Tuple<int, int>(PiggyIndex.Item2, PiggyIndex.Item2 + SafeSlots);
public static readonly Tuple<int, int> ForgeIndex = new Tuple<int, int>(SafeIndex.Item2, SafeIndex.Item2 + ForgeSlots);
public static readonly Tuple<int, int> TrashIndex = new Tuple<int, int>(SafeIndex.Item2, SafeIndex.Item2 + TrashSlots);
public static readonly Tuple<int, int> ForgeIndex = new Tuple<int, int>(TrashIndex.Item2, TrashIndex.Item2 + ForgeSlots);
[JsonProperty("netID")]
private int _netId;