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
| Property | Type | Description |
|---|---|---|
Kind | ProjectVCharacterCastSkillCostKind | Whether it is paid with an inventory item or a wallet currency. |
ResourceId | ProjectVResourceId | The item or currency ID. |
Required | long | How much the upgrade costs. |
Owned | long | How much the player owns: items from the inventory, currencies from the wallet. |
Missing | long | How much more the player needs; 0 when Owned covers the cost. |
IsSatisfied | bool | True when the player has enough; always false for an ProjectVCharacterCastSkillCostKind.Unknown kind. |
DisplayName | string | The name to show for the resource. |