mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
* blank filled slots
* Update InventoryTemplatePrototype.cs
(cherry picked from commit e5a5196b1f)
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;
|
|
}
|
|
}
|
|
}
|