Table of Contents

Class VehicleLockChanged

Namespace
Uncreated.Warfare.Events.Models.Vehicles
Assembly
Uncreated.Warfare.dll

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

bool

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

WarfarePlayer

Vehicle

The vehicle on which the lock state is being changed.

public required WarfareVehicle Vehicle { get; init; }

Property Value

WarfareVehicle