ProjectVCharacterXpItemSelection class
One EXP item the player chose to spend, and how many. Read-only.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Character
public sealed class ProjectVCharacterXpItemSelection
Constructors​
ProjectVCharacterXpItemSelection(string itemId, long quantity)​
Creates a selection line.
public ProjectVCharacterXpItemSelection(string itemId, long quantity);
Parameters
| Name | Type | Description |
|---|---|---|
itemId | string | The EXP item ID, from ProjectVCharacterXpItemDefinition.ItemId; not empty, at most 128 UTF-8 bytes. |
quantity | long | How many to spend; from 1 to 9999. |
Exceptions
| Exception | When |
|---|---|
ArgumentException | itemId is empty or too long. |
ArgumentOutOfRangeException | quantity is below 1 or above 9999. |
Properties​
| Property | Type | Description |
|---|---|---|
ItemId | string | The EXP item ID. |
Quantity | long | How many to spend. |