C
C#10mo ago
zoon_

riot games lol api

so i have an object that has all the summoner data. i.e: name level rank etc.. but after i edit that data as in assign values to it it deletes itself from the instance i have.. why ? heres the code that assigns data to the player instance i made out of my summoner class and heres the updatehomepage that updates the windows form homepage that will show the data from the player instance. but the player instance when i try to show its data it suddenly appears empty with all values 0 am i doing something wrong ?
No description
No description
4 Replies
zoon_
zoon_OP10mo ago
No description
zoon_
zoon_OP10mo ago
No description
zoon_
zoon_OP10mo ago
No description
SpReeD
SpReeD10mo ago
Hard to say, but it seems your Task runs after the view is updated. Best way is to step-debug through the statements. However, consider using Task and async Methods for this. The Thread class is way too low-level for a simple Task (wordplay here).
Want results from more Discord servers?
Add your server