M_ActivityDoubleElevenLotteryEx.ts 575 B

12345678910111213141516171819202122
  1. // ID:ID, Weight:权重, ItemId:额外奖励道具ID, ItemCount:道具数量
  2. export default class M_ActivityDoubleElevenLotteryEx {
  3. private static data =
  4. {"1":{"ID":1,"Weight":10,"ItemId":290,"ItemCount":1}
  5. ,"2":{"ID":2,"Weight":90,"ItemId":290,"ItemCount":0}
  6. }// ID:ID, Weight:权重, ItemId:额外奖励道具ID, ItemCount:道具数量
  7. static getData(key: any): any {
  8. if (key == null || key == undefined)
  9. return null;
  10. return this.data[key];
  11. }
  12. static getAllData(): any {
  13. return this.data;
  14. }
  15. }