Esempio n. 1
0
 public BankLevelDelta Diff(BankLevelJsonData other)
 {
     return(new BankLevelDelta(level,
                               other.levelPriceCoins - levelPriceCoins,
                               other.profit - profit,
                               other.profitInterval - profitInterval));
 }
Esempio n. 2
0
 public BankLevelData(BankLevelJsonData data)
 {
     this.Level           = data.level;
     this.LevelPriceCoins = data.levelPriceCoins;
     this.Profit          = data.profit;
     this.ProfitInterval  = data.profitInterval;
 }