コード例 #1
0
 public ConditionalItem(ItemId pri, ItemId sec = ItemId.Unknown, ItemCondition cond = ItemCondition.TAKE_PRIMARY)
 {
     primary   = AutoShopper.getData((int)pri);
     secondary = (sec == ItemId.Unknown) ? null : AutoShopper.getData((int)sec);
     condition = cond;
 }
コード例 #2
0
 public ConditionalItem(int pri, int sec = -1, ItemCondition cond = ItemCondition.TAKE_PRIMARY)
 {
     primary   = AutoShopper.getData(pri);
     secondary = (sec == -1)?null:AutoShopper.getData(sec);
     condition = cond;
 }