C# Class CSharpTradeOffers.Trading.MarketHandler

Handles market related tasks.
Datei anzeigen Open project: FatherFoxxy/CSharpTradeOffers Class Usage Examples

Public Methods

Method Description
EligibilityCheck ( ulong steamId, CookieContainer container ) : void

Sets the container to contain a MarketEligibility cookie. Required before trading.

GetPriceOverview ( uint appId, string marketHashName, CultureInfo culture, string country = "US", string currency = "1" ) : CSharpTradeOffers.Trading.MarketValue

Gets the price overview of an item.

Method Details

EligibilityCheck() public method

Sets the container to contain a MarketEligibility cookie. Required before trading.
public EligibilityCheck ( ulong steamId, CookieContainer container ) : void
steamId ulong The SteamId of the bot.
container System.Net.CookieContainer The bot CookieContainer
return void

GetPriceOverview() public method

Gets the price overview of an item.
public GetPriceOverview ( uint appId, string marketHashName, CultureInfo culture, string country = "US", string currency = "1" ) : CSharpTradeOffers.Trading.MarketValue
appId uint The appId of the item.
marketHashName string The market_hash_name of the item
culture System.Globalization.CultureInfo
country string Country to check in. (ISO)
currency string Currency code, I forget what. 1 = US $
return CSharpTradeOffers.Trading.MarketValue