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

Add more information about opponents source #86

Open
Drarig29 opened this issue Apr 10, 2021 · 0 comments
Open

Add more information about opponents source #86

Drarig29 opened this issue Apr 10, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Drarig29
Copy link
Owner

Currently, there is only match.opponent[1|2].position, which gives the number of the source match. But if we want to know the source match, we have to do computations.

Doing as Toornament in https://developer.toornament.com/v2/doc/organizer_bracket_nodes could be a better approach.

We would replace replace position by source_type (none, winner, loser) and source_match_id.

This would simplify the viewer too (about origin hint).

@Drarig29 Drarig29 added the enhancement New feature or request label Apr 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant