apihlaja / node-irsdk

iRacing SDK implementation for Node.js.
https://apihlaja.github.io/node-irsdk
MIT License
102 stars 55 forks source link

[Question] is there a way to get incidents data ? #92

Closed jean-philippe-bousselin closed 1 year ago

jean-philippe-bousselin commented 4 years ago

Hi,

First of all let me thank you for your awesome work, it's brilliant!

I have a question regarding incidents, is there a way to gather the number of incidents for each car?

Regards,

Jean-Philippe.

gmourier commented 3 years ago

Hi Jean-philippe,

You can find theses informations inside SessionInfo. At first sight, i'm seeing CurDriverIncidentCount and TeamIncidentCount. Check it out on this session info sample file