Show / Hide Table of Contents

Class VehicleModel

Represents a vehicle model

Inheritance
Object
SharedVehicleModel
VehicleModel
BoatModel
HelicopterModel
PlaneModel
TaxiModel
TrailerModel
TrainModel
TurretedModel
Inherited Members
SharedVehicleModel.boatModels
SharedVehicleModel.planeModels
SharedVehicleModel.helicopterModels
SharedVehicleModel.trailerModels
SharedVehicleModel.trainModels
SharedVehicleModel.turretedModels
SharedVehicleModel.taxiModels
SharedVehicleModel.Id
SharedVehicleModel.Name
SharedVehicleModel.OriginalHandling
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Client.Vehicles
Assembly: SlipeClient.dll
Syntax
public class VehicleModel : SharedVehicleModel

Constructors

| Improve this Doc View Source

VehicleModel(Int32)

Declaration
protected VehicleModel(int id)
Parameters
Type Name Description
Int32 id

Properties

| Improve this Doc View Source

AirTrail

Get the air trail as a dummy

Declaration
public VehicleModelDummy AirTrail { get; }
Property Value
Type Description
VehicleModelDummy
| Improve this Doc View Source

Engine

Get the engine as a dummy

Declaration
public VehicleModelDummy Engine { get; }
Property Value
Type Description
VehicleModelDummy
| Improve this Doc View Source

Exhaust

Get the exhaust as a dummy

Declaration
public VehicleModelDummy Exhaust { get; }
Property Value
Type Description
VehicleModelDummy
| Improve this Doc View Source

FrontSeat

Get the front seat as a dummy

Declaration
public VehicleModelDummy FrontSeat { get; }
Property Value
Type Description
VehicleModelDummy
| Improve this Doc View Source

GasCap

Get the gas cap as a dummy

Declaration
public VehicleModelDummy GasCap { get; }
Property Value
Type Description
VehicleModelDummy
| Improve this Doc View Source

HandRest

Get the hand rest as a dummy

Declaration
public VehicleModelDummy HandRest { get; }
Property Value
Type Description
VehicleModelDummy
| Improve this Doc View Source

PrimaryFrontLights

Get the Primary front lights as a dummy

Declaration
public VehicleModelDummy PrimaryFrontLights { get; }
Property Value
Type Description
VehicleModelDummy
| Improve this Doc View Source

PrimaryRearLights

Get the Primary rear lights as a dummy

Declaration
public VehicleModelDummy PrimaryRearLights { get; }
Property Value
Type Description
VehicleModelDummy
| Improve this Doc View Source

RearSeat

Get the rear seat as a dummy

Declaration
public VehicleModelDummy RearSeat { get; }
Property Value
Type Description
VehicleModelDummy
| Improve this Doc View Source

SecondaryExhaust

Get the secondary exhaust as a dummy

Declaration
public VehicleModelDummy SecondaryExhaust { get; }
Property Value
Type Description
VehicleModelDummy
| Improve this Doc View Source

SecondaryFrontLights

Get the Secondary front lights as a dummy

Declaration
public VehicleModelDummy SecondaryFrontLights { get; }
Property Value
Type Description
VehicleModelDummy
| Improve this Doc View Source

SecondaryRearLights

Get the Secondary rear lights as a dummy

Declaration
public VehicleModelDummy SecondaryRearLights { get; }
Property Value
Type Description
VehicleModelDummy
| Improve this Doc View Source

TrailerHook

Get the trailer hook as a dummy

Declaration
public VehicleModelDummy TrailerHook { get; }
Property Value
Type Description
VehicleModelDummy
| Improve this Doc View Source

VehicleGun

Get the vehicle gun as a dummy

Declaration
public VehicleModelDummy VehicleGun { get; }
Property Value
Type Description
VehicleModelDummy

Methods

| Improve this Doc View Source

FromId(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

| Improve this Doc View Source

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

  • Improve this Doc
  • View Source
Back to top Generated by DocFX