20 lines
567 B
C#
20 lines
567 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;
|
|
FullButtonTexturePath = slotData.FullTextureName;
|
|
Blocked = slotData.Blocked;
|
|
Highlight = slotData.Highlighted;
|
|
StorageTexturePath = "Slots/back";
|
|
SlotName = slotData.SlotName;
|
|
}
|
|
}
|
|
}
|