Function veloren_server::persistence::character::update_pets
source · fn update_pets(
char_id: CharacterId,
pets: Vec<PetPersistenceData>,
transaction: &mut Transaction<'_>,
) -> Result<(), PersistenceError>
Expand description
Stores new pets in the database, and removes pets from the database that the player no longer has. Currently there are no actual updates to pet data since we don’t store any updatable data about pets in the database.