Class ShopItemList
List used in ScriptableGroupItemList to display items in the store. All items belonging to this list will have a fixed probability of appearance and price, regardless of their itemProbabilityWeight and itemCost.
Namespace: AutoBattleFramework.Shop.ShopList
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class ShopItemList
Fields
cost
Cost of an item from the list that appears in the store (ignoring itemCost).
Declaration
public int cost
Field Value
Type | Description |
---|---|
Int32 |
probability
Probability that an item from this list will appear in the store (ignoring itemProbabilityWeight).
Declaration
public int probability
Field Value
Type | Description |
---|---|
Int32 |
shopItems
List of items with a fixed probability and cost.
Declaration
public List<ShopItemInfo> shopItems
Field Value
Type | Description |
---|---|
List<ShopItemInfo> |