M_ActivityGetRichCFG.ts 745 B

123456789101112131415161718192021222324252627282930
  1. // ID:编号, Weight:权重, Rate:倍率, Gold:奖励金币
  2. export default class M_ActivityGetRichCFG {
  3. private static data =
  4. {"1":{"ID":1,"Weight":0,"Rate":2,"Gold":200000}
  5. ,"2":{"ID":2,"Weight":0,"Rate":4,"Gold":400000}
  6. ,"3":{"ID":3,"Weight":15,"Rate":6,"Gold":600000}
  7. ,"4":{"ID":4,"Weight":50,"Rate":8,"Gold":800000}
  8. ,"5":{"ID":5,"Weight":30,"Rate":9,"Gold":900000}
  9. ,"6":{"ID":6,"Weight":5,"Rate":10,"Gold":1000000}
  10. }// ID:编号, Weight:权重, Rate:倍率, Gold:奖励金币
  11. static getData(key: any): any {
  12. if (key == null || key == undefined)
  13. return null;
  14. return this.data[key];
  15. }
  16. static getAllData(): any {
  17. return this.data;
  18. }
  19. }