C# Class GTAVBETrainerDotNet.Feature.Vehicle

Vehicle features
Show file Open project: betenner/betrainer

Public Properties

Property Type Description
Boost bool
Invincible bool
SeatBelt bool
SpawnIntoVehicle bool

Public Methods

Method Description
Clean ( MenuItem sender ) : void

Cleans current vehicle

InitFeatures ( ) : void

Initializes vehicle features

Repair ( MenuItem sender ) : void

Repairs current vehicle

ReturnToVehicleMenu ( ) : void

Returns to the vehicle menu

SetBoost ( MenuItem sender ) : void

Sets speed boost

SetInvincible ( MenuItem sender ) : void

Sets invincible

SetSeatBelt ( MenuItem sender ) : void

Sets seat belt feature

SetSpawnIntoVehicle ( MenuItem sender ) : void

Sets spawn into vehicle

SpawnVehicle ( MenuItem sender ) : void

Spawns the specified vehicle

StopVehicle ( ) : void

Stops current vehicle

UpdateBoostVehicle ( ) : void

Update boosts vehicle

UpdateFeatures ( ) : void

Updates vehicle features

Private Methods

Method Description
CheckInVehicle ( bool showNotification = true ) : bool

Checks whether the player is in a vehicle.

SpawnVehicle ( VehicleData data, bool cleanUp ) : int

Spawns the specified vehicle

SpawnVehicle ( int hash, string name, bool cleanUp ) : int

Spawns the specified vehicle

Method Details

Clean() public static method

Cleans current vehicle
public static Clean ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
return void

InitFeatures() public static method

Initializes vehicle features
public static InitFeatures ( ) : void
return void

Repair() public static method

Repairs current vehicle
public static Repair ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
return void

ReturnToVehicleMenu() public static method

Returns to the vehicle menu
public static ReturnToVehicleMenu ( ) : void
return void

SetBoost() public static method

Sets speed boost
public static SetBoost ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
return void

SetInvincible() public static method

Sets invincible
public static SetInvincible ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
return void

SetSeatBelt() public static method

Sets seat belt feature
public static SetSeatBelt ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
return void

SetSpawnIntoVehicle() public static method

Sets spawn into vehicle
public static SetSpawnIntoVehicle ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
return void

SpawnVehicle() public static method

Spawns the specified vehicle
public static SpawnVehicle ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
return void

StopVehicle() public static method

Stops current vehicle
public static StopVehicle ( ) : void
return void

UpdateBoostVehicle() public static method

Update boosts vehicle
public static UpdateBoostVehicle ( ) : void
return void

UpdateFeatures() public static method

Updates vehicle features
public static UpdateFeatures ( ) : void
return void

Property Details

Boost public static property

public static bool Boost
return bool

Invincible public static property

public static bool Invincible
return bool

SeatBelt public static property

public static bool SeatBelt
return bool

SpawnIntoVehicle public static property

public static bool SpawnIntoVehicle
return bool