Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

37 lignes
852 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Example.Models
  7. {
  8. public class BattlemetricServerModule
  9. {
  10. public ServerInfoModel[] data { get; set; }
  11. }
  12. public class ServerInfoModel
  13. {
  14. public string type { get; set; }
  15. public int id { get; set; }
  16. public InfoDetailsModel attributes { get; set; }
  17. }
  18. public class InfoDetailsModel
  19. {
  20. public string name { get; set; }
  21. public int id { get; set; }
  22. public string address { get; set; }
  23. public string ip { get; set; }
  24. public string port { get; set; }
  25. public int players { get; set; }
  26. public int maxPlayers { get; set; }
  27. public int rank { get; set; }
  28. public string status { get; set; }
  29. }
  30. }