Class VehicleLockChanged
Event listener args which handles SDG.Unturned.VehicleManager.OnToggledVehicleLock.
[EventModel(EventSynchronizationContext.Pure)]
public class VehicleLockChanged
- Inheritance
-
VehicleLockChanged
- Inherited Members
Properties
GroupId
Group ID of the new owner of the vehicle.
public CSteamID GroupId { get; }
Property Value
- CSteamID
IsLocked
The new lock state of the vehicle.
public bool IsLocked { get; }
Property Value
OwnerId
Steam ID of the new owner of the vehicle.
public CSteamID OwnerId { get; }
Property Value
- CSteamID
Player
Player that locked the vehicle, if any.
public WarfarePlayer? Player { get; init; }
Property Value
Vehicle
The vehicle on which the lock state is being changed.
public required WarfareVehicle Vehicle { get; init; }