M_ActivityLuckyBagCFG.ts 855 B

12345678910111213141516171819202122232425262728
  1. // ID:编号, Count:购买次数, ItemId:道具ID, ItemNumber:道具数量, RechangId:礼包id
  2. export default class M_ActivityLuckyBagCFG {
  3. private static data =
  4. {"1":{"ID":1,"Count":1,"ItemId":1,"ItemNumber":200000,"RechangId":243}
  5. ,"2":{"ID":2,"Count":3,"ItemId":25,"ItemNumber":1,"RechangId":244}
  6. ,"3":{"ID":3,"Count":5,"ItemId":26,"ItemNumber":1,"RechangId":245}
  7. ,"4":{"ID":4,"Count":7,"ItemId":27,"ItemNumber":1,"RechangId":246}
  8. ,"5":{"ID":5,"Count":9,"ItemId":96,"ItemNumber":1,"RechangId":247}
  9. }// ID:编号, Count:购买次数, ItemId:道具ID, ItemNumber:道具数量, RechangId:礼包id
  10. static getData(key: any): any {
  11. if (key == null || key == undefined)
  12. return null;
  13. return this.data[key];
  14. }
  15. static getAllData(): any {
  16. return this.data;
  17. }
  18. }