ProjectVCharacterBackpackSlot class
One backpack slot and the item in it. Read-only.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Character
public sealed class ProjectVCharacterBackpackSlot
Constructors
ProjectVCharacterBackpackSlot(ProjectVBackpackSlotId slotId, ProjectVItemId? itemId)
Creates a backpack slot, for example in tests.
public ProjectVCharacterBackpackSlot(ProjectVBackpackSlotId slotId, ProjectVItemId? itemId);
Parameters
| Name | Type | Description |
|---|---|---|
slotId | ProjectVBackpackSlotId | The slot's ID. |
itemId | ProjectVItemId? | The item in the slot, or null for an empty slot. |
Properties
| Property | Type | Description |
|---|---|---|
SlotId | ProjectVBackpackSlotId | The slot's ID. |
ItemId | ProjectVItemId? | The item in the slot, or null when the slot is empty. |