File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ public MapInfoProxy()
46
46
47
47
proxy . ApiSessionSource
48
48
. Where ( s => s . Request . PathAndQuery == "/kcsapi/api_get_member/mapinfo" )
49
- . TryParse < member_mapinfo [ ] > ( )
49
+ . TryParse < mapinfo > ( )
50
50
. Subscribe ( m =>
51
51
{
52
52
Debug . WriteLine ( "MapInfoProxy - member_mapinfo" ) ;
53
- this . Maps . MapList = this . CreateMapList ( m . Data ) ;
53
+ this . Maps . MapList = this . CreateMapList ( m . Data . api_map_info ) ;
54
54
this . RaisePropertyChanged ( ( ) => this . Maps ) ;
55
55
} ) ;
56
56
Original file line number Diff line number Diff line change 1
1
namespace EventMapHpViewer . Models . Raw
2
2
{
3
+ public class mapinfo
4
+ {
5
+ public member_mapinfo [ ] api_map_info { get ; set ; }
6
+ }
7
+
3
8
public class member_mapinfo
4
9
{
5
10
public int api_id { get ; set ; }
@@ -8,5 +13,4 @@ public class member_mapinfo
8
13
public int api_defeat_count { get ; set ; }
9
14
public Api_Eventmap api_eventmap { get ; set ; }
10
15
}
11
-
12
16
}
You can’t perform that action at this time.
0 commit comments