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

ProjectVCharacterSkillUpgradeDetails class

Whether one skill can rank up now, with its price next to what the player owns and a ready-made reason when it cannot. Get it from ProjectVCharacterData.GetSkillUpgradeDetails. Read-only.

Namespace: SilverTiger.ProjectV.Unity.Presentation.Character

public sealed class ProjectVCharacterSkillUpgradeDetails

Properties​

PropertyTypeDescription
SkillProjectVCharacterSkill?The skill, or null when the character has no such skill.
IsMappedboolTrue when the skill was found.
CanUpgradeboolTrue when the Upgrade button can be enabled: the skill is unlockable, the level and prerequisites are met, every cost is covered and nothing else blocks it.
IsMaxedboolTrue when the skill is at its maximum rank.
IsFreeboolTrue when the next rank costs nothing.
CharacterLevellongThe character's level now; 0 when the character is not found.
RequiredCharacterLevellongThe character level the next rank needs; 0 when there is none or the skill was not found.
PrerequisitesIReadOnlyList<ProjectVCharacterSkillPrerequisite>Other skills that must reach a rank first; empty when the skill was not found.
LockReasonsIReadOnlyList<ProjectVCharacterSkillLockReason>Why the next rank is blocked, as the server reports it; empty when nothing blocks it.
CostsIReadOnlyList<ProjectVCharacterSkillUpgradeCost>Each price line next to what the player can spend; empty when free or not found.
BlockedMessagestringWhy the rank is not possible, ready to show, such as Require Lv.5 · Skill Point 0/1 or Maximum rank reached.; empty when CanUpgrade is true.