ProjectVCharacterLoadoutSlot class
One loadout slot and the character placed in it. Read-only.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Character
public sealed class ProjectVCharacterLoadoutSlot
Constructors
ProjectVCharacterLoadoutSlot(ProjectVLoadoutSlotId slotId, ProjectVCharacterId? characterId)
Creates a loadout slot, for example in tests.
public ProjectVCharacterLoadoutSlot(ProjectVLoadoutSlotId slotId, ProjectVCharacterId? characterId);
Parameters
| Name | Type | Description |
|---|---|---|
slotId | ProjectVLoadoutSlotId | The slot's ID. |
characterId | ProjectVCharacterId? | The character in the slot, or null for an empty slot. |
Properties
| Property | Type | Description |
|---|---|---|
SlotId | ProjectVLoadoutSlotId | The slot's ID. Pass SlotId.Value to IProjectVCharacterScreen.SelectCharacterAsync. |
CharacterId | ProjectVCharacterId? | The character in the slot, or null when the slot is empty. |