Skip to main content

transform_spec

Function transform_spec 

Source
pub fn transform_spec(
    dbc: &DbcData,
    spec_id: i32,
) -> Result<SpecDataFlat, TransformError>
Expand description

Convert a single ChrSpecialization row into a flat SpecDataFlat (with class name and icon resolved).

ยงErrors

Returns TransformError when spec_id is absent from the DBC data.