M_ActivityDBFLuckDrawCFG.ts 937 B

1234567891011121314151617181920
  1. // ID:编号, RaffleConsumption1:生肖抽奖消耗, RaffleConsumption2:幸运抽奖消耗, TriggerBottom:触发1档需要次数, BottomGuard1:保底1挡次数, BottomGuard2:保底2挡次数, BottomGuard3:保底3挡次数, ConsumeID:消耗ID
  2. export default class M_ActivityDBFLuckDrawCFG {
  3. private static data =
  4. {"1":{"ID":1,"RaffleConsumption1":10,"RaffleConsumption2":100,"TriggerBottom":20,"BottomGuard1":3,"BottomGuard2":16,"BottomGuard3":150,"ConsumeID":156}
  5. }// ID:编号, RaffleConsumption1:生肖抽奖消耗, RaffleConsumption2:幸运抽奖消耗, TriggerBottom:触发1档需要次数, BottomGuard1:保底1挡次数, BottomGuard2:保底2挡次数, BottomGuard3:保底3挡次数, ConsumeID:消耗ID
  6. static getData(key: any): any {
  7. if (key == null || key == undefined)
  8. return null;
  9. return this.data[key];
  10. }
  11. static getAllData(): any {
  12. return this.data;
  13. }
  14. }