M_ActivityLuckyCoinCFG.lua 474 B

1234567891011121314151617
  1. M_ActivityLuckyCoinCFG = {}
  2. function M_ActivityLuckyCoinCFG:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function M_ActivityLuckyCoinCFG:init()
  9. self.datas = {}
  10. self.datas[1] = {ID = 1, Name = "普通渔网", needItem = 1, needCount = 1}
  11. self.datas[2] = {ID = 2, Name = "白银渔网", needItem = 1, needCount = 5}
  12. self.datas[3] = {ID = 3, Name = "黄金渔网", needItem = 1, needCount = 10}
  13. end
  14. M_ActivityLuckyCoinCFG:init()