M_StarLotteryBaseCFG.ts 720 B

1234567891011121314151617181920212223242526272829303132
  1. // Key:Key, Value:数值
  2. export default class M_StarLotteryBaseCFG {
  3. private static data =
  4. {"AwardMax":{"Key":"AwardMax","Value":100000}
  5. ,"DailyLimit":{"Key":"DailyLimit","Value":100}
  6. ,"TotalLimit":{"Key":"TotalLimit","Value":2800}
  7. ,"LogOpen":{"Key":"LogOpen","Value":1}
  8. ,"UsedChipRate":{"Key":"UsedChipRate","Value":2}
  9. ,"GameEventADD":{"Key":"GameEventADD","Value":10000}
  10. ,"MaxGameEvent":{"Key":"MaxGameEvent","Value":5}
  11. }// Key:Key, Value:数值
  12. static getData(key: any): any {
  13. if (key == null || key == undefined)
  14. return null;
  15. return this.data[key];
  16. }
  17. static getAllData(): any {
  18. return this.data;
  19. }
  20. }