Exemplo n.º 1
0
 /// <summary>
 /// Initialization of the Price object.
 /// </summary>
 /// <param name="id">The item id.</param>
 /// <param name="buys">A list of all buy listings, ascending from lowest buy order.</param>
 /// <param name="sells">A list of all sell listings, ascending from lowest sell offer.</param>
 /// <param name="whitelisted">Currently unkown usage.</param>
 public Price(int id, bool whitelisted, TpItemListing buys, TpItemListing sells)
 {
     Item        = new ItemWrapper().GetById(id);
     Buys        = buys;
     Sells       = sells;
     Whitelisted = whitelisted;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initialization of the Price object. 
 /// </summary>
 /// <param name="id">The item id.</param>
 /// <param name="buys">A list of all buy listings, ascending from lowest buy order.</param>
 /// <param name="sells">A list of all sell listings, ascending from lowest sell offer.</param>
 /// <param name="whitelisted">Currently unkown usage.</param>
 public Price(int id, bool whitelisted, TpItemListing buys, TpItemListing sells)
 {
     Item = new ItemWrapper().GetById(id);
     Buys = buys;
     Sells = sells;
     Whitelisted = whitelisted;
 }