C# 클래스 Dota2GSI.Nodes.Items

Class representing item information
상속: Node
파일 보기 프로젝트 열기: antonpup/Dota2GSI 1 사용 예제들

공개 메소드들

메소드 설명
GetInventoryAt ( int index ) : Item

Gets the inventory item at the specified index

GetStashAt ( int index ) : Item

Gets the stash item at the specified index

InventoryContains ( string itemname ) : bool

Checks if item exists in the inventory

InventoryIndexOf ( string itemname ) : int

Gets index of the first occurence of the item in the inventory

StashContains ( string itemname ) : bool

Checks if item exists in the stash

StashIndexOf ( string itemname ) : int

Gets index of the first occurence of the item in the stash

비공개 메소드들

메소드 설명
Items ( string json_data ) : System.Collections.Generic

메소드 상세

GetInventoryAt() 공개 메소드

Gets the inventory item at the specified index
public GetInventoryAt ( int index ) : Item
index int The index
리턴 Item

GetStashAt() 공개 메소드

Gets the stash item at the specified index
public GetStashAt ( int index ) : Item
index int The index
리턴 Item

InventoryContains() 공개 메소드

Checks if item exists in the inventory
public InventoryContains ( string itemname ) : bool
itemname string The item name
리턴 bool

InventoryIndexOf() 공개 메소드

Gets index of the first occurence of the item in the inventory
public InventoryIndexOf ( string itemname ) : int
itemname string The item name
리턴 int

StashContains() 공개 메소드

Checks if item exists in the stash
public StashContains ( string itemname ) : bool
itemname string The item name
리턴 bool

StashIndexOf() 공개 메소드

Gets index of the first occurence of the item in the stash
public StashIndexOf ( string itemname ) : int
itemname string The item name
리턴 int