Skip to content

Commit

Permalink
fix: Add TownHallLevel property to ClanMember (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
tparviainen committed Dec 10, 2023
1 parent a7561ce commit 77dd340
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/version.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Patch: Backwards compatible bug fixes only
# -Suffix (optional): a hyphen followed by a string denoting a pre-release version (rc1, rc2, etc.)

8.8.2
8.8.3-rc1
3 changes: 3 additions & 0 deletions src/ClashOfClans.Models/ClanMember.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ public class ClanMember : Identity
{
private Role? _role;
private int? _expLevel;
private int? _townHallLevel;
private int? _trophies;
private int? _builderBaseTrophies;
private int? _versusTrophies;
Expand All @@ -16,6 +17,8 @@ public class ClanMember : Identity

public Role Role { get => _role ?? default; set => _role = value; }

public int TownHallLevel { get => _townHallLevel ?? default; set => _townHallLevel = value; }

public int ExpLevel { get => _expLevel ?? default; set => _expLevel = value; }

public League League { get; set; } = default!;
Expand Down

0 comments on commit 77dd340

Please sign in to comment.