Class RunSnapshot

Namespace
SurvivorsMaker.Run
Assembly
SurvivorsMaker.Run.dll

A run between waves (LevelUp or Shop phase, or Wave before the wave started).

public sealed class RunSnapshot
Inheritance
RunSnapshot
Inherited Members

Constructors

RunSnapshot()

public RunSnapshot()

Fields

Arena

Index into RunContent.Arenas.

public int Arena

Field Value

int

ArenaId

public string ArenaId

Field Value

string

CarriedHealth

public int CarriedHealth

Field Value

int

Character

public string Character

Field Value

string

CharacterEffects

public List<EffectLeaseState> CharacterEffects

Field Value

List<EffectLeaseState>

Choices

Level-up choices as ids (weapon or upgrade).

public List<string> Choices

Field Value

List<string>

ContentRevision

public string ContentRevision

Field Value

string

ContinuingEffects

public List<WaveEffectLease> ContinuingEffects

Field Value

List<WaveEffectLease>

Currency

public int Currency

Field Value

int

Difficulty

public int Difficulty

Field Value

int

Experience

public float Experience

Field Value

float

HandlerEffects

public List<WaveEffectLease> HandlerEffects

Field Value

List<WaveEffectLease>

InventoryRevision

public long InventoryRevision

Field Value

long

Items

public List<string> Items

Field Value

List<string>

LastWaveCurrency

public int LastWaveCurrency

Field Value

int

LastWaveReward

public int LastWaveReward

Field Value

int

Level

public int Level

Field Value

int

Mode

public RunMode Mode

Field Value

RunMode

NextEffectCarryId

public long NextEffectCarryId

Field Value

long

NextItemInstanceId

public long NextItemInstanceId

Field Value

long

OwnedItems

public List<OwnedItemSnapshot> OwnedItems

Field Value

List<OwnedItemSnapshot>

PendingLevelUps

public int PendingLevelUps

Field Value

int

Phase

public RunPhase Phase

Field Value

RunPhase

PlaytestInvulnerable

public bool PlaytestInvulnerable

Field Value

bool

PlaytestResumeWave

public bool PlaytestResumeWave

Field Value

bool

Pools

Null on older saves means no banishes or consumed guarantees.

public OfferPoolState Pools

Field Value

OfferPoolState

Random0

public uint Random0

Field Value

uint

Random1

public uint Random1

Field Value

uint

Random2

public uint Random2

Field Value

uint

Random3

public uint Random3

Field Value

uint

Rerolls

public int Rerolls

Field Value

int

RulesRevision

public string RulesRevision

Field Value

string

Seed

public uint Seed

Field Value

uint

Shop

public List<OfferSnapshot> Shop

Field Value

List<OfferSnapshot>

ShopVisit

public long ShopVisit

Field Value

long

TotalIncome

public long TotalIncome

Field Value

long

TotalKills

public int TotalKills

Field Value

int

TriggerCounters

public List<TriggerCounterSnapshot> TriggerCounters

Field Value

List<TriggerCounterSnapshot>

TriggerSequence

public long TriggerSequence

Field Value

long

UsedCheats

public bool UsedCheats

Field Value

bool

Version

public int Version

Field Value

int

WaveIndex

public int WaveIndex

Field Value

int

WaveTriggerCounters

public List<TriggerCounterSnapshot> WaveTriggerCounters

Field Value

List<TriggerCounterSnapshot>

Weapons

public List<string> Weapons

Field Value

List<string>

Methods

CapturePools(RunState)

Copies run-scoped pool state into this save snapshot.

public void CapturePools(RunState run)

Parameters

run RunState

RestorePools(RunState)

Restores saved pool state into a run without drawing random values.

public void RestorePools(RunState run)

Parameters

run RunState