Method | Description | |
---|---|---|
AssetCount ( ) : ulong |
Returns the number of assets in the inventory.
|
|
FindAvailableAsset ( long classId ) : CSharpTradeOffers.Trading.RgInventoryItem |
Finds the first rgInventoryItem that is not in use.
|
|
FindFirstItem ( |
Locates an Item in the inventory.
|
|
FindUnusedItems ( string marketHashName ) : List |
||
Inventory ( ulong steamId, uint appId ) : System |
Class constructor, automatically initializes inventory.
|
|
MarkAsset ( |
Locates asset in Items[classid].items and marks it's inUse bool according to the inUse argument.
|
Method | Description | |
---|---|---|
BeingUsed ( CSharpTradeOffers.Trading.RgInventoryItem rgInventoryItem ) : bool |
public FindAvailableAsset ( long classId ) : CSharpTradeOffers.Trading.RgInventoryItem | ||
classId | long | ClassId of items to search. |
return | CSharpTradeOffers.Trading.RgInventoryItem |
public FindFirstItem ( |
||
assetToFind | Specifies search params. | |
return | Item |
public FindUnusedItems ( string marketHashName ) : List |
||
marketHashName | string | Name to search |
return | List |
public Inventory ( ulong steamId, uint appId ) : System | ||
steamId | ulong | steamId64 of the inventory. |
appId | uint | App ID of the inventory. |
return | System |
public MarkAsset ( |
||
asset | Asset to mark | |
inUse | bool | Value to set |
return | bool |