ProjectVCharacterCastSkillSet class
The cast skills of one character: up to one per slot. Read-only.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Character
public sealed class ProjectVCharacterCastSkillSet
Constructors​
ProjectVCharacterCastSkillSet(ProjectVCharacterId characterId, IReadOnlyList<ProjectVCharacterCastSkill> slots)​
Creates a cast skill set, for example in tests.
public ProjectVCharacterCastSkillSet(ProjectVCharacterId characterId, IReadOnlyList<ProjectVCharacterCastSkill> slots);
Parameters
| Name | Type | Description |
|---|---|---|
characterId | ProjectVCharacterId | The character that owns the skills. |
slots | IReadOnlyList<ProjectVCharacterCastSkill> | At most two skills, each in a different slot. |
Exceptions
| Exception | When |
|---|---|
ArgumentNullException | slots is null. |
ArgumentException | slots contains null, more than two skills or the same slot twice. |
Properties​
| Property | Type | Description |
|---|---|---|
CharacterId | ProjectVCharacterId | The character that owns the skills. |
Slots | IReadOnlyList<ProjectVCharacterCastSkill> | The character's cast skills, at most one per slot. |