Class VehicleModel
Represents a vehicle model
Inheritance
Inherited Members
Namespace: Slipe.Client.Vehicles
Assembly: SlipeClient.dll
Syntax
public class VehicleModel : SharedVehicleModel
Constructors
| Improve this Doc View SourceVehicleModel(Int32)
Declaration
protected VehicleModel(int id)
Parameters
Type | Name | Description |
---|---|---|
Int32 | id |
Properties
| Improve this Doc View SourceAirTrail
Get the air trail as a dummy
Declaration
public VehicleModelDummy AirTrail { get; }
Property Value
Type | Description |
---|---|
VehicleModelDummy |
Engine
Get the engine as a dummy
Declaration
public VehicleModelDummy Engine { get; }
Property Value
Type | Description |
---|---|
VehicleModelDummy |
Exhaust
Get the exhaust as a dummy
Declaration
public VehicleModelDummy Exhaust { get; }
Property Value
Type | Description |
---|---|
VehicleModelDummy |
FrontSeat
Get the front seat as a dummy
Declaration
public VehicleModelDummy FrontSeat { get; }
Property Value
Type | Description |
---|---|
VehicleModelDummy |
GasCap
Get the gas cap as a dummy
Declaration
public VehicleModelDummy GasCap { get; }
Property Value
Type | Description |
---|---|
VehicleModelDummy |
HandRest
Get the hand rest as a dummy
Declaration
public VehicleModelDummy HandRest { get; }
Property Value
Type | Description |
---|---|
VehicleModelDummy |
PrimaryFrontLights
Get the Primary front lights as a dummy
Declaration
public VehicleModelDummy PrimaryFrontLights { get; }
Property Value
Type | Description |
---|---|
VehicleModelDummy |
PrimaryRearLights
Get the Primary rear lights as a dummy
Declaration
public VehicleModelDummy PrimaryRearLights { get; }
Property Value
Type | Description |
---|---|
VehicleModelDummy |
RearSeat
Get the rear seat as a dummy
Declaration
public VehicleModelDummy RearSeat { get; }
Property Value
Type | Description |
---|---|
VehicleModelDummy |
SecondaryExhaust
Get the secondary exhaust as a dummy
Declaration
public VehicleModelDummy SecondaryExhaust { get; }
Property Value
Type | Description |
---|---|
VehicleModelDummy |
SecondaryFrontLights
Get the Secondary front lights as a dummy
Declaration
public VehicleModelDummy SecondaryFrontLights { get; }
Property Value
Type | Description |
---|---|
VehicleModelDummy |
SecondaryRearLights
Get the Secondary rear lights as a dummy
Declaration
public VehicleModelDummy SecondaryRearLights { get; }
Property Value
Type | Description |
---|---|
VehicleModelDummy |
TrailerHook
Get the trailer hook as a dummy
Declaration
public VehicleModelDummy TrailerHook { get; }
Property Value
Type | Description |
---|---|
VehicleModelDummy |
VehicleGun
Get the vehicle gun as a dummy
Declaration
public VehicleModelDummy VehicleGun { get; }
Property Value
Type | Description |
---|---|
VehicleModelDummy |
Methods
| Improve this Doc View SourceFromId(Int32)
Get a vehicle model from its ID, instantiated as the right model class
Declaration
public static VehicleModel FromId(int id)
Parameters
Type | Name | Description |
---|---|---|
Int32 | id | The Mta ID of the vehicle |
Returns
Type | Description |
---|---|
VehicleModel | The Vehicle model, instantiated as the right model class |
FromName(String)
Get a vehicle model from the model name as a string, instantiated as the right model class
Declaration
public static VehicleModel FromName(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | The Mta name of the vehicle |
Returns
Type | Description |
---|---|
VehicleModel | The Vehicle model, instantiated as the right model class |