M_RobNoticeCFG.lua 1.1 KB

123456789101112131415161718192021222324252627
  1. M_RobNoticeCFG = {}
  2. function M_RobNoticeCFG:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function M_RobNoticeCFG:init()
  9. self.datas = {}
  10. self.datas["RobotNotice01"] = {ID = "RobotNotice01", ShowPos = 0}
  11. self.datas["RobotNotice02"] = {ID = "RobotNotice02", ShowPos = 0}
  12. self.datas["RobotNotice03"] = {ID = "RobotNotice03", ShowPos = 0}
  13. self.datas["RobotNotice04"] = {ID = "RobotNotice04", ShowPos = 0}
  14. self.datas["RobotNotice05"] = {ID = "RobotNotice05", ShowPos = 0}
  15. self.datas["RobotNotice06"] = {ID = "RobotNotice06", ShowPos = 0}
  16. self.datas["RobotNotice07"] = {ID = "RobotNotice07", ShowPos = 0}
  17. self.datas["RobotNotice08"] = {ID = "RobotNotice08", ShowPos = 0}
  18. self.datas["RobotNotice09"] = {ID = "RobotNotice09", ShowPos = 0}
  19. self.datas["RobotNotice10"] = {ID = "RobotNotice10", ShowPos = 0}
  20. self.datas["RobotNotice11"] = {ID = "RobotNotice11", ShowPos = 0}
  21. self.datas["RobotNotice12"] = {ID = "RobotNotice12", ShowPos = 0}
  22. self.datas["RobotNotice13"] = {ID = "RobotNotice13", ShowPos = 1}
  23. end
  24. M_RobNoticeCFG:init()