M_StarLotteryBaseCFG.lua 667 B

123456789101112131415161718192021
  1. M_StarLotteryBaseCFG = {}
  2. function M_StarLotteryBaseCFG:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function M_StarLotteryBaseCFG:init()
  9. self.datas = {}
  10. self.datas["AwardMax"] = {Key = "AwardMax", Value = 100000}
  11. self.datas["DailyLimit"] = {Key = "DailyLimit", Value = 100}
  12. self.datas["TotalLimit"] = {Key = "TotalLimit", Value = 2800}
  13. self.datas["LogOpen"] = {Key = "LogOpen", Value = 1}
  14. self.datas["UsedChipRate"] = {Key = "UsedChipRate", Value = 2}
  15. self.datas["GameEventADD"] = {Key = "GameEventADD", Value = 10000}
  16. self.datas["MaxGameEvent"] = {Key = "MaxGameEvent", Value = 5}
  17. end
  18. M_StarLotteryBaseCFG:init()