Esempio n. 1
0
 protected BaseProfit(CommonItem item)
 {
     Item                        = item;
     Item.CostUpdate            += ItemOnCostUpdate;
     TreeProps                   = new TreeProps();
     TreeProps.IsSelectedUpdate += TreePropsOnIsSelectedUpdate;
 }
Esempio n. 2
0
 public CraftingResource(CommonItem item, int count, bool isReturnable)
 {
     TreeProps = new TreeProps {
         IsExpanded = false
     };
     Item             = item;
     Count            = count;
     IsReturnable     = isReturnable;
     Item.CostUpdate += ItemOnCostUpdate;
 }
Esempio n. 3
0
 protected BaseRequirement()
 {
     TreeProps = new TreeProps();
     TreeProps.IsSelectedUpdate += TreePropsOnIsSelectedUpdate;
 }