M_ActivityChipBoxCFG.ts 568 B

12345678910111213141516171819202122
  1. // Key:Key, Value:数值, StringValue:字符串
  2. export default class M_ActivityChipBoxCFG {
  3. private static data =
  4. {"LotteryCost_1":{"Key":"LotteryCost_1","Value":50,"StringValue":"抽1次花费"}
  5. ,"LotteryCost_10":{"Key":"LotteryCost_10","Value":490,"StringValue":"抽10次花费"}
  6. }// Key:Key, Value:数值, StringValue:字符串
  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. }