Skip to content

Redesign CoC module #22

@Pythonic-Rainbow

Description

@Pythonic-Rainbow

Instead of ClanUtil, use ClanDelta and extension methods

e.g. Coc.GetMember -> Clan.GetMember (by using extension methods)
comparing 2 clan instances in order to see who left clan/donated stuff: Methods/Properies in ClanDelta

During Coc module init, fetch clan info once and ClanDelta clanDelta = new(clan);
For each poll, clanDelta.compare(newClan). and then compute stuff like clanDelta.membersLeft

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions