C# 클래스 SteamKit2.SteamTrading

This handler is used for initializing Steam trades with other clients.
상속: ClientMsgHandler
파일 보기 프로젝트 열기: Top-Cat/SteamBot 1 사용 예제들

공개 메소드들

메소드 설명
CancelTrade ( SteamID user ) : void

Cancels an already sent trade proposal.

HandleMsg ( IPacketMsg packetMsg ) : void

Handles a client message. This should not be called directly.

RespondToTrade ( uint tradeId, bool acceptTrade ) : void

Responds to a trade proposal.

Trade ( SteamID user ) : void

Proposes a trade to another client.

비공개 메소드들

메소드 설명
HandleStartSession ( IPacketMsg packetMsg ) : void
HandleTradeProposed ( IPacketMsg packetMsg ) : void
HandleTradeResult ( IPacketMsg packetMsg ) : void
SteamTrading ( ) : System

메소드 상세

CancelTrade() 공개 메소드

Cancels an already sent trade proposal.
public CancelTrade ( SteamID user ) : void
user SteamID The user.
리턴 void

HandleMsg() 공개 메소드

Handles a client message. This should not be called directly.
public HandleMsg ( IPacketMsg packetMsg ) : void
packetMsg IPacketMsg The packet message that contains the data.
리턴 void

RespondToTrade() 공개 메소드

Responds to a trade proposal.
public RespondToTrade ( uint tradeId, bool acceptTrade ) : void
tradeId uint The trade id of the received proposal.
acceptTrade bool if set to true, the trade will be accepted.
리턴 void

Trade() 공개 메소드

Proposes a trade to another client.
public Trade ( SteamID user ) : void
user SteamID The client to trade.
리턴 void