Skip to content

v3.2.0

Compare
Choose a tag to compare
@lukasthaler lukasthaler released this 19 Dec 22:21
· 149 commits to master since this release
5e51714

Additions:

  • Added custom class support to a few more classes:
    • :class:ClanWarMember now supports the :attr:attack_cls attribute to customize the type returned in
      :func:ClanWarMember.attacks (and, by extension also :func:WarClan.attacks and :func:ClanWar.attacks)
    • :class:WarClan now supports the :attr:member_cls attribute to customize the type returned in
      :func:WarClan.members (and, by extension also :func:ClanWar.members)
    • :class:ClanWar now supports the :attr:clan_cls attribute to customize the types of
      :func:ClanWar.clan and :func:ClanWar.opponent
    • the :class:Equipment class can now be imported as coc.Equipment

Full Changelog: v3.1.0...v3.2.0