Remove inventory component references (#15249)
This commit is contained in:
19
Content.Client/Inventory/InventorySlotsComponent.cs
Normal file
19
Content.Client/Inventory/InventorySlotsComponent.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace Content.Client.Inventory;
|
||||
|
||||
/// <summary>
|
||||
/// A character UI which shows items the user has equipped within his inventory
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
[Access(typeof(ClientInventorySystem))]
|
||||
public sealed class InventorySlotsComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
public readonly Dictionary<string, ClientInventorySystem.SlotData> SlotData = new ();
|
||||
|
||||
/// <summary>
|
||||
/// Data about the current layers that have been added to the players sprite due to the items in each equipment slot.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[Access(typeof(ClientInventorySystem), Other = AccessPermissions.ReadWriteExecute)] // FIXME Friends
|
||||
public readonly Dictionary<string, HashSet<string>> VisualLayerKeys = new();
|
||||
}
|
||||
Reference in New Issue
Block a user