add: layouts types
This commit is contained in:
parent
0634819278
commit
c83d0a9fc0
5 changed files with 399 additions and 0 deletions
|
@ -112,6 +112,7 @@ impl DataManager {
|
|||
invite_code: get!(x->21(i64)) as usize,
|
||||
secondary_permissions: SecondaryPermission::from_bits(get!(x->22(i32)) as u32).unwrap(),
|
||||
achievements: serde_json::from_str(&get!(x->23(String)).to_string()).unwrap(),
|
||||
layouts: serde_json::from_str(&get!(x->24(String)).to_string()).unwrap(),
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -293,6 +294,7 @@ impl DataManager {
|
|||
&(data.invite_code as i64),
|
||||
&(SecondaryPermission::DEFAULT.bits() as i32),
|
||||
&serde_json::to_string(&data.achievements).unwrap(),
|
||||
&serde_json::to_string(&data.layouts).unwrap(),
|
||||
]
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue