Files
tbd-station-14/Content.Client/UserInterface/Controls/SlotButton.cs

19 lines
505 B
C#

using static Content.Client.Inventory.ClientInventorySystem;
namespace Content.Client.UserInterface.Controls
{
public sealed class SlotButton : SlotControl
{
public SlotButton() { }
public SlotButton(SlotData slotData)
{
ButtonTexturePath = slotData.TextureName;
Blocked = slotData.Blocked;
Highlight = slotData.Highlighted;
StorageTexturePath = "Slots/back";
SlotName = slotData.SlotName;
}
}
}