Implemented storage button on Inventory
Adds a small button on the bottom right of Storage items when inside the inventory. When the button is pressed it opens the Storage UI.
This commit is contained in:
@@ -78,5 +78,20 @@ namespace Content.Shared.GameObjects
|
||||
Unequip = 1
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Component message for opening the Storage UI of item in Slot
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public class OpenSlotStorageUIMessage : ComponentMessage
|
||||
{
|
||||
public Slots Slot;
|
||||
|
||||
public OpenSlotStorageUIMessage(Slots slot)
|
||||
{
|
||||
Directed = true;
|
||||
Slot = slot;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user