C# 클래스 GW2PAO.API.Services.CommerceService

상속: ICommerceService
파일 보기 프로젝트 열기: SamHurne/gw2pao 1 사용 예제들

공개 메소드들

메소드 설명
CommerceService ( ) : System

Default constructor

DoesItemExist ( string itemName, Data rarity, int level ) : bool

Returns true if the given item exists, else false

GetItem ( int itemID ) : GW2PAO.API.Data.Entities.Item

Returns the item information for the items with the given ID

GetItem ( string itemName, Data rarity, int level ) : GW2PAO.API.Data.Entities.Item

Returns the item information for the item with the given names

GetItemID ( string itemName, Data rarity, int level ) : int

Returns the item ID of the item with the given name

GetItemPrices ( ICollection itemIds ) : ItemPrices>.IDictionary

Returns the ItemPrices of the items with the given item IDs

GetItemPrices ( int itemId ) : GW2PAO.API.Data.Entities.ItemPrices

Returns the ItemPrices of the item with the given item ID

GetItems ( ICollection itemIDs ) : GW2PAO.API.Data.Entities.Item>.IDictionary

Returns the item information for the items with the given IDs

ReloadDatabase ( ) : void

Forces a re-load of the items database

메소드 상세

CommerceService() 공개 메소드

Default constructor
public CommerceService ( ) : System
리턴 System

DoesItemExist() 공개 메소드

Returns true if the given item exists, else false
public DoesItemExist ( string itemName, Data rarity, int level ) : bool
itemName string Name of the item
rarity Data Rarity of the item
level int Level of the item
리턴 bool

GetItem() 공개 메소드

Returns the item information for the items with the given ID
public GetItem ( int itemID ) : GW2PAO.API.Data.Entities.Item
itemID int ID of the item
리턴 GW2PAO.API.Data.Entities.Item

GetItem() 공개 메소드

Returns the item information for the item with the given names
public GetItem ( string itemName, Data rarity, int level ) : GW2PAO.API.Data.Entities.Item
itemName string Name of the item
rarity Data Rarity of the item
level int Level of the item
리턴 GW2PAO.API.Data.Entities.Item

GetItemID() 공개 메소드

Returns the item ID of the item with the given name
public GetItemID ( string itemName, Data rarity, int level ) : int
itemName string Name of the item
rarity Data Rarity of the item
level int Level of the item
리턴 int

GetItemPrices() 공개 메소드

Returns the ItemPrices of the items with the given item IDs
public GetItemPrices ( ICollection itemIds ) : ItemPrices>.IDictionary
itemIds ICollection The items to search for
리턴 ItemPrices>.IDictionary

GetItemPrices() 공개 메소드

Returns the ItemPrices of the item with the given item ID
public GetItemPrices ( int itemId ) : GW2PAO.API.Data.Entities.ItemPrices
itemId int the item to retrieve the prices for
리턴 GW2PAO.API.Data.Entities.ItemPrices

GetItems() 공개 메소드

Returns the item information for the items with the given IDs
public GetItems ( ICollection itemIDs ) : GW2PAO.API.Data.Entities.Item>.IDictionary
itemIDs ICollection IDs of the items to retrieve
리턴 GW2PAO.API.Data.Entities.Item>.IDictionary

ReloadDatabase() 공개 메소드

Forces a re-load of the items database
public ReloadDatabase ( ) : void
리턴 void