Interface IProgressionRules
- Namespace
- SurvivorsMaker.Run
- Assembly
- SurvivorsMaker.Run.dll
Progress: unlock evaluation and applying unlocks to content.
public interface IProgressionRules
Methods
ApplyUnlocks(ProfileState, RunContent)
Sets Available on unlock targets: true when unlocked in the profile, false when locked.
void ApplyUnlocks(ProfileState profile, RunContent content)
Parameters
profileProfileStatecontentRunContent
RecordRun(ProfileState, RunContent, RunState)
Records a finished run (Won/Lost) and returns the unlocks it newly earned, in content order.
List<UnlockDef> RecordRun(ProfileState profile, RunContent content, RunState finished)
Parameters
profileProfileStatecontentRunContentfinishedRunState