Fish_TelephoneBillDropCFG.lua 877 B

123456789101112131415161718
  1. Fish_TelephoneBillDropCFG = {}
  2. function Fish_TelephoneBillDropCFG:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function Fish_TelephoneBillDropCFG:init()
  9. self.datas = {}
  10. self.datas[1] = {Id = 1, RechargeLimit = 1000, HistoricalCharges = {0,2000,25,2000,10000,20,10000,20000,15,20000,50000,10,50000,100000,8,100000,100000000,5}}
  11. self.datas[2] = {Id = 2, RechargeLimit = 500, HistoricalCharges = {0,2000,25,2000,10000,20,10000,20000,15,20000,50000,10,50000,100000,8,100000,100000000,0}}
  12. self.datas[3] = {Id = 3, RechargeLimit = 100, HistoricalCharges = {0,2000,25,2000,10000,20,10000,20000,0,20000,50000,0,50000,100000,0,100000,100000000,0}}
  13. self.datas[4] = {Id = 4, RechargeLimit = 0, HistoricalCharges = {0,2000,25,2000,10000,0,10000,20000,0,20000,50000,0,50000,100000,0,100000,100000000,0}}
  14. end
  15. Fish_TelephoneBillDropCFG:init()