public static TradeObject makeTradeObject(TradeDetailsData data) { TradeObject obj = new TradeObject { receiving = data.AgentOfferList[1], sending = data.AgentOfferList[0] }; return(obj); }
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); }
public static TradeObject makeTradeObject(TradeDetailsData data) { TradeObject obj = new TradeObject { receiving = data.AgentOfferList[1], sending = data.AgentOfferList[0] }; return obj; }
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)); }