Item Data
Introduction
using HeathenEngineering.SteamworksIntegration;public struct ItemData : IEquatable<ItemData>,
IEquatable<int>,
IEquatable<SteamItemDef_t>,
IComparable<ItemData>,
IComparable<int>,
IComparable<SteamItemDef_t>//Let's assume you have an item who's ID is 100 and want to know how many the player
//owned of that item
ItemData myItem = 100;
Debug.Log($"Player owns {myItem.GetTotalQuantity()}");//This will ask Valve's Steam API to fetch all information about the player's
//inventory items
ItemData.Update(HandleResult);Fields and Attributes
id
ScriptableObject
Name
Has Price
Currency Code
Currency Symbol
Current Price
Base Price
Methods
Get Details
Get Total Quantity
Add Promo Item
Get Consume Orders
Consume
Get Exchange Entry
Exchange
Generate Item
Start Purchase
Get Price
Trigger Drop
Current Price String
Base Price String
Request Prices
Update
Get
How To
Exchange Items
Last updated
