Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PlayerClan" /> class.
 /// </summary>
 /// <param name="tag">tag.</param>
 /// <param name="clanLevel">clanLevel.</param>
 /// <param name="name">name.</param>
 /// <param name="badgeUrls">badgeUrls.</param>
 public PlayerClan(string tag, int clanLevel, string name, ClanBadgeUrls badgeUrls)
 {
     Tag       = tag;
     ClanLevel = clanLevel;
     Name      = name;
     BadgeUrls = badgeUrls;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ClanWarLeagueClan" /> class.
 /// </summary>
 /// <param name="tag">tag.</param>
 /// <param name="clanLevel">clanLevel.</param>
 /// <param name="name">name.</param>
 /// <param name="members">members.</param>
 /// <param name="badgeUrls">badgeUrls.</param>
 public ClanWarLeagueClan(string tag, int clanLevel, string name, List <ClanWarLeagueClanMember> members, ClanBadgeUrls badgeUrls)
 {
     Tag       = tag;
     ClanLevel = clanLevel;
     Name      = name;
     Members   = members;
     BadgeUrls = badgeUrls;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WarClanLogEntry" /> class.
 /// </summary>
 /// <param name="destructionPercentage">destructionPercentage.</param>
 /// <param name="tag">tag.</param>
 /// <param name="name">name.</param>
 /// <param name="badgeUrls">badgeUrls.</param>
 /// <param name="clanLevel">clanLevel.</param>
 /// <param name="attacks">attacks.</param>
 /// <param name="stars">stars.</param>
 /// <param name="expEarned">expEarned.</param>
 public WarClanLogEntry(float destructionPercentage, string tag, string name, ClanBadgeUrls badgeUrls, int clanLevel, int attacks, int stars, int expEarned)
 {
     DestructionPercentage = destructionPercentage;
     Tag       = tag;
     Name      = name;
     BadgeUrls = badgeUrls;
     ClanLevel = clanLevel;
     Attacks   = attacks;
     Stars     = stars;
     ExpEarned = expEarned;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WarClan" /> class.
 /// </summary>
 /// <param name="destructionPercentage">destructionPercentage.</param>
 /// <param name="tag">tag.</param>
 /// <param name="name">name.</param>
 /// <param name="badgeUrls">badgeUrls.</param>
 /// <param name="clanLevel">clanLevel.</param>
 /// <param name="attacks">attacks.</param>
 /// <param name="stars">stars.</param>
 /// <param name="expEarned">expEarned.</param>
 /// <param name="members">members.</param>
 public WarClan(float destructionPercentage, string tag, string name, ClanBadgeUrls badgeUrls, int clanLevel, int attacks, int stars, int expEarned, List <ClanWarMember> members)
 {
     DestructionPercentage = destructionPercentage;
     Tag       = tag;
     Name      = name;
     BadgeUrls = badgeUrls;
     ClanLevel = clanLevel;
     Attacks   = attacks;
     Stars     = stars;
     ExpEarned = expEarned;
     Members   = members;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ClanRanking" /> class.
 /// </summary>
 /// <param name="clanLevel">clanLevel.</param>
 /// <param name="clanPoints">clanPoints.</param>
 /// <param name="location">location.</param>
 /// <param name="members">members.</param>
 /// <param name="tag">tag.</param>
 /// <param name="name">name.</param>
 /// <param name="rank">rank.</param>
 /// <param name="previousRank">previousRank.</param>
 /// <param name="badgeUrls">badgeUrls.</param>
 public ClanRanking(int clanLevel, int clanPoints, Location location, int members, string tag, string name, int rank, int previousRank, ClanBadgeUrls badgeUrls)
 {
     ClanLevel    = clanLevel;
     ClanPoints   = clanPoints;
     Location     = location;
     Members      = members;
     Tag          = tag;
     Name         = name;
     Rank         = rank;
     PreviousRank = previousRank;
     BadgeUrls    = badgeUrls;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Clan" /> class.
 /// </summary>
 /// <param name="warLeague">warLeague.</param>
 /// <param name="memberList">memberList.</param>
 /// <param name="requiredTrophies">requiredTrophies.</param>
 /// <param name="clanVersusPoints">clanVersusPoints.</param>
 /// <param name="tag">tag.</param>
 /// <param name="isWarLogPublic">isWarLogPublic.</param>
 /// <param name="warFrequency">warFrequency.</param>
 /// <param name="clanLevel">clanLevel.</param>
 /// <param name="warWinStreak">warWinStreak.</param>
 /// <param name="warWins">warWins.</param>
 /// <param name="warTies">warTies.</param>
 /// <param name="warLosses">warLosses.</param>
 /// <param name="clanPoints">clanPoints.</param>
 /// <param name="labels">labels.</param>
 /// <param name="name">name.</param>
 /// <param name="location">location.</param>
 /// <param name="type">type.</param>
 /// <param name="members">members.</param>
 /// <param name="description">description.</param>
 /// <param name="badgeUrls">badgeUrls.</param>
 public Clan(WarLeague warLeague = default(WarLeague), List <ClanMember> memberList = default(List <ClanMember>), int requiredTrophies = default(int), int clanVersusPoints = default(int), string tag = default(string), bool isWarLogPublic = default(bool), WarFrequency?warFrequency = default(WarFrequency?), int clanLevel = default(int), int warWinStreak = default(int), int warWins = default(int), int warTies = default(int), int warLosses = default(int), int clanPoints = default(int), List <Label> labels = default(List <Label>), string name = default(string), Location location = default(Location), RecruitingType?type = default(RecruitingType?), /*int members = default(int),*/ string description = default(string), ClanBadgeUrls badgeUrls = default(ClanBadgeUrls))
 {
     WarLeague = warLeague;
     //MemberList = memberList;
     RequiredTrophies = requiredTrophies;
     ClanVersusPoints = clanVersusPoints;
     Tag            = tag;
     IsWarLogPublic = isWarLogPublic;
     WarFrequency   = warFrequency;
     ClanLevel      = clanLevel;
     WarWinStreak   = warWinStreak;
     WarWins        = warWins;
     WarTies        = warTies;
     WarLosses      = warLosses;
     ClanPoints     = clanPoints;
     Labels         = labels;
     Name           = name;
     Location       = location;
     Type           = type;
     Members        = memberList;
     Description    = description;
     BadgeUrls      = badgeUrls;
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PlayerRankingClan" /> class.
 /// </summary>
 /// <param name="tag">tag.</param>
 /// <param name="name">name.</param>
 /// <param name="badgeUrls">badgeUrls.</param>
 public PlayerRankingClan(string tag, string name, ClanBadgeUrls badgeUrls)
 {
     Tag       = tag;
     Name      = name;
     BadgeUrls = badgeUrls;
 }