Browse Source

add debug to characterentity

pull/80/head
jake 3 years ago
parent
commit
d4fc915164
  1. 12
      src/entity/character.rs

12
src/entity/character.rs

@ -191,7 +191,7 @@ impl CharacterTechniques {
} }
#[derive(Clone)]
#[derive(Debug, Clone)]
pub struct CharacterConfig { pub struct CharacterConfig {
pub raw_data: [u8; 0xE8], pub raw_data: [u8; 0xE8],
} }
@ -214,7 +214,7 @@ impl CharacterConfig {
} }
} }
#[derive(Clone)]
#[derive(Debug, Clone)]
pub struct CharacterInfoboard { pub struct CharacterInfoboard {
pub board: [u16; 172], pub board: [u16; 172],
} }
@ -237,12 +237,12 @@ impl CharacterInfoboard {
} }
} }
#[derive(Clone, Default)]
#[derive(Debug, Clone, Default)]
pub struct CharacterGuildCard { pub struct CharacterGuildCard {
pub description: String, pub description: String,
} }
#[derive(Clone)]
#[derive(Debug, Clone)]
pub struct CharacterTechMenu { pub struct CharacterTechMenu {
pub tech_menu: [u8; 40], pub tech_menu: [u8; 40],
} }
@ -261,7 +261,7 @@ impl CharacterTechMenu {
} }
} }
#[derive(Clone, Default)]
#[derive(Clone, Default, Debug)]
pub struct CharacterMaterials { pub struct CharacterMaterials {
pub power: u32, pub power: u32,
pub mind: u32, pub mind: u32,
@ -322,7 +322,7 @@ impl NewCharacterEntity {
} }
} }
#[derive(Clone, Default)]
#[derive(Clone, Default, Debug)]
pub struct CharacterEntity { pub struct CharacterEntity {
pub id: CharacterEntityId, pub id: CharacterEntityId,
pub user_id: UserAccountId, pub user_id: UserAccountId,

Loading…
Cancel
Save