ProjectVCharacterCastSkillUpgradeDetails class
Whether one cast skill can be upgraded now, with its price next to what the player owns and a ready-made reason when it cannot. Get it from ProjectVCharacterData.GetCastSkillUpgradeDetails.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Character
public sealed class ProjectVCharacterCastSkillUpgradeDetails
Properties​
| Property | Type | Description |
|---|---|---|
Skill | ProjectVCharacterCastSkill? | The cast skill, or null when the character has no skill in that slot. |
IsMapped | bool | True when the skill was found. |
CanUpgrade | bool | True when the Upgrade button can be enabled: the skill is upgradeable, nothing blocks it and every cost is covered. |
IsMaxed | bool | True when the skill is at its maximum level. |
Level | long | The current level; 0 when the skill was not found. |
MaxLevel | long | The highest level; 0 when the skill was not found. |
CurrentSkillId | ProjectVGameplaySkillId? | The gameplay skill used at the current level; null when the skill was not found. |
NextSkillId | ProjectVGameplaySkillId? | The gameplay skill the next level gives; null at the maximum level or when not found. |
Costs | IReadOnlyList<ProjectVCharacterCastSkillUpgradeCost> | Each price line next to what the player owns; empty when the skill was not found. |
LockReasons | IReadOnlyList<ProjectVCharacterCastSkillLockReason> | Why the next level is blocked; empty when nothing blocks it. |
BlockedMessage | string | Why the upgrade is not possible, ready to show, such as Maximum level reached. or a list of missing resources; empty when CanUpgrade is true. |