M_BankGiftCFG.ts 684 B

1234567891011121314151617181920212223242526
  1. // ID:编号, RechangId:礼包ID, Weight:权重, Multiple:倍率
  2. export default class M_BankGiftCFG {
  3. private static data =
  4. {"1":{"ID":1,"RechangId":[145,149],"Weight":60,"Multiple":3}
  5. ,"2":{"ID":2,"RechangId":[146,150],"Weight":25,"Multiple":4}
  6. ,"3":{"ID":3,"RechangId":[147,151],"Weight":10,"Multiple":5}
  7. ,"4":{"ID":4,"RechangId":[148,152],"Weight":5,"Multiple":6}
  8. }// ID:编号, RechangId:礼包ID, Weight:权重, Multiple:倍率
  9. static getData(key: any): any {
  10. if (key == null || key == undefined)
  11. return null;
  12. return this.data[key];
  13. }
  14. static getAllData(): any {
  15. return this.data;
  16. }
  17. }