decode_setups

Function decode_setups 

Source
pub fn decode_setups(
    cursor: &mut Cursor<&mut BytesMut>,
) -> Result<CarSetupPacket, Error>
Expand description

Decode a car setup packet sent by F1 2019

F1 2018 and F1 2019 publish the same data in their car setup packets, but with different packet headers. In multiplayer sessions, the setups of other players are redacted and appear empty.