• Manual
  • Scripting API
  • Changelog
  • Contact
Search Results for

    Show / Hide Table of Contents
    • BattleBehaviour
      • BattleBehaviour.Fusion
        • FusionManager
        • GameCharacterFusion
      • Battle
      • BossSize
      • CharacterGroup
      • ScriptableBattlePosition
      • ScriptableBattleStage
      • TeamData
      • BattleBehaviour.Backup
        • BackupState
        • BattleBackup
    • GameActors
      • GameActor
      • GameCharacter
      • GameCharacter.AIState
      • GameItem
    • States
      • BattleState
      • ChangeStageState
      • FightState
      • FightState.LoseCondition
      • FightState.WinCondition
      • PreparationState
      • ResetSceneState
    • Battlefield
      • BattleGrid
      • BattleGrid.GridType
      • Bench
      • GridCell
      • GridCellEffect
      • SellZone
    • BattleUI
      • CharacterEnergyUI
      • CharacterHealthUI
      • CharacterStatsUI
      • DamagePopup
      • ItemDescriptionUI
      • ShopExpBarUI
      • StageUI
      • TraitDescriptionUI
      • TraitListUI
      • TraitListUI.OrderBy
      • TraitStatsUI
      • TraitUI
    • EditorScripts
      • BattleGridEditor
      • BattlePositionEditor
      • BenchEditor
      • GameCharacterEditor
      • NetworkObjectsListEditor
      • NFO_GameCharacterEditor
      • NGO_MenuActions
      • ReadOnlyDrawer
    • Formulas
      • BattleFormulas
      • BattleFormulas.DamageType
    • Movement
      • ApproximateAstarMovement
      • ExactAstarMovement
      • IBattleMovement
      • PathFinding2D
    • Multiplayer
      • BattleBehaviour
        • NetworkObjectList
        • StatsStruct
        • GameActors
          • NGO_GameCharacter
          • NGO_GameItem
        • Player
          • GamePlayer
          • IPlayer
        • States
          • MP_ConnectionState
          • MP_FightState
          • MP_PreparationState
      • ClientTransform
        • ClientNetworkTransform
      • EditorScripts
        • NGO_MenuActions
      • GamingServices
        • GamingServices
          • GamingServices.RelayHostData
          • GamingServices.RelayJoinData
      • UI
        • NetworkManagerUI
    • Shop
      • ScriptableShopItem
      • ShopCharacter
      • ShopGameItem
      • ShopItemInfo
      • ShopLevel
      • ShopLevelManager
      • ShopManager
      • ShopGUI
        • CurrencyUI
        • EquippedItemDescriptionUI
        • ShopItemUI
        • ShopUI
        • SpecialAttackDescriptionUI
        • Timer
      • ShopList
        • IShopList
        • ScriptableDeckList
        • ScriptableGroupItemList
        • ScriptableIndividualItemList
        • ShopItemList
    • Skills
      • ApplyBuffOnHitEffect
      • ApplyDebuffOnHitEffect
      • ArrowEffect
      • BuffEffect
      • BuffEffectInfo
      • FixedDamageOverTimeEffect
      • HealthMeteoriteAllEffect
      • HealthStealEffect
      • IAttackEffect
      • MeleeEffect
      • MeteoriteEffect
      • OnHitEffect
      • Projectile
      • RangedEffect
      • SimpleBuffEffect
      • SwordEffect
      • VariableDamageOverTimeEffect
    • Stats
      • CharacterStats
      • CharacterStats.CharacterStat
      • ItemModificator
      • StatModificator
      • StatsModificator
      • StatsModificator.ModificatorType
      • Trait
      • TraitOption
      • TraitOption.TraitTarget
    • Utility
      • AutoBattleSettings
      • ReadOnlyAttribute
      • UIUtility

    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.

    Inheritance
    Object
    BackupState
    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
    In This Article
    Back to top Auto-Battle Framework documentation