M_ActiveTurntable.lua 545 B

1234567891011121314151617
  1. M_ActiveTurntable = {}
  2. function M_ActiveTurntable:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function M_ActiveTurntable:init()
  9. self.datas = {}
  10. self.datas[1] = {ID = 1, ShowAwardItemIDs = "M_Gold1,M_Gold1,M_Gold1,M_Gold2,M_Gold3", GiftPackageID = 99}
  11. self.datas[2] = {ID = 2, ShowAwardItemIDs = "M_Gold2,M_Gold2,M_Gold3,M_Gold4,M_Gold5", GiftPackageID = 100}
  12. self.datas[3] = {ID = 3, ShowAwardItemIDs = "M_Gold3,M_Gold4,M_Gold4,M_Gold5,M_Gold6", GiftPackageID = 101}
  13. end
  14. M_ActiveTurntable:init()