M_ActivitySummerPlanRoketCFG.lua 883 B

12345678910111213141516171819
  1. M_ActivitySummerPlanRoketCFG = {}
  2. function M_ActivitySummerPlanRoketCFG:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function M_ActivitySummerPlanRoketCFG:init()
  9. self.datas = {}
  10. self.datas[1] = {ID = 1, Height = 25, GiftID = 392, Weight = 450, ShowItem = {1,700000,45,10}}
  11. self.datas[2] = {ID = 2, Height = 50, GiftID = 393, Weight = 280, ShowItem = {1,700000,45,10,1,500000,45,5}}
  12. self.datas[3] = {ID = 3, Height = 70, GiftID = 394, Weight = 150, ShowItem = {1,700000,45,10,1,500000,45,5,1,350000,45,5}}
  13. self.datas[4] = {ID = 4, Height = 80, GiftID = 395, Weight = 100, ShowItem = {1,700000,45,10,1,500000,45,5,1,350000,45,5,1,350000,45,5}}
  14. self.datas[5] = {ID = 5, Height = 100, GiftID = 396, Weight = 20, ShowItem = {1,700000,45,10,1,500000,45,5,1,350000,45,5,1,350000,45,5,1,800000,45,5}}
  15. end
  16. M_ActivitySummerPlanRoketCFG:init()