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

ProjectVCharacterCastSkillUpgradeCost class

One price line of a cast skill upgrade next to what the player owns. Read-only.

Namespace: SilverTiger.ProjectV.Unity.Presentation.Character

public sealed class ProjectVCharacterCastSkillUpgradeCost

Properties​

PropertyTypeDescription
KindProjectVCharacterCastSkillCostKindWhether it is paid with an inventory item or a wallet currency.
ResourceIdProjectVResourceIdThe item or currency ID.
RequiredlongHow much the upgrade costs.
OwnedlongHow much the player owns: items from the inventory, currencies from the wallet.
MissinglongHow much more the player needs; 0 when Owned covers the cost.
IsSatisfiedboolTrue when the player has enough; always false for an ProjectVCharacterCastSkillCostKind.Unknown kind.
DisplayNamestringThe name to show for the resource.