M_ActivityFishingCeleGiftRecharge.lua 789 B

123456789101112131415161718192021
  1. M_ActivityFishingCeleGiftRecharge = {}
  2. function M_ActivityFishingCeleGiftRecharge:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function M_ActivityFishingCeleGiftRecharge:init()
  9. self.datas = {}
  10. self.datas[1] = {ID = 1, GiftID = 354, needItem = 301, needCount = 0}
  11. self.datas[2] = {ID = 2, GiftID = 355, needItem = 301, needCount = 12}
  12. self.datas[3] = {ID = 3, GiftID = 356, needItem = 301, needCount = 32}
  13. self.datas[4] = {ID = 4, GiftID = 357, needItem = 301, needCount = 74}
  14. self.datas[5] = {ID = 5, GiftID = 358, needItem = 301, needCount = 140}
  15. self.datas[6] = {ID = 6, GiftID = 359, needItem = 301, needCount = 360}
  16. self.datas[7] = {ID = 7, GiftID = 360, needItem = 301, needCount = 699}
  17. end
  18. M_ActivityFishingCeleGiftRecharge:init()