2022-10-13 07:07:27 +02:00
|
|
|
|
using static Content.Client.Inventory.ClientInventorySystem;
|
2022-10-12 01:16:23 -07:00
|
|
|
|
|
|
|
|
|
|
namespace Content.Client.UserInterface.Controls
|
|
|
|
|
|
{
|
|
|
|
|
|
public sealed class SlotButton : SlotControl
|
|
|
|
|
|
{
|
2022-10-13 07:07:27 +02:00
|
|
|
|
public SlotButton() { }
|
2022-10-12 01:16:23 -07:00
|
|
|
|
|
2022-10-13 07:07:27 +02:00
|
|
|
|
public SlotButton(SlotData slotData)
|
2022-10-12 01:16:23 -07:00
|
|
|
|
{
|
|
|
|
|
|
ButtonTexturePath = slotData.TextureName;
|
|
|
|
|
|
Blocked = slotData.Blocked;
|
|
|
|
|
|
Highlight = slotData.Highlighted;
|
|
|
|
|
|
StorageTexturePath = "Slots/back";
|
|
|
|
|
|
SlotName = slotData.SlotName;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|