Skip to main content

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

NameTypeDescription
itemIdstringThe EXP item ID, from ProjectVCharacterXpItemDefinition.ItemId; not empty, at most 128 UTF-8 bytes.
quantitylongHow many to spend; from 1 to 9999.

Exceptions

ExceptionWhen
ArgumentExceptionitemId is empty or too long.
ArgumentOutOfRangeExceptionquantity is below 1 or above 9999.

Properties​

PropertyTypeDescription
ItemIdstringThe EXP item ID.
QuantitylongHow many to spend.