C# Класс CSharpTradeOffers.Trading.MarketHandler

Handles market related tasks.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

EligibilityCheck() публичный Метод

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
Результат void

GetPriceOverview() публичный Метод

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 $
Результат CSharpTradeOffers.Trading.MarketValue