send the exp to the client maybe
This commit is contained in:
		
							parent
							
								
									280b8ff6dd
								
							
						
					
					
						commit
						fa5103bb78
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user