protected override void OnCarInfo(MsgCarInfo msg) { PluginManager.Log(DateTime.Now.TimeOfDay.ToString() + "- CarInfo: " + msg.CarId + ", " + msg.DriverName + "@" + msg.CarModel + ", Connected=" + msg.IsConnected); // To prevent a bug in communication we will only send when the Car IsConnected - discos only via the corresponding event please. if (msg.IsConnected) { HandleClientActions(LiveDataServer.RandomCarInfo(CurrentSessionGuid, msg.CarId, msg.CarModel, msg.DriverName, msg.DriverGuid, msg.IsConnected, GetCurrentRaceTimeMS(msg))); } }
protected internal virtual void OnCarInfo(MsgCarInfo msg) { }