-
Notifications
You must be signed in to change notification settings - Fork 22
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
[Not an Issue] How to get Rune Page Name/List and/or Master Page Name/List? #11
Comments
Check out the RiotControl repository to see examples of how the rune page data is retrieved and stored in nice objects. I'm afraid I've never looked into the masteries. You would probably want to use a TLS MITM proxy approach to log what the regular client does. I haven't done that in a while. |
Can you point me to specific files? |
RiotControl/RiotGear/Worker/UpdateRunes.cs is probably related. Ultimately that data comes from the RPC.GetAllPublicSummonerDataByAccountAsync(AccountId, new Responder(GetPublicSummonerData, Error)); call, I think. So ultimately the rune data is from getAllPublicSummonerDataByAccount as described in RPCService.cs in LibOfLegends. |
Thanks! I'll look into those! |
Well I'm looking at the RPC stuff and I've come to a block: Which I also want to make sure, "by account" really means "by summoner" right? |
That's the wrong one, you want: public AllPublicSummonerDataDTO GetAllPublicSummonerDataByAccount(int accountID) (or its asynchronous brother) Look at the signature, it says account ID. |
Yes I think that method led me to that one: return (new InternalCallContext(GetAllPublicSummonerDataByAccountInternal, new object[] { accountID })).Execute(); So I thought "Must need to look at GetAllPlublicSummonerDataByAccountInternal: Which I thought "I'm stuck!" Uhhhh is it possible for you to write pseudocode for me for the process of getting their rune page? Since I've never programmed in C# (I think that's the language you're using). |
You probably want to browse the definitions of all the structures inside AllPublicSummonerDataDTO in the C# code for that. I can't be arsed to write additional code just to show you. I don't remember any of this stuff anyways. The code in UpdateRunes.cs already demonstrates how to iterate over the rune pages and how to retrive their names etc. That component is responsible for converting the AMF data to SQL, basically. |
How do I check a summoner's rune page list and the names of each rune page?
and/or
How do I check a summoner's mastery page list and the names of each master page?
The text was updated successfully, but these errors were encountered: