M_ActivityDoubleElevenLotteryTicketShop.ts 639 B

12345678910111213141516171819202122
  1. // ID:ID, LotteryCount:抽奖次数, NeedCount:需要钻石, TicketCount:奖励抽奖券数量
  2. export default class M_ActivityDoubleElevenLotteryTicketShop {
  3. private static data =
  4. {"1":{"ID":1,"LotteryCount":1,"NeedCount":10,"TicketCount":1}
  5. ,"2":{"ID":2,"LotteryCount":10,"NeedCount":96,"TicketCount":10}
  6. }// ID:ID, LotteryCount:抽奖次数, NeedCount:需要钻石, TicketCount:奖励抽奖券数量
  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. }