Click or drag to resize

NativeVehicle Class

[Missing <summary> documentation for "T:SampSharp.Entities.SAMP.NativeVehicle"]

Inheritance Hierarchy

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public class NativeVehicle : BaseNativeComponent

The NativeVehicle type exposes the following members.

Constructors
  NameDescription
Public methodNativeVehicle
Initializes a new instance of the NativeVehicle class
Top
Properties
  NameDescription
Public propertyEntity
Gets the entity to which this component has been attached.
(Inherited from Component.)
Public propertyId (Inherited from BaseNativeComponent.)
Public propertyIsComponentAlive
Gets a value indicating whether this component is alive (has not been destroyed).
(Inherited from Component.)
Protected propertyManager
Gets the manager of the entity of this component.
(Inherited from Component.)
Public propertyParent
Gets the parent entity of the entity to which this component has been attached.
(Inherited from Component.)
Top
Methods
  NameDescription
Public methodAddComponentT
Adds a component of the specified type T to the entity.
(Inherited from Component.)
Public methodAddComponentT(Object)
Adds a component of the specified type T to the entity with the specified constructor args.
(Inherited from Component.)
Public methodAddVehicleComponent
Public methodAttachTrailerToVehicle
Public methodChangeVehicleColor
Public methodChangeVehiclePaintjob
Public methodDestroy
Destroys this component.
(Inherited from Component.)
Public methodDestroyComponentsT
Destroys the components of the specified type T attached to the entity.
(Inherited from Component.)
Public methodDestroyEntity
Destroys the entity.
(Inherited from Component.)
Public methodDestroyVehicle
Public methodDetachTrailerFromVehicle
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetComponentT
Gets a component of the specified type T attached to the entity.
(Inherited from Component.)
Public methodGetComponentInChildrenT
Gets a component of the specified type T attached to a child entity of the entity using a depth first search.
(Inherited from Component.)
Public methodGetComponentInParentT
Gets a component of the specified type T attached to a parent entity of the entity.
(Inherited from Component.)
Public methodGetComponentsT
Gets all components of the specified type T attached to the entity.
(Inherited from Component.)
Public methodGetComponentsInChildrenT
Gets all components of the specified type T attached to a child entity of the entity.
(Inherited from Component.)
Public methodGetComponentsInParentT
Gets all components of the specified type T attached to a parent entity of the entity.
(Inherited from Component.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVehicleComponentInSlot
Public methodGetVehicleDamageStatus
Public methodGetVehicleDistanceFromPoint
Public methodGetVehicleHealth
Public methodGetVehicleModel
Public methodGetVehicleParamsCarDoors
Public methodGetVehicleParamsCarWindows
Public methodGetVehicleParamsEx
Public methodGetVehicleParamsSirenState
Public methodGetVehiclePos
Public methodGetVehicleRotationQuat
Public methodGetVehicleTrailer
Public methodGetVehicleVelocity
Public methodGetVehicleVirtualWorld
Public methodGetVehicleZAngle
Public methodIsTrailerAttachedToVehicle
Public methodIsValidVehicle
Public methodIsVehicleStreamedIn
Public methodLinkVehicleToInterior
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnDestroyComponent
This method is invoked before this component is destroyed and removed from its entity.
(Inherited from Component.)
Protected methodOnInitializeComponent (Inherited from BaseNativeComponent.)
Public methodRemoveVehicleComponent
Public methodRepairVehicle
Public methodSetVehicleAngularVelocity
Public methodSetVehicleHealth
Public methodSetVehicleNumberPlate
Public methodSetVehicleParamsCarDoors
Public methodSetVehicleParamsCarWindows
Public methodSetVehicleParamsEx
Public methodSetVehicleParamsForPlayer
Public methodSetVehiclePos
Public methodSetVehicleToRespawn
Public methodSetVehicleVelocity
Public methodSetVehicleVirtualWorld
Public methodSetVehicleZAngle
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateVehicleDamageStatus
Top
Fields
  NameDescription
Public fieldStatic memberInvalidId
Identifier indicating the handle is invalid.
Top
See Also