|
|
@ -3,7 +3,6 @@ use crate::common::leveltable::CharacterStats; |
|
|
|
use crate::entity::character::CharacterEntity;
|
|
|
|
use crate::ship::items::CharacterInventory;
|
|
|
|
|
|
|
|
// TODO: exp
|
|
|
|
pub struct CharacterBytesBuilder<'a> {
|
|
|
|
character: Option<&'a CharacterEntity>,
|
|
|
|
stats: Option<&'a CharacterStats>,
|
|
|
@ -70,6 +69,7 @@ impl<'a> CharacterBytesBuilder<'a> { |
|
|
|
config: character.config.as_bytes(),
|
|
|
|
techniques: character.techs.as_bytes(),
|
|
|
|
meseta: character.meseta,
|
|
|
|
exp: character.exp,
|
|
|
|
..character::Character::default()
|
|
|
|
}
|
|
|
|
}
|
|
|
|