C# 클래스 CSharpTradeOffers.Trading.Inventory

파일 보기 프로젝트 열기: FatherFoxxy/CSharpTradeOffers 1 사용 예제들

공개 메소드들

메소드 설명
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 ( CEconAsset assetToFind ) : Item

Locates an Item in the inventory.

FindUnusedItems ( string marketHashName ) : List
Inventory ( ulong steamId, uint appId ) : System

Class constructor, automatically initializes inventory.

MarkAsset ( CEconAsset asset, bool inUse ) : bool

Locates asset in Items[classid].items and marks it's inUse bool according to the inUse argument.

비공개 메소드들

메소드 설명
BeingUsed ( CSharpTradeOffers.Trading.RgInventoryItem rgInventoryItem ) : bool

메소드 상세

AssetCount() 공개 메소드

Returns the number of assets in the inventory.
public AssetCount ( ) : ulong
리턴 ulong

FindAvailableAsset() 공개 메소드

Finds the first rgInventoryItem that is not in use.
public FindAvailableAsset ( long classId ) : CSharpTradeOffers.Trading.RgInventoryItem
classId long ClassId of items to search.
리턴 CSharpTradeOffers.Trading.RgInventoryItem

FindFirstItem() 공개 메소드

Locates an Item in the inventory.
public FindFirstItem ( CEconAsset assetToFind ) : Item
assetToFind CEconAsset Specifies search params.
리턴 Item

FindUnusedItems() 공개 메소드

public FindUnusedItems ( string marketHashName ) : List
marketHashName string Name to search
리턴 List

Inventory() 공개 메소드

Class constructor, automatically initializes inventory.
public Inventory ( ulong steamId, uint appId ) : System
steamId ulong steamId64 of the inventory.
appId uint App ID of the inventory.
리턴 System

MarkAsset() 공개 메소드

Locates asset in Items[classid].items and marks it's inUse bool according to the inUse argument.
public MarkAsset ( CEconAsset asset, bool inUse ) : bool
asset CEconAsset Asset to mark
inUse bool Value to set
리턴 bool