Skip to main content

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​

PropertyTypeDescription
SkillProjectVCharacterCastSkill?The cast skill, or null when the character has no skill in that slot.
IsMappedboolTrue when the skill was found.
CanUpgradeboolTrue when the Upgrade button can be enabled: the skill is upgradeable, nothing blocks it and every cost is covered.
IsMaxedboolTrue when the skill is at its maximum level.
LevellongThe current level; 0 when the skill was not found.
MaxLevellongThe highest level; 0 when the skill was not found.
CurrentSkillIdProjectVGameplaySkillId?The gameplay skill used at the current level; null when the skill was not found.
NextSkillIdProjectVGameplaySkillId?The gameplay skill the next level gives; null at the maximum level or when not found.
CostsIReadOnlyList<ProjectVCharacterCastSkillUpgradeCost>Each price line next to what the player owns; empty when the skill was not found.
LockReasonsIReadOnlyList<ProjectVCharacterCastSkillLockReason>Why the next level is blocked; empty when nothing blocks it.
BlockedMessagestringWhy the upgrade is not possible, ready to show, such as Maximum level reached. or a list of missing resources; empty when CanUpgrade is true.