Struct CampaignLevelChange
- Namespace
- TDMaker.Unity.Campaign
- Assembly
- TDMaker.Unity.dll
What one ApplyPending() changed on a level.
public readonly struct CampaignLevelChange
- Inherited Members
Constructors
CampaignLevelChange(string, int, int, bool)
Creates a change.
public CampaignLevelChange(string key, int previousStars, int stars, bool firstClear)
Parameters
Fields
FirstClear
Whether this merge completed the level for the first time.
public readonly bool FirstClear
Field Value
Key
Level key.
public readonly string Key
Field Value
PreviousStars
Best stars before the merge.
public readonly int PreviousStars
Field Value
Stars
Best stars after the merge.
public readonly int Stars
Field Value
Properties
StarsGained
Stars this merge added to the level (0 when the record was not beaten).
public int StarsGained { get; }