Function veloren_server::persistence::character::load_character_data

source ยท
pub fn load_character_data(
    requesting_player_uuid: String,
    char_id: CharacterId,
    connection: &Connection,
) -> Result<(PersistedComponents, UpdateCharacterMetadata), PersistenceError>
Expand description

Load stored data for a character.

After first logging in, and after a character is selected, we fetch this data for the purpose of inserting their persisted data for the entity.