ProjectVAllianceData class
The Alliance data at one moment: the player's allies, the selected ally, and the EXP items and resources used to level them. Read-only; a change arrives as a new instance.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Alliance
public sealed class ProjectVAllianceData
Properties​
| Property | Type | Description |
|---|---|---|
Allies | IReadOnlyList<ProjectVCharacterEntry> | The allies the player owns, with level, EXP and stats. |
SelectedAllyId | ProjectVCharacterId? | The ally the player takes into battle, or null when none is selected. |
Inventory | IReadOnlyList<ProjectVCharacterResource> | The player's resources and items, including owned EXP items. |
XpItems | IReadOnlyList<ProjectVCharacterXpItemDefinition> | The EXP items that can level an ally and how much EXP each one gives. |
Methods​
GetCastSkillUpgradeDetails(ProjectVCharacterId allyId, ProjectVCharacterCastSkillSlot slot)​
Describes the next upgrade of one of an ally's skills: cost, effect and whether it can be bought now.
public ProjectVCharacterCastSkillUpgradeDetails GetCastSkillUpgradeDetails(ProjectVCharacterId allyId, ProjectVCharacterCastSkillSlot slot);
Parameters
| Name | Type | Description |
|---|---|---|
allyId | ProjectVCharacterId | The ID of an ally in Allies. |
slot | ProjectVCharacterCastSkillSlot | The skill to look at, such as ProjectVCharacterCastSkillSlot.Weapon. |
Returns
ProjectVCharacterCastSkillUpgradeDetails: The upgrade details; check CanUpgrade and show BlockedMessage when it is false.