mirror of
https://codeberg.org/icewind/vdf-reader.git
synced 2026-06-03 10:04:08 +02:00
test flatten
This commit is contained in:
parent
2d47a04754
commit
feeb1aa3a4
2 changed files with 25 additions and 21 deletions
|
|
@ -74,11 +74,17 @@ struct UserConfigDataSteamCached {
|
|||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
struct UserConfigDataFriendsMainDialog {
|
||||
struct DialogPos {
|
||||
xpos: u32,
|
||||
ypos: u32,
|
||||
wide: u16,
|
||||
tall: u16,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
struct UserConfigDataFriendsMainDialog {
|
||||
#[serde(flatten)]
|
||||
pos: DialogPos,
|
||||
#[serde(rename = "FriendPanelSelf")]
|
||||
friends_panel_self: BTreeMap<String, String>,
|
||||
#[serde(rename = "FriendsDialogSheet")]
|
||||
|
|
@ -109,10 +115,8 @@ struct UserConfigDataServers {
|
|||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
struct UserConfigDataServersDialog {
|
||||
xpos: u32,
|
||||
ypos: u32,
|
||||
wide: u16,
|
||||
tall: u16,
|
||||
#[serde(flatten)]
|
||||
pos: DialogPos,
|
||||
#[serde(rename = "GameTabs")]
|
||||
game_tabs: UserConfigDataServersDialogGameTabs,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,13 +8,13 @@ UserConfigData(
|
|||
r#OverlaySplash.res: {},
|
||||
),
|
||||
),
|
||||
FriendsMainDialog: UserConfigDataFriendsMainDialog(
|
||||
xpos: 1028,
|
||||
ypos: 280,
|
||||
wide: 252,
|
||||
tall: 440,
|
||||
FriendPanelSelf: {},
|
||||
FriendsDialogSheet: UserConfigDataFriendsMainDialogFriendsDialogSheet(
|
||||
FriendsMainDialog: {
|
||||
"xpos": 1028,
|
||||
"ypos": 280,
|
||||
"wide": 252,
|
||||
"tall": 440,
|
||||
"FriendPanelSelf": {},
|
||||
"FriendsDialogSheet": UserConfigDataFriendsMainDialogFriendsDialogSheet(
|
||||
FriendsFriendsPage: UserConfigDataFriendsMainDialogFriendsDialogSheetFriendsPage(
|
||||
BuddyList: {
|
||||
"0_collapsed": false,
|
||||
|
|
@ -35,15 +35,15 @@ UserConfigData(
|
|||
},
|
||||
),
|
||||
),
|
||||
FriendsState: {},
|
||||
),
|
||||
"FriendsState": {},
|
||||
},
|
||||
Servers: UserConfigDataServers(
|
||||
r#DialogServerBrowser.res: UserConfigDataServersDialog(
|
||||
xpos: 0,
|
||||
ypos: 0,
|
||||
wide: 1280,
|
||||
tall: 720,
|
||||
GameTabs: UserConfigDataServersDialogGameTabs(
|
||||
r#DialogServerBrowser.res: {
|
||||
"xpos": 0,
|
||||
"ypos": 0,
|
||||
"wide": 1280,
|
||||
"tall": 720,
|
||||
"GameTabs": UserConfigDataServersDialogGameTabs(
|
||||
InternetGames: GameListHaver(
|
||||
gamelist: GameList(
|
||||
r##ServerBrowser_Password_hidden: false,
|
||||
|
|
@ -147,6 +147,6 @@ UserConfigData(
|
|||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
},
|
||||
),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue