Skip to main content

by_id

Function by_id 

Source
pub async fn by_id(
    db: &Db,
    values: &[PlayerOrDefenseId],
) -> Result<Avatars, AppError>
Expand description

Load the local media for every given id. Players fetch headshots, defenses fetch logos; an id with no cached media is absent from the map.