Function veloren_server::persistence::character::load_items

source ยท
pub fn load_items(
    connection: &Connection,
    root: i64,
) -> Result<Vec<Item>, PersistenceError>
Expand description

Load the inventory/loadout

Loading is done recursively to ensure that each is topologically sorted in the sense required by convert_inventory_from_database_items.

For items with components, the parent item must sorted so that its components are after the parent item.