Beispiel #1
0
 /// <summary>
 ///     Raises the <see cref="VehicleResprayed" /> event.
 /// </summary>
 /// <param name="vehicle">The vehicle triggering the event.</param>
 /// <param name="e">An <see cref="VehicleResprayedEventArgs" /> that contains the event data. </param>
 protected virtual void OnVehicleResprayed(GtaVehicle vehicle, VehicleResprayedEventArgs e)
 {
     if (VehicleResprayed != null)
         VehicleResprayed(vehicle, e);
 }
Beispiel #2
0
 /// <summary>
 ///     Raises the <see cref="VehicleResprayed" /> event.
 /// </summary>
 /// <param name="vehicle">The vehicle triggering the event.</param>
 /// <param name="e">An <see cref="VehicleResprayedEventArgs" /> that contains the event data. </param>
 protected virtual void OnVehicleResprayed(BaseVehicle vehicle, VehicleResprayedEventArgs e)
 {
     VehicleResprayed?.Invoke(vehicle, e);
 }