Files
CalamityModPublic/CalPlayer/DrawLayers/IBulkyArmor.cs
T
tomat 67bceff6e7 Initial dotnet format pass.
This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
2024-02-28 21:49:50 -08:00

22 lines
780 B
C#

using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
/// <summary>
/// Interface that can be used by chestplates to appear extra bulky, by drawing partly over the players helmet with an extra layer
/// </summary>
public interface IBulkyArmor
{
/// <summary>
/// The texture of the part that goes above the helmet
/// This should be the same size as a regular equipped sprite (20 x 560 in 1x1)
/// </summary>
string BulkTexture { get; }
/// <summary>
/// The name of the equip slot for the item. If left empty, the equip slot that is looked for will use the name of the item.
/// Useful if you have multiple body textures you need to add bulk to.
/// </summary>
string EquipSlotName(Player drawPlayer) => "";
}