mirror of
https://git.neonteam.dev/amizing/robinsr.git
synced 2025-03-12 03:28:30 -04:00
chore: remove unused fields
This commit is contained in:
parent
6d2489de47
commit
7d233dc614
@ -5,8 +5,8 @@ use std::collections::{BTreeMap, HashMap};
|
|||||||
// AVATAR
|
// AVATAR
|
||||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||||
pub struct AvatarJson {
|
pub struct AvatarJson {
|
||||||
#[serde(alias = "ownerUid")]
|
// #[serde(alias = "ownerUid")]
|
||||||
pub owner_uid: u32,
|
// pub owner_uid: u32,
|
||||||
#[serde(alias = "avatarId")]
|
#[serde(alias = "avatarId")]
|
||||||
pub avatar_id: u32,
|
pub avatar_id: u32,
|
||||||
pub data: AvatarData,
|
pub data: AvatarData,
|
||||||
@ -232,8 +232,8 @@ pub struct Relic {
|
|||||||
pub level: u32,
|
pub level: u32,
|
||||||
#[serde(alias = "relicId")]
|
#[serde(alias = "relicId")]
|
||||||
pub relic_id: u32,
|
pub relic_id: u32,
|
||||||
#[serde(alias = "relicSetId")]
|
// #[serde(alias = "relicSetId")]
|
||||||
pub relic_set_id: u32,
|
// pub relic_set_id: u32,
|
||||||
#[serde(alias = "mainAffixId")]
|
#[serde(alias = "mainAffixId")]
|
||||||
pub main_affix_id: u32,
|
pub main_affix_id: u32,
|
||||||
#[serde(alias = "subAffixes")]
|
#[serde(alias = "subAffixes")]
|
||||||
@ -473,15 +473,15 @@ pub struct Scene {
|
|||||||
impl Default for Scene {
|
impl Default for Scene {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self {
|
Self {
|
||||||
entry_id: 2032101,
|
plane_id: 20411,
|
||||||
plane_id: 20321,
|
floor_id: 20411001,
|
||||||
floor_id: 20321001,
|
entry_id: 2041101,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Position
|
// Position
|
||||||
#[derive(Debug, Serialize, Deserialize, Clone, Default)]
|
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||||
pub struct Position {
|
pub struct Position {
|
||||||
pub x: i32,
|
pub x: i32,
|
||||||
pub y: i32,
|
pub y: i32,
|
||||||
@ -489,6 +489,17 @@ pub struct Position {
|
|||||||
pub rot_y: i32,
|
pub rot_y: i32,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for Position {
|
||||||
|
fn default() -> Self {
|
||||||
|
Position {
|
||||||
|
x: -26968,
|
||||||
|
y: 78953,
|
||||||
|
z: 14457,
|
||||||
|
rot_y: 11858,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl Position {
|
impl Position {
|
||||||
#[allow(unused)]
|
#[allow(unused)]
|
||||||
pub fn is_empty(&self) -> bool {
|
pub fn is_empty(&self) -> bool {
|
||||||
@ -547,14 +558,8 @@ pub struct Persistent {
|
|||||||
|
|
||||||
impl Default for Persistent {
|
impl Default for Persistent {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
let mut lineups = BTreeMap::<u32, u32>::new();
|
|
||||||
lineups.insert(0, 8001);
|
|
||||||
lineups.insert(1, 0);
|
|
||||||
lineups.insert(2, 0);
|
|
||||||
lineups.insert(3, 0);
|
|
||||||
|
|
||||||
Self {
|
Self {
|
||||||
lineups,
|
lineups: BTreeMap::from([(0, 1313), (1, 1006), (2, 8001), (3, 1405)]),
|
||||||
position: Default::default(),
|
position: Default::default(),
|
||||||
main_character: MultiPathAvatar::FemaleRememberance,
|
main_character: MultiPathAvatar::FemaleRememberance,
|
||||||
scene: Default::default(),
|
scene: Default::default(),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user