Skip to content
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

[TFT] UnitDto occasionally has extra field 'chosen' #20

Closed
whyando opened this issue Oct 31, 2020 · 1 comment
Closed

[TFT] UnitDto occasionally has extra field 'chosen' #20

whyando opened this issue Oct 31, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@whyando
Copy link

whyando commented Oct 31, 2020

Riot has recently added an extra field on the unitDto
Here is an extract from
https://europe.api.riotgames.com/tft/match/v1/matches/EUW1_4899709674
"units":[{"character_id":"TFT4_Maokai","items":[],"name":"","rarity":0,"tier":2},{"character_id":"TFT4_Sylas","chosen":"Set4_Brawler","items":[],"name":"","rarity":1,"tier":2},{"character_id":"TFT4_Vi","items":[],"name":"","rarity":1,"tier":2},{"character_id":"TFT4_Nunu","items":[57],"name":"","rarity":2,"tier":2},{"character_id":"TFT4_Kindred","items":[39,22,23],"name":"","rarity":2,"tier":2},{"character_id":"TFT4_Warwick","items":[],"name":"","rarity":3,"tier":2},{"character_id":"TFT4_Ashe","items":[69,11,16],"name":"","rarity":3,"tier":1}]

Unfortunately riot haven't documented this in their official docs.

Super hyped to get this data

@MingweiSamuel
Copy link
Owner

1.10.2 will be released momentarily
https://crates.io/crates/riven/1.10.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants