Ejemplo n.º 1
0
        void HandleTradeProposed(IPacketMsg packetMsg)
        {
            var tradeProp = new ClientMsgProtobuf <CMsgTrading_InitiateTradeRequest>(packetMsg);

            var callback = new TradeProposedCallback(tradeProp.Body);

            Client.PostCallback(callback);
        }
Ejemplo n.º 2
0
        void HandleInitiateTradeProposed(IPacketMsg packetMsg)
        {
            var msg = new ClientMsgProtobuf <CMsgTrading_InitiateTradeProposed>(packetMsg);

            var callback = new TradeProposedCallback();

            callback.TradeRequestId = msg.Body.trade_request_id;
            callback.Other          = msg.Body.other_steamid;

            this.Client.PostCallback(callback);
        }
Ejemplo n.º 3
0
        void HandleTradeProposed(IPacketMsg packetMsg)
        {
            var tradeProp = new ClientMsgProtobuf <CMsgTrading_InitiateTradeRequest>(packetMsg);

#if STATIC_CALLBACKS
            var callback = new TradeProposedCallback(Client, tradeProp.Body);
            SteamClient.PostCallback(callback);
#else
            var callback = new TradeProposedCallback(tradeProp.Body);
            Client.PostCallback(callback);
#endif
        }
Ejemplo n.º 4
0
        void HandleTradeProposed( IPacketMsg packetMsg )
        {
            var tradeProp = new ClientMsgProtobuf<CMsgTrading_InitiateTradeRequest>( packetMsg );

            var callback = new TradeProposedCallback( tradeProp.Body );
            Client.PostCallback( callback );
        }
Ejemplo n.º 5
0
        void HandleTradeProposed( IPacketMsg packetMsg )
        {
            var tradeProp = new ClientMsgProtobuf<CMsgTrading_InitiateTradeRequest>( packetMsg );

#if STATIC_CALLBACKS
            var callback = new TradeProposedCallback( Client, tradeProp.Body );
            SteamClient.PostCallback( callback );
#else
            var callback = new TradeProposedCallback( tradeProp.Body );
            Client.PostCallback( callback );
#endif
        }
Ejemplo n.º 6
0
        void HandleInitiateTradeProposed(IPacketMsg packetMsg)
        {
            var msg = new ClientMsgProtobuf<CMsgTrading_InitiateTradeProposed>(packetMsg);

            var callback = new TradeProposedCallback();
            callback.TradeRequestId = msg.Body.trade_request_id;
            callback.Other = msg.Body.other_steamid;

            this.Client.PostCallback(callback);
        }