Class CampaignMapUpdate
- Namespace
- TDMaker.Unity.Campaign
- Assembly
- TDMaker.Unity.dll
Everything a map should show after merging victories: new stars, first clears and newly opened levels.
public sealed class CampaignMapUpdate
- Inheritance
-
CampaignMapUpdate
- Inherited Members
Constructors
CampaignMapUpdate()
public CampaignMapUpdate()
Fields
Changes
Levels whose record the merge changed (or that were won again without a better rating).
public readonly List<CampaignLevelChange> Changes
Field Value
NewlyOpened
Keys of the levels that opened (by the merge or by a rule check on map entry).
public readonly List<string> NewlyOpened
Field Value
Properties
HasChanges
Whether there is anything to show.
public bool HasChanges { get; }
Property Value
StarsGained
Total stars the merge added.
public int StarsGained { get; }
Property Value
Methods
TryGetChange(string, out CampaignLevelChange)
The change of key, if the merge touched it.
public bool TryGetChange(string key, out CampaignLevelChange change)
Parameters
keystringchangeCampaignLevelChange