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

rank value #17

Open
franjodolo opened this issue Oct 1, 2017 · 2 comments
Open

rank value #17

franjodolo opened this issue Oct 1, 2017 · 2 comments

Comments

@franjodolo
Copy link

Hi,
I am beginner and i'm sorry if question is stupid, but i cant find rank stats nowhere. I supposed it will be under Stats.Rank, but rank does not exist. Where i can find rank stats?
ty

@eklypss
Copy link
Owner

eklypss commented Oct 1, 2017

Assuming you mean rating rank, then just do something like this:

var rating = stats.Stats.Find(x => x.Mode == Mode.Solo && x.Region == Region.EU && x.Season == Seasons.EASeason2).Stats.Find(x => x.Stat == Stats.Rating);
Console.WriteLine($"{rating.Rank}");

I can't test it right now because the servers seem to be down but something like that should work.

@franjodolo
Copy link
Author

wow, thank you for fast replay
ill try tomorrow, seems servers are, whole day, down

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants