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

profile ProfileState
content RunContent

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

profile ProfileState
content RunContent
finished RunState

Returns

List<UnlockDef>