M_ActivityGrandPrixCFG.lua 879 B

12345678910111213141516171819202122
  1. M_ActivityGrandPrixCFG = {}
  2. function M_ActivityGrandPrixCFG:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function M_ActivityGrandPrixCFG:init()
  9. self.datas = {}
  10. self.datas[1] = {ID = 1, RechangId = {261,271,281}, Weight = 1, Multiple = 5}
  11. self.datas[2] = {ID = 2, RechangId = {262,272,282}, Weight = 12, Multiple = 6}
  12. self.datas[3] = {ID = 3, RechangId = {263,273,283}, Weight = 30, Multiple = 7}
  13. self.datas[4] = {ID = 4, RechangId = {264,274,284}, Weight = 25, Multiple = 8}
  14. self.datas[5] = {ID = 5, RechangId = {265,275,285}, Weight = 15, Multiple = 9}
  15. self.datas[6] = {ID = 6, RechangId = {266,276,286}, Weight = 10, Multiple = 10}
  16. self.datas[7] = {ID = 7, RechangId = {378,379,380}, Weight = 5, Multiple = 11}
  17. self.datas[8] = {ID = 8, RechangId = {381,382,383}, Weight = 2, Multiple = 12}
  18. end
  19. M_ActivityGrandPrixCFG:init()