ProjectVCampaignStarMilestone class
Rewards granted once when a mission's best-run stars reach StarsRequired.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Campaign
public sealed class ProjectVCampaignStarMilestone
Constructors​
ProjectVCampaignStarMilestone(long starsRequired, IReadOnlyList<ProjectVCampaignReward> rewards, bool isClaimed)​
Creates a star milestone, for example as test data.
public ProjectVCampaignStarMilestone(long starsRequired, IReadOnlyList<ProjectVCampaignReward> rewards, bool isClaimed);
Parameters
| Name | Type | Description |
|---|---|---|
starsRequired | long | The best-run stars needed; greater than 0. |
rewards | IReadOnlyList<ProjectVCampaignReward> | The rewards granted; not null. |
isClaimed | bool | True when the player already received the rewards. |
Exceptions
| Exception | When |
|---|---|
ArgumentOutOfRangeException | starsRequired is 0 or less. |
ArgumentNullException | rewards is null. |