File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,16 +15,10 @@ public class SteamApp
1515 public string Name { get ; set ; }
1616 }
1717
18- public class SteamAppList
19- {
20- [ JsonProperty ( "app" ) ]
21- public IList < SteamApp > Apps { get ; set ; }
22- }
23-
2418 public class SteamAppListResult
2519 {
2620 [ JsonProperty ( "apps" ) ]
27- public SteamAppList AppList { get ; set ; }
21+ public IList < SteamApp > Apps { get ; set ; }
2822 }
2923
3024 public class SteamAppListResultContainer
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ public SteamApps(string steamWebApiKey)
1717
1818 public async Task < IReadOnlyCollection < SteamApp > > GetAppList ( )
1919 {
20- var steamAppList = await CallMethodAsync < SteamAppListResultContainer > ( "GetAppList" , 1 ) ;
21- return new ReadOnlyCollection < SteamApp > ( steamAppList . AppListResult . AppList . Apps ) ;
20+ var steamAppList = await CallMethodAsync < SteamAppListResultContainer > ( "GetAppList" , 2 ) ;
21+ return new ReadOnlyCollection < SteamApp > ( steamAppList . AppListResult . Apps ) ;
2222 }
2323 }
2424}
You can’t perform that action at this time.
0 commit comments