using Microsoft.Xna.Framework;
using Terraria.DataStructures;
using Terraria;
public interface IExtendedHat
{
///
/// The texture of the extension
///
string ExtensionTexture { get; }
///
/// Unless you are using custom drawing, mount offsets are taken into account automatically.
///
Vector2 ExtensionSpriteOffset(PlayerDrawSet drawInfo);
///
///Return true to make the extension get drawn automatically from the texture and offsets provided. Return false if you want to draw it yourself
///
bool PreDrawExtension(PlayerDrawSet drawInfo) => true;
///
/// 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 head textures you need to extend.
///
string EquipSlotName(Player drawPlayer) => "";
}