M_HealthGame.ts 590 B

12345678910111213141516171819202122232425262728
  1. // ID:ID, Type:类型, Describe:描述
  2. export default class M_HealthGame {
  3. private static data =
  4. {"1":{"ID":1,"Type":"1","Describe":""}
  5. ,"2":{"ID":2,"Type":"2","Describe":""}
  6. ,"3":{"ID":3,"Type":"3","Describe":""}
  7. ,"4":{"ID":4,"Type":"4","Describe":""}
  8. ,"5":{"ID":5,"Type":"5","Describe":""}
  9. }// ID:ID, Type:类型, Describe:描述
  10. static getData(key: any): any {
  11. if (key == null || key == undefined)
  12. return null;
  13. return this.data[key];
  14. }
  15. static getAllData(): any {
  16. return this.data;
  17. }
  18. }