Class BackupState
It stores the information necessary to create a backup copy of a state, so that if the player loses, he can return to a previous point, as if nothing had happened.
Namespace: AutoBattleFramework.BattleBehaviour.Backup
Assembly: cs.temp.dll.dll
Syntax
public class BackupState
Constructors
BackupState(BattleState)
Backup constructor.
Declaration
public BackupState(BattleState battleStateBackup)
Parameters
Type | Name | Description |
---|---|---|
BattleState | battleStateBackup | Current BattleState. |
Fields
BattleStateBackup
The round that has been backed up.
Declaration
public BattleState BattleStateBackup
Field Value
Type | Description |
---|---|
BattleState |
BenchesBackup
Backup of all benches.
Declaration
public Dictionary<Bench, List<GameActor>> BenchesBackup
Field Value
Type | Description |
---|---|
Dictionary<Bench, List<GameActor>> |
CharactersBackup
Backup of the characters in that round.
Declaration
public List<GameCharacter> CharactersBackup
Field Value
Type | Description |
---|---|
List<GameCharacter> |
CurrencyBackup
Amount of currency the player has at the start of the state.
Declaration
public int CurrencyBackup
Field Value
Type | Description |
---|---|
Int32 |
SeedBackup
Amount of currency the player has at the start of the state.
Declaration
public Random.State SeedBackup
Field Value
Type | Description |
---|---|
Random.State |
ShopExperience
Amount of currency the player has at the start of the state.
Declaration
public int ShopExperience
Field Value
Type | Description |
---|---|
Int32 |
ShopGameCharactersBackup
Backup of characters edited in the shop.
Declaration
public List<GameCharacter> ShopGameCharactersBackup
Field Value
Type | Description |
---|---|
List<GameCharacter> |
ShopLevel
Amount of currency the player has at the start of the state.
Declaration
public int ShopLevel
Field Value
Type | Description |
---|---|
Int32 |