public int GetNextLevelMaxPowerCost() { int level = this._cabinDict[1].level + 1; if (CabinPowerCostMetaDataReader.GetCabinPowerCostMetaDataByKey(level) != null) { return(CabinPowerCostMetaDataReader.GetCabinPowerCostMetaDataByKey(level).MaxPowerCost); } return(-1); }
public int GetMaxPowerCost() { return(CabinPowerCostMetaDataReader.GetCabinPowerCostMetaDataByKey(this._cabinDict[1].level).MaxPowerCost); }