Метод | Описание | |
---|---|---|
AcceptTradeOffer ( uint tradeId, uint partnerId, |
Accepts a specified trade offer.
|
|
CancelTradeOffer ( ulong tradeofferid ) : string |
Cancels a trade offer based on the specified tradeofferid.
|
|
DeclineTradeOffer ( ulong tradeofferid ) : string |
Declines a trade offer that was sent to you.
|
|
EconServiceHandler ( string apiKey ) : System | ||
EmailConfirmSendOffer ( uint accountId, uint tradeOfferId, ulong confirmationCode, string mId ) : void |
Accepts an email-confirmation
|
|
GetTradeOffer ( ulong tradeofferid, string language = "english" ) : CSharpTradeOffers.Trading.CEconTradeOffer |
Requests a single trade offer based on the tradeofferid.
|
|
GetTradeOffers ( string>.Dictionary |
Requests all trade offers.
|
|
GetTradeOffersSummary ( uint timeLastVisit ) : CSharpTradeOffers.Trading.GetTradeOffersSummaryResponse |
Requestss TradeOffer statistics. ie: historical_received_count
|
|
ModifyTradeOffer ( ulong partnerSid, string tradeoffermessage, string serverid, uint tradeofferidCountered, CSharpTradeOffers.Trading.TradeOffer offer, |
Modifies an existing trade offer.
|
|
SendTradeOffer ( ulong partnerSid, string tradeoffermessage, string serverid, CSharpTradeOffers.Trading.TradeOffer offer, |
Sends a trade offer to the specified recipient.
|
|
SendTradeOfferWithLink ( ulong partnerSid, string token, string tradeoffermessage, string serverid, CSharpTradeOffers.Trading.TradeOffer offer, |
Sends a trade offer to the specified recipient that's not on your friends list using the trade url. If is not the case, use SendTradeOffer function.
|
public AcceptTradeOffer ( uint tradeId, uint partnerId, |
||
tradeId | uint | A ulong representing the trade to accept. |
partnerId | uint | The AccountId of the person to trade with. |
container | Auth Cookies MUST be passed here, the function will fail if not. | |
serverid | string | Almost always 1, not quite sure what other numbers do. |
Результат | CSharpTradeOffers.Trading.Trade |
public CancelTradeOffer ( ulong tradeofferid ) : string | ||
tradeofferid | ulong | The ID of the offer to cancel. |
Результат | string |
public DeclineTradeOffer ( ulong tradeofferid ) : string | ||
tradeofferid | ulong | The ID of the offer to decline. |
Результат | string |
public EconServiceHandler ( string apiKey ) : System | ||
apiKey | string | |
Результат | System |
public EmailConfirmSendOffer ( uint accountId, uint tradeOfferId, ulong confirmationCode, string mId ) : void | ||
accountId | uint | Your accountId |
tradeOfferId | uint | Trade offer id of the offer to confirm |
confirmationCode | ulong | Confirmation code |
mId | string | No idea, but it looks something like: wiGVgcpbphpfTU5vDzD9uIwqtGlG8_QaWJqNmq5dOW3P3 |
Результат | void |
public GetTradeOffer ( ulong tradeofferid, string language = "english" ) : CSharpTradeOffers.Trading.CEconTradeOffer | ||
tradeofferid | ulong | The tradeofferid to request information on. |
language | string | The language to use. Default: english |
Результат | CSharpTradeOffers.Trading.CEconTradeOffer |
public GetTradeOffers ( string>.Dictionary |
||
data | string>.Dictionary | A dictionary containing the URL params found here: https://developer.valvesoftware.com/wiki/Steam_Web_API/IEconService at GetTradeOffers (v1). /// ex: [leftarrow]"get_sent_offers","1"[rightarrow]. Please note, [leftarrow] and [rightarrow] correspond to the keys on the keyboard. |
Результат | CSharpTradeOffers.Trading.TradeOffersList |
public GetTradeOffersSummary ( uint timeLastVisit ) : CSharpTradeOffers.Trading.GetTradeOffersSummaryResponse | ||
timeLastVisit | uint | Unix time for historical cutoff. |
Результат | CSharpTradeOffers.Trading.GetTradeOffersSummaryResponse |
public ModifyTradeOffer ( ulong partnerSid, string tradeoffermessage, string serverid, uint tradeofferidCountered, CSharpTradeOffers.Trading.TradeOffer offer, |
||
partnerSid | ulong | The SteamId64 (ulong) of the person whose offer will be modified. |
tradeoffermessage | string | An otpional message to be sent with the trade offer. Can be null. |
serverid | string | Almost always 1, not quite sure what other numbers do. |
tradeofferidCountered | uint | The TradeId of the offer to counter or modify. |
offer | CSharpTradeOffers.Trading.TradeOffer | A TradeOffer object containing the trade parameters. |
container | Auth Cookies MUST be passed here, the function will fail if not. | |
Результат |
public SendTradeOffer ( ulong partnerSid, string tradeoffermessage, string serverid, CSharpTradeOffers.Trading.TradeOffer offer, |
||
partnerSid | ulong | The SteamId64 (ulong) of the person to send the offer to. |
tradeoffermessage | string | An optional message to be sent with the offer. Can be null. |
serverid | string | Almost always 1, not quite sure what other numbers do. |
offer | CSharpTradeOffers.Trading.TradeOffer | A TradeOffer object containing the trade parameters. |
container | Auth Cookies MUST be passed here, the function will fail if not. | |
Результат |
public SendTradeOfferWithLink ( ulong partnerSid, string token, string tradeoffermessage, string serverid, CSharpTradeOffers.Trading.TradeOffer offer, |
||
partnerSid | ulong | The SteamId64 (ulong) of the person to send the offer to. |
token | string | The token part from the recipient's trade url. Example: a1b2cdEF |
tradeoffermessage | string | An optional message to be sent with the offer. Can be null. |
serverid | string | Almost always 1, not quite sure what other numbers do. |
offer | CSharpTradeOffers.Trading.TradeOffer | A TradeOffer object containing the trade parameters. |
container | Auth Cookies MUST be passed here, the function will fail if not. | |
Результат |