M_ActivityIntegralDrawCFG.ts 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // ID:编号, ItemIDs:物品ID, ItemCounts:物品数量, weight:权重
  2. export default class M_ActivityIntegralDrawCFG {
  3. private static data =
  4. {"1":{"ID":1,"ItemIDs":[16],"ItemCounts":[50],"weight":80}
  5. ,"2":{"ID":2,"ItemIDs":[24],"ItemCounts":[1],"weight":330}
  6. ,"3":{"ID":3,"ItemIDs":[1],"ItemCounts":[100000],"weight":400}
  7. ,"4":{"ID":4,"ItemIDs":[25],"ItemCounts":[1],"weight":60}
  8. ,"5":{"ID":5,"ItemIDs":[1],"ItemCounts":[300000],"weight":105}
  9. ,"6":{"ID":6,"ItemIDs":[26],"ItemCounts":[1],"weight":5}
  10. ,"7":{"ID":7,"ItemIDs":[1],"ItemCounts":[500000],"weight":16}
  11. ,"8":{"ID":8,"ItemIDs":[94],"ItemCounts":[1],"weight":3}
  12. ,"9":{"ID":9,"ItemIDs":[27],"ItemCounts":[1],"weight":1}
  13. }// ID:编号, ItemIDs:物品ID, ItemCounts:物品数量, weight:权重
  14. static getData(key: any): any {
  15. if (key == null || key == undefined)
  16. return null;
  17. return this.data[key];
  18. }
  19. static getAllData(): any {
  20. return this.data;
  21. }
  22. }