1
0

SlotButton.cs 567 B

12345678910111213141516171819
  1. using static Content.Client.Inventory.ClientInventorySystem;
  2. namespace Content.Client.UserInterface.Controls
  3. {
  4. public sealed class SlotButton : SlotControl
  5. {
  6. public SlotButton() { }
  7. public SlotButton(SlotData slotData)
  8. {
  9. ButtonTexturePath = slotData.TextureName;
  10. FullButtonTexturePath = slotData.FullTextureName;
  11. Blocked = slotData.Blocked;
  12. Highlight = slotData.Highlighted;
  13. StorageTexturePath = "Slots/back";
  14. SlotName = slotData.SlotName;
  15. }
  16. }
  17. }