|
@ -79,6 +79,12 @@ impl Character { |
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl std::default::Default for Character {
|
|
|
|
|
|
fn default() -> Character {
|
|
|
|
|
|
Character::from_bytes(&mut std::io::Cursor::new([0; 0x2000].to_vec())).unwrap()
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
#[derive(Copy, Clone, Debug, PartialEq)]
|
|
|
#[derive(Copy, Clone, Debug, PartialEq)]
|
|
|
#[repr(C)]
|
|
|
#[repr(C)]
|
|
|
pub struct SelectScreenCharacter {
|
|
|
pub struct SelectScreenCharacter {
|
|
@ -257,6 +263,12 @@ pub struct FullCharacter { |
|
|
pub key_team_config: KeyTeamConfig,
|
|
|
pub key_team_config: KeyTeamConfig,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl std::default::Default for FullCharacter {
|
|
|
|
|
|
fn default() -> FullCharacter {
|
|
|
|
|
|
FullCharacter::from_bytes(&mut std::io::Cursor::new([0; 0x3998].to_vec())).unwrap()
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
#[derive(PSOPacketData, Copy, Clone)]
|
|
|
#[derive(PSOPacketData, Copy, Clone)]
|
|
|
pub struct DBChar {
|
|
|
pub struct DBChar {
|
|
|
pub inventory: Inventory,
|
|
|
pub inventory: Inventory,
|
|
|