Method | Description | |
---|---|---|
GetInventoryAt ( int index ) : |
Gets the inventory item at the specified index
|
|
GetStashAt ( int index ) : |
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
|
Method | Description | |
---|---|---|
Items ( string json_data ) : System.Collections.Generic |
public GetInventoryAt ( int index ) : |
||
index | int | The index |
return |
public InventoryContains ( string itemname ) : bool | ||
itemname | string | The item name |
return | bool |
public InventoryIndexOf ( string itemname ) : int | ||
itemname | string | The item name |
return | int |
public StashContains ( string itemname ) : bool | ||
itemname | string | The item name |
return | bool |
public StashIndexOf ( string itemname ) : int | ||
itemname | string | The item name |
return | int |