コード例 #1
0
ファイル: RobloxUtils.cs プロジェクト: VanityRBX/RobloxSharp
        public static TradeObject makeTradeObject(TradeDetailsData data)
        {
            TradeObject obj = new TradeObject
            {
                receiving = data.AgentOfferList[1],
                sending   = data.AgentOfferList[0]
            };

            return(obj);
        }
コード例 #2
0
 public String createTradeRequest(String senderID, String receiverID, TradeObject trade)
 {
     return createTradeRequest(senderID, receiverID, trade.sending.OfferList, trade.receiving.OfferList, trade.sending.OfferRobux, trade.receiving.OfferRobux);
 }
コード例 #3
0
ファイル: RobloxUtils.cs プロジェクト: ext0/RobloxSharp
 public static TradeObject makeTradeObject(TradeDetailsData data)
 {
     TradeObject obj = new TradeObject
     {
         receiving = data.AgentOfferList[1],
         sending = data.AgentOfferList[0]
     };
     return obj;
 }
コード例 #4
0
 public String createTradeRequest(String senderID, String receiverID, TradeObject trade)
 {
     return(createTradeRequest(senderID, receiverID, trade.sending.OfferList, trade.receiving.OfferList, trade.sending.OfferRobux, trade.receiving.OfferRobux));
 }