-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Add ClanLogo colour data to Clan Data #326
Comments
Is the |
In my head it would be a dynamic size array, since one logo could have 50 pieces and another could have say 37. How this is done in TS, I can't really help you. If you have to store it as a massive block of string, then that is what needs to be done regardless of how regrettable (and ugly or annoying) that is. |
ok, yes, the array can be dynamic no problem with that |
@Shahtaa
|
What do you want to see in the API?
Add afield to clan that contains all of the data related to the clan logo (which logo is used and which colours are used.)
How do you think this should work?
The logo type can be determined through some sort of Enum or string that tells the client what logo to use. (Currently only heart is available.)
The colour data should be as a list of hexadecimal values. The current heart logo has 50 pieces that can have different colours, but later logos can have varying number of pieces.
Any additional info?
clanLogo: {
logoType: "Heart",
pieceColours: {
FF7744,
FFFFFF,
00AB39,
...
}
}
The text was updated successfully, but these errors were encountered: