Browse Source

send the exp to the client maybe

pbs
jake 5 years ago
parent
commit
fa5103bb78
  1. 2
      src/ship/character.rs

2
src/ship/character.rs

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

Loading…
Cancel
Save