Interface CanEditLicensePlate

All Superinterfaces:
HasVehicle
All Known Implementing Classes:
VehicleAddMemberEvent, VehicleAddRiderEvent, VehicleDamageEvent, VehicleFuelEvent, VehicleOpenTrunkEvent, VehiclePickUpEvent, VehiclePlaceEvent, VehicleRemoveMemberEvent, VehicleRemoveRiderEvent

public interface CanEditLicensePlate extends HasVehicle
Interface for all events with vehicles where you may edit license plate within API
See Also:
HasVehicle
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setLicensePlate​(String licensePlate)
    Set the license plate of the vehicle used in the event

    Methods inherited from interface nl.mtvehicles.core.events.interfaces.HasVehicle

    getLicensePlate, getVehicle
  • Method Details

    • setLicensePlate

      void setLicensePlate(String licensePlate)
      Set the license plate of the vehicle used in the event
      Parameters:
      licensePlate - New license plate
      Beware!
      This method should be used cautiously, it may cause severe damage if not used correctly.