Chuyển tới nội dung chính

ProjectVCharacterItemRefund class

One item a level reset gives back, and how many. Read-only.

Namespace: SilverTiger.ProjectV.Unity.Presentation.Character

public sealed class ProjectVCharacterItemRefund

Constructors​

ProjectVCharacterItemRefund(string itemId, long quantity)​

Creates a refund line, for example in tests.

public ProjectVCharacterItemRefund(string itemId, long quantity);

Parameters

NameTypeDescription
itemIdstringThe item ID; not empty, at most 128 UTF-8 bytes.
quantitylongHow many are given back; 1 or more.

Exceptions

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

Properties​

PropertyTypeDescription
ItemIdstringThe item given back, such as an EXP item.
QuantitylongHow many are given back.