M_ActivityFishingCeleGiftLottery.ts 765 B

123456789101112131415161718192021222324
  1. // ID:抽奖等级, LotteryCount:集齐次数, rewardItem:集齐奖励, rewardCount:集齐奖励数量
  2. export default class M_ActivityFishingCeleGiftLottery {
  3. private static data =
  4. {"1":{"ID":1,"LotteryCount":5,"rewardItem":[1,302],"rewardCount":[120000,12]}
  5. ,"2":{"ID":2,"LotteryCount":5,"rewardItem":[1,302],"rewardCount":[680000,68]}
  6. ,"3":{"ID":3,"LotteryCount":5,"rewardItem":[1,302],"rewardCount":[1280000,128]}
  7. }// ID:抽奖等级, LotteryCount:集齐次数, rewardItem:集齐奖励, rewardCount:集齐奖励数量
  8. static getData(key: any): any {
  9. if (key == null || key == undefined)
  10. return null;
  11. return this.data[key];
  12. }
  13. static getAllData(): any {
  14. return this.data;
  15. }
  16. }