f1-telemetry-client icon indicating copy to clipboard operation
f1-telemetry-client copied to clipboard

m_lastLapTime vs m_lastLapTimeInMS typing mismatch

Open iamisti opened this issue 3 years ago • 2 comments

Hi guys! Please adjust the typescript definitions for the 2021 game. m_lastLapTimeInMS and m_currentLapTimeInMS, and potentionally others needs also an alignment. At the moment m_lastLapTime is in the typings which is wrong.

@jonybur

iamisti avatar Oct 13 '21 04:10 iamisti

actually the best way would be to list both, since 2021 and 2020 telemtry differs. So that we developers can choose.

iamisti avatar Oct 13 '21 05:10 iamisti

Would love to accept a PR on this, there's a greater topic of splitting more of the parsing logic in to separate files for each game year as well.

msansoni avatar Nov 30 '22 21:11 msansoni