M_ActivityIntegralExchangeCFG.ts 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. // ID:编号, VoucherId:凭证ID, VoucherCount:凭证数量, ItemId:道具ID, ItemCount:道具数量
  2. export default class M_ActivityIntegralExchangeCFG {
  3. private static data =
  4. {"1":{"ID":1,"VoucherId":204,"VoucherCount":1,"ItemId":1,"ItemCount":40000}
  5. ,"2":{"ID":2,"VoucherId":204,"VoucherCount":5,"ItemId":24,"ItemCount":2}
  6. ,"3":{"ID":3,"VoucherId":204,"VoucherCount":10,"ItemId":25,"ItemCount":1}
  7. ,"4":{"ID":4,"VoucherId":204,"VoucherCount":25,"ItemId":26,"ItemCount":1}
  8. ,"5":{"ID":5,"VoucherId":204,"VoucherCount":100,"ItemId":27,"ItemCount":1}
  9. ,"6":{"ID":6,"VoucherId":205,"VoucherCount":1,"ItemId":25,"ItemCount":1}
  10. ,"7":{"ID":7,"VoucherId":205,"VoucherCount":5,"ItemId":26,"ItemCount":2}
  11. ,"8":{"ID":8,"VoucherId":205,"VoucherCount":10,"ItemId":27,"ItemCount":1}
  12. }// ID:编号, VoucherId:凭证ID, VoucherCount:凭证数量, ItemId:道具ID, ItemCount:道具数量
  13. static getData(key: any): any {
  14. if (key == null || key == undefined)
  15. return null;
  16. return this.data[key];
  17. }
  18. static getAllData(): any {
  19. return this.data;
  20. }
  21. }