M_ActivityDoubleElevenRecharge.lua 1012 B

123456789101112131415161718192021
  1. M_ActivityDoubleElevenRecharge = {}
  2. function M_ActivityDoubleElevenRecharge:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function M_ActivityDoubleElevenRecharge:init()
  9. self.datas = {}
  10. self.datas[1] = {ID = 1, Desc = "累计充值6元", Condition = 6, ItemID = {1}, ItemCount = {100000}}
  11. self.datas[2] = {ID = 2, Desc = "累计充值30元", Condition = 30, ItemID = {289}, ItemCount = {20}}
  12. self.datas[3] = {ID = 3, Desc = "累计充值68元", Condition = 68, ItemID = {289}, ItemCount = {30}}
  13. self.datas[4] = {ID = 4, Desc = "累计充值168元", Condition = 168, ItemID = {289}, ItemCount = {80}}
  14. self.datas[5] = {ID = 5, Desc = "累计充值328元", Condition = 328, ItemID = {289}, ItemCount = {150}}
  15. self.datas[6] = {ID = 6, Desc = "累计充值648元", Condition = 648, ItemID = {289}, ItemCount = {300}}
  16. self.datas[7] = {ID = 7, Desc = "累计充值1000元", Condition = 1000, ItemID = {289}, ItemCount = {400}}
  17. end
  18. M_ActivityDoubleElevenRecharge:init()