Class UnturnedVehicleOwnership
Inheritance
System.Object
UnturnedVehicleOwnership
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedVehicleOwnership : object, IOwnership
Constructors
|
Improve this Doc
View Source
UnturnedVehicleOwnership(InteractableVehicle)
Declaration
public UnturnedVehicleOwnership(InteractableVehicle vehicle)
Parameters
Type |
Name |
Description |
InteractableVehicle |
vehicle |
|
Properties
|
Improve this Doc
View Source
HasOwner
Declaration
public bool HasOwner { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
OwnerGroupId
Declaration
public string OwnerGroupId { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
OwnerPlayerId
Declaration
public string OwnerPlayerId { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
HasAccessAsync(IPlayer)
Declaration
public Task<bool> HasAccessAsync(IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
Task<System.Boolean> |
|
Implements
Extension Methods