Class ItemData
Item data in inventory.
庫存的物品數據。
Inheritance
System.Object
ItemData
Namespace: Votanic.vXR.vGear.Inventory
Assembly: Votanic.vXR.dll
Syntax
[Serializable]
public class ItemData
Constructors
ItemData()
Declare an item data.
宣告一個物品數據。
Declaration
public ItemData()
Fields
accessibility
Accessibility of the item.
物品的存取性。
Declaration
[Tooltip("Accessibility of the item..\n物品的存取性。")]
public Accessibility accessibility
Field Value
Type | Description |
---|---|
Accessibility |
buyingPrice
Currency for buying.
買入時的貨幣。
Declaration
[Tooltip("Currency for buying.\n買入時的貨幣。")]
public List<CurrencyAmount> buyingPrice
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<CurrencyAmount> |
consumability
Consumability of the item.
物品的消耗性。
Declaration
[Tooltip("Consumability of the item..\n物品的消耗性。")]
public Consumability consumability
Field Value
Type | Description |
---|---|
Consumability |
identifier
Identifier for searching item.
用於搜尋物品的識別碼。
Declaration
[Tooltip("Identifier for searching item.\n用於搜尋物品的識別碼。")]
public string identifier
Field Value
Type | Description |
---|---|
System.String |
sellingPrice
Currency for selling.
賣出時的貨幣。
Declaration
[Tooltip("Currency for selling.\n賣出時的貨幣。")]
public List<CurrencyAmount> sellingPrice
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<CurrencyAmount> |
Properties
totalBuyingPrice
Return the total buying price.
傳回買入時的貨幣總值。
Declaration
public List<CurrencyAmount> totalBuyingPrice { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<CurrencyAmount> |
totalSellingPrice
Return the total selling price.
傳回賣出時的貨幣總值。
Declaration
public List<CurrencyAmount> totalSellingPrice { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<CurrencyAmount> |