Esempio n. 1
0
 public ConditionalItem(ItemId pri, ItemId sec = ItemId.Unknown, ItemCondition cond = ItemCondition.TAKE_PRIMARY)
 {
     primary   = AutoShop.getData((int)pri);
     secondary = (sec == ItemId.Unknown) ? null : AutoShop.getData((int)sec);
     condition = cond;
 }
Esempio n. 2
0
 public ConditionalItem(int pri, int sec = -1, ItemCondition cond = ItemCondition.TAKE_PRIMARY)
 {
     primary   = AutoShop.getData(pri);
     secondary = (sec == -1) ? null : AutoShop.getData(sec);
     condition = cond;
 }