SHVDN  v3
An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language in-game. Developed by crosire https://github.com/crosire/scripthookvdotnet/
GTA.VehicleModCollection Class Reference

Public Member Functions

bool Contains (VehicleModType type)
 
VehicleMod[] ToArray ()
 
string GetLocalizedWheelTypeName (VehicleWheelType wheelType)
 
void InstallModKit ()
 
bool RequestAdditionTextFile (int timeout=1000)
 
bool HasNeonLight (VehicleNeonLight neonLight)
 
bool IsNeonLightsOn (VehicleNeonLight light)
 
void SetNeonLightsOn (VehicleNeonLight light, bool on)
 
void ClearCustomPrimaryColor ()
 
void ClearCustomSecondaryColor ()
 

Public Attributes

string LocalizedWheelTypeName => GetLocalizedWheelTypeName(WheelType)
 
int ColorCombinationCount => Function.Call<int>(Hash.GET_NUMBER_OF_VEHICLE_COLOURS, _owner.Handle)
 
bool HasNeonLights => Enum.GetValues(typeof(VehicleNeonLight)).Cast<VehicleNeonLight>().Any(HasNeonLight)
 
bool IsPrimaryColorCustom => Function.Call<bool>(Hash.GET_IS_VEHICLE_PRIMARY_COLOUR_CUSTOM, _owner.Handle)
 
bool IsSecondaryColorCustom => Function.Call<bool>(Hash.GET_IS_VEHICLE_SECONDARY_COLOUR_CUSTOM, _owner.Handle)
 
LicensePlateType LicensePlateType => Function.Call<LicensePlateType>(Hash.GET_VEHICLE_PLATE_TYPE, _owner.Handle)
 

Properties

VehicleMod this[VehicleModType modType] [get]
 
VehicleToggleMod this[VehicleToggleModType modType] [get]
 
VehicleWheelType WheelType [get, set]
 
VehicleWheelType[] AllowedWheelTypes [get]
 
int Livery [get, set]
 
int LiveryCount [get]
 
string LocalizedLiveryName [get]
 
VehicleWindowTint WindowTint [get, set]
 
VehicleColor PrimaryColor [get, set]
 
VehicleColor SecondaryColor [get, set]
 
VehicleColor RimColor [get, set]
 
VehicleColor PearlescentColor [get, set]
 
VehicleColor TrimColor [get, set]
 
VehicleColor DashboardColor [get, set]
 
int ColorCombination [get, set]
 
Color TireSmokeColor [get, set]
 
Color NeonLightsColor [get, set]
 
Color CustomPrimaryColor [get, set]
 
Color CustomSecondaryColor [get, set]
 
string LicensePlate [get, set]
 
LicensePlateStyle LicensePlateStyle [get, set]
 

Member Function Documentation

◆ ClearCustomPrimaryColor()

void GTA.VehicleModCollection.ClearCustomPrimaryColor ( )

◆ ClearCustomSecondaryColor()

void GTA.VehicleModCollection.ClearCustomSecondaryColor ( )

◆ Contains()

bool GTA.VehicleModCollection.Contains ( VehicleModType  type)

◆ GetLocalizedWheelTypeName()

string GTA.VehicleModCollection.GetLocalizedWheelTypeName ( VehicleWheelType  wheelType)

◆ HasNeonLight()

bool GTA.VehicleModCollection.HasNeonLight ( VehicleNeonLight  neonLight)

◆ InstallModKit()

void GTA.VehicleModCollection.InstallModKit ( )

◆ IsNeonLightsOn()

bool GTA.VehicleModCollection.IsNeonLightsOn ( VehicleNeonLight  light)

◆ RequestAdditionTextFile()

bool GTA.VehicleModCollection.RequestAdditionTextFile ( int  timeout = 1000)

◆ SetNeonLightsOn()

void GTA.VehicleModCollection.SetNeonLightsOn ( VehicleNeonLight  light,
bool  on 
)

◆ ToArray()

VehicleMod [] GTA.VehicleModCollection.ToArray ( )

Member Data Documentation

◆ ColorCombinationCount

int GTA.VehicleModCollection.ColorCombinationCount => Function.Call<int>(Hash.GET_NUMBER_OF_VEHICLE_COLOURS, _owner.Handle)

◆ HasNeonLights

bool GTA.VehicleModCollection.HasNeonLights => Enum.GetValues(typeof(VehicleNeonLight)).Cast<VehicleNeonLight>().Any(HasNeonLight)

◆ IsPrimaryColorCustom

bool GTA.VehicleModCollection.IsPrimaryColorCustom => Function.Call<bool>(Hash.GET_IS_VEHICLE_PRIMARY_COLOUR_CUSTOM, _owner.Handle)

◆ IsSecondaryColorCustom

bool GTA.VehicleModCollection.IsSecondaryColorCustom => Function.Call<bool>(Hash.GET_IS_VEHICLE_SECONDARY_COLOUR_CUSTOM, _owner.Handle)

◆ LicensePlateType

LicensePlateType GTA.VehicleModCollection.LicensePlateType => Function.Call<LicensePlateType>(Hash.GET_VEHICLE_PLATE_TYPE, _owner.Handle)

◆ LocalizedWheelTypeName

string GTA.VehicleModCollection.LocalizedWheelTypeName => GetLocalizedWheelTypeName(WheelType)

Property Documentation

◆ AllowedWheelTypes

VehicleWheelType [] GTA.VehicleModCollection.AllowedWheelTypes
get

◆ ColorCombination

int GTA.VehicleModCollection.ColorCombination
getset

◆ CustomPrimaryColor

Color GTA.VehicleModCollection.CustomPrimaryColor
getset

◆ CustomSecondaryColor

Color GTA.VehicleModCollection.CustomSecondaryColor
getset

◆ DashboardColor

VehicleColor GTA.VehicleModCollection.DashboardColor
getset

◆ LicensePlate

string GTA.VehicleModCollection.LicensePlate
getset

◆ LicensePlateStyle

LicensePlateStyle GTA.VehicleModCollection.LicensePlateStyle
getset

◆ Livery

int GTA.VehicleModCollection.Livery
getset

◆ LiveryCount

int GTA.VehicleModCollection.LiveryCount
get

◆ LocalizedLiveryName

string GTA.VehicleModCollection.LocalizedLiveryName
get

◆ NeonLightsColor

Color GTA.VehicleModCollection.NeonLightsColor
getset

◆ PearlescentColor

VehicleColor GTA.VehicleModCollection.PearlescentColor
getset

◆ PrimaryColor

VehicleColor GTA.VehicleModCollection.PrimaryColor
getset

◆ RimColor

VehicleColor GTA.VehicleModCollection.RimColor
getset

◆ SecondaryColor

VehicleColor GTA.VehicleModCollection.SecondaryColor
getset

◆ this[VehicleModType modType]

VehicleMod GTA.VehicleModCollection.this[VehicleModType modType]
get

◆ this[VehicleToggleModType modType]

VehicleToggleMod GTA.VehicleModCollection.this[VehicleToggleModType modType]
get

◆ TireSmokeColor

Color GTA.VehicleModCollection.TireSmokeColor
getset

◆ TrimColor

VehicleColor GTA.VehicleModCollection.TrimColor
getset

◆ WheelType

VehicleWheelType GTA.VehicleModCollection.WheelType
getset

◆ WindowTint

VehicleWindowTint GTA.VehicleModCollection.WindowTint
getset

The documentation for this class was generated from the following file: