• 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 ShopLevelManager

    Manage the ShopLevel, the list of the current shop level, and the experience to level up the shop.

    Inheritance
    Object
    ShopLevelManager
    Namespace: AutoBattleFramework.Shop
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class ShopLevelManager

    Fields

    CurrentExp

    Current experience of the shop. When reached the current ExpRequired, the CurrentLevel goes up by one.

    Declaration
    public int CurrentExp
    Field Value
    Type Description
    Int32

    CurrentLevel

    Current level of the shop.

    Declaration
    public int CurrentLevel
    Field Value
    Type Description
    Int32

    shopLevels

    List of store levels.

    Declaration
    public List<ShopLevel> shopLevels
    Field Value
    Type Description
    List<ShopLevel>

    Methods

    AddExp(Int32)

    Adds experience to the CurrentExp. If ExpRequired is reached, the CurrentLevel goes up by one.

    Declaration
    public void AddExp(int amount)
    Parameters
    Type Name Description
    Int32 amount

    GetCurrentList()

    Get the list of the current level.

    Declaration
    public IShopList GetCurrentList()
    Returns
    Type Description
    IShopList

    List of the current level.

    Initialize()

    Initialize all levels in shopLevels.

    Declaration
    public void Initialize()

    SetCurrentList(IShopList)

    Set the list of the current level.

    Declaration
    public void SetCurrentList(IShopList list)
    Parameters
    Type Name Description
    IShopList list

    List with which the current level will be updated.

    ShopMaxed()

    Returns true if the maximum shop level has been reached.

    Declaration
    public bool ShopMaxed()
    Returns
    Type Description
    Boolean

    If the maximum shop level has been reached.

    In This Article
    Back to top Auto-Battle Framework documentation