Ejemplo n.º 1
0
 /// <summary>
 ///     Raises the <see cref="VehiclePaintjobApplied" /> event.
 /// </summary>
 /// <param name="vehicle">The vehicle triggering the event.</param>
 /// <param name="e">An <see cref="VehiclePaintjobEventArgs" /> that contains the event data. </param>
 protected virtual void OnVehiclePaintjobApplied(GtaVehicle vehicle, VehiclePaintjobEventArgs e)
 {
     if (VehiclePaintjobApplied != null)
         VehiclePaintjobApplied(vehicle, e);
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Raises the <see cref="VehiclePaintjobApplied" /> event.
 /// </summary>
 /// <param name="vehicle">The vehicle triggering the event.</param>
 /// <param name="e">An <see cref="VehiclePaintjobEventArgs" /> that contains the event data. </param>
 protected virtual void OnVehiclePaintjobApplied(BaseVehicle vehicle, VehiclePaintjobEventArgs e)
 {
     VehiclePaintjobApplied?.Invoke(vehicle, e);
 }