메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
BeingUsed ( CSharpTradeOffers.Trading.RgInventoryItem rgInventoryItem ) : bool |
public FindAvailableAsset ( long classId ) : CSharpTradeOffers.Trading.RgInventoryItem | ||
classId | long | ClassId of items to search. |
리턴 | CSharpTradeOffers.Trading.RgInventoryItem |
public FindFirstItem ( |
||
assetToFind | Specifies search params. | |
리턴 | Item |
public FindUnusedItems ( string marketHashName ) : List |
||
marketHashName | string | Name to search |
리턴 | List |
public Inventory ( ulong steamId, uint appId ) : System | ||
steamId | ulong | steamId64 of the inventory. |
appId | uint | App ID of the inventory. |
리턴 | System |
public MarkAsset ( |
||
asset | Asset to mark | |
inUse | bool | Value to set |
리턴 | bool |