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