|
|
@ -90,7 +90,6 @@ impl ItemManager { |
|
|
|
ClientItemId(self.id_counter)
|
|
|
|
}
|
|
|
|
|
|
|
|
// TODO: Result
|
|
|
|
pub async fn load_character<EG: EntityGateway>(&mut self, entity_gateway: &mut EG, character: &CharacterEntity) -> Result<(), anyhow::Error> {
|
|
|
|
let inventory = entity_gateway.get_character_inventory(&character.id).await?;
|
|
|
|
let bank = entity_gateway.get_character_bank(&character.id, BankName("".into())).await?;
|
|
|
|