M_LotteryChipCFG.lua 400 B

12345678910111213141516
  1. M_LotteryChipCFG = {}
  2. function M_LotteryChipCFG:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function M_LotteryChipCFG:init()
  9. self.datas = {}
  10. self.datas[0] = {Recharge = 0, RechargeUp = 200, RetChipRate = 1500, QuickDeduction = 3000}
  11. self.datas[200] = {Recharge = 200, RechargeUp = -1, RetChipRate = 300, QuickDeduction = 0}
  12. end
  13. M_LotteryChipCFG:init()