Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 6.10 KB | None | 0 0
  1.     public class bot {
  2.         public clan clan { get; set; }
  3.         public war war { get; set; }
  4.         public player[] player{get;set;}
  5.     }
  6.  
  7.     #region player
  8.     public class player : bot {
  9.        // [JsonProperty(PropertyName = "foo")]
  10.         public string tag { get; set; }
  11.         public long discordId { get; set; }
  12.         public attacks[] attacks { get; set; }
  13.         public attacks[] defenses { get; set; }
  14.         public aliases[] aliases { get; set; }
  15.     }
  16.  
  17.     public class attacks {
  18.         public string preparationStartTime { get; set; }
  19.         public int townhallLevel { get; set; }
  20.         public int stars { get; set; }
  21.         public int destructionPercentage { get; set; }
  22.     }
  23.  
  24.     public class aliases {
  25.         public string alias { get; set; }
  26.     }
  27.  
  28.     #endregion
  29.  
  30.     #region clan
  31.  
  32.     public class clan {
  33.         public string tags { get; set; }
  34.         public string name { get; set; }
  35.         public string type { get; set; }
  36.         public string description { get; set; }
  37.         public Location location { get; set; }
  38.         public Badgeurls badgeUrls { get; set; }
  39.         public int clanLevel { get; set; }
  40.         public int clanPoints { get; set; }
  41.         public int requiredTrophies { get; set; }
  42.         public string warFrequency { get; set; }
  43.         public int warWinStreak { get; set; }
  44.         public int warWins { get; set; }
  45.         public int warTies { get; set; }
  46.         public int warLosses { get; set; }
  47.         public bool isWarLogPublic { get; set; }
  48.         public int members { get; set; }
  49.         public Memberlist[] memberList { get; set; }
  50.     }
  51.  
  52.     public class Location {
  53.         public int id { get; set; }
  54.         public string name { get; set; }
  55.         public bool isCountry { get; set; }
  56.     }
  57.  
  58.     public class Badgeurls {
  59.         public string small { get; set; }
  60.         public string large { get; set; }
  61.         public string medium { get; set; }
  62.     }
  63.  
  64.     public class Memberlist {
  65.         public string tag { get; set; }
  66.         public string name { get; set; }
  67.         public string role { get; set; }
  68.         public int expLevel { get; set; }
  69.         public League league { get; set; }
  70.         public int trophies { get; set; }
  71.         public int clanRank { get; set; }
  72.         public int previousClanRank { get; set; }
  73.         public int donations { get; set; }
  74.         public int donationsReceived { get; set; }
  75.     }
  76.  
  77.     public class League {
  78.         public int id { get; set; }
  79.         public string name { get; set; }
  80.         public Iconurls iconUrls { get; set; }
  81.     }
  82.  
  83.     public class Iconurls {
  84.         public string small { get; set; }
  85.         public string tiny { get; set; }
  86.         public string medium { get; set; }
  87.     }
  88.  
  89.     #endregion
  90.  
  91.     #region current war
  92.  
  93.     public class war {
  94.         public string state { get; set; }
  95.         public int teamSize { get; set; }
  96.         public string preparationStartTime { get; set; }
  97.         public string startTime { get; set; }
  98.         public string endTime { get; set; }
  99.         public Clan clan { get; set; }
  100.         public Opponent opponent { get; set; }
  101.     }
  102.  
  103.     public class Clan {
  104.         public string tag { get; set; }
  105.         public string name { get; set; }
  106.         public Badgeurls1 badgeUrls { get; set; }
  107.         public int clanLevel { get; set; }
  108.         public int attacks { get; set; }
  109.         public int stars { get; set; }
  110.         public float destructionPercentage { get; set; }
  111.         public Member[] members { get; set; }
  112.     }
  113.  
  114.     public class Badgeurls1 {
  115.         public string small { get; set; }
  116.         public string large { get; set; }
  117.         public string medium { get; set; }
  118.     }
  119.  
  120.     public class Member {
  121.         public string tag { get; set; }
  122.         public string name { get; set; }
  123.         public int townhallLevel { get; set; }
  124.         public int mapPosition { get; set; }
  125.         public Attack[] attacks { get; set; }
  126.         public int opponentAttacks { get; set; }
  127.         public Bestopponentattack bestOpponentAttack { get; set; }
  128.     }
  129.  
  130.     public class Bestopponentattack {
  131.         public string attackerTag { get; set; }
  132.         public string defenderTag { get; set; }
  133.         public int stars { get; set; }
  134.         public int destructionPercentage { get; set; }
  135.         public int order { get; set; }
  136.     }
  137.  
  138.     public class Attack {
  139.         public string attackerTag { get; set; }
  140.         public string defenderTag { get; set; }
  141.         public int stars { get; set; }
  142.         public int destructionPercentage { get; set; }
  143.         public int order { get; set; }
  144.     }
  145.  
  146.     public class Opponent {
  147.         public string tag { get; set; }
  148.         public string name { get; set; }
  149.         public Badgeurls2 badgeUrls { get; set; }
  150.         public int clanLevel { get; set; }
  151.         public int attacks { get; set; }
  152.         public int stars { get; set; }
  153.         public float destructionPercentage { get; set; }
  154.         public Member1[] members { get; set; }
  155.     }
  156.  
  157.     public class Badgeurls2 {
  158.         public string small { get; set; }
  159.         public string large { get; set; }
  160.         public string medium { get; set; }
  161.     }
  162.  
  163.     public class Member1 {
  164.         public string tag { get; set; }
  165.         public string name { get; set; }
  166.         public int townhallLevel { get; set; }
  167.         public int mapPosition { get; set; }
  168.         public int opponentAttacks { get; set; }
  169.         public Bestopponentattack1 bestOpponentAttack { get; set; }
  170.         public Attack1[] attacks { get; set; }
  171.     }
  172.  
  173.     public class Bestopponentattack1 {
  174.         public string attackerTag { get; set; }
  175.         public string defenderTag { get; set; }
  176.         public int stars { get; set; }
  177.         public int destructionPercentage { get; set; }
  178.         public int order { get; set; }
  179.     }
  180.  
  181.     public class Attack1 {
  182.         public string attackerTag { get; set; }
  183.         public string defenderTag { get; set; }
  184.         public int stars { get; set; }
  185.         public int destructionPercentage { get; set; }
  186.         public int order { get; set; }
  187.     }
  188.  
  189.  
  190.     #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement