IVehicleSeat

Vehicle Seat interface

C++
struct IVehicleSeat {
  enum EVehicleTransition {
    eVT_None = 0,
    eVT_Entering,
    eVT_Exiting,
    eVT_ExitingWarped,
    eVT_Dying,
    eVT_SeatIsBorrowed,
    eVT_RemoteUsage
  };
};
File

IVehicleSystem.h

IVehicleSeat::EVehicleTransition Enumeration
C++
enum EVehicleTransition {
  eVT_None = 0,
  eVT_Entering,
  eVT_Exiting,
  eVT_ExitingWarped,
  eVT_Dying,
  eVT_SeatIsBorrowed,
  eVT_RemoteUsage
};
File

IVehicleSystem.h

IVehicleSeat::~IVehicleSeat Destructor
C++
virtual ~IVehicleSeat();
IVehicleSeat::ChangedNetworkState Method
C++
virtual void ChangedNetworkState(NetworkAspectType aspects);
IVehicleSeat::Enter Method
C++
virtual bool Enter(EntityId actorId, bool isTransitionEnabled = true) = 0;
IVehicleSeat::Exit Method
C++
virtual bool Exit(bool isTransitionEnabled, bool force = false, Vec3 exitPos = ZERO) = 0;
IVehicleSeat::ForceFinishExiting Method
C++
virtual void ForceFinishExiting() = 0;
IVehicleSeat::GetActionMap Method
C++
virtual const char* GetActionMap() const = 0;
Description

Returns the name of the action map specified for this vehicle seat in the xml file (can be null if no specific seat actionmap)

IVehicleSeat::GetAimPart Method
C++
virtual IVehiclePart* GetAimPart() const = 0;
IVehicleSeat::GetAIVisionHelper Method
C++
virtual IVehicleHelper* GetAIVisionHelper() const = 0;
IVehicleSeat::GetCurrentTransition Method
C++
virtual int GetCurrentTransition() const = 0;
IVehicleSeat::GetCurrentView Method
C++
virtual TVehicleViewId GetCurrentView() const = 0;
IVehicleSeat::GetISeatActionWeapons Method ()
C++
virtual IVehicleSeatAction* GetISeatActionWeapons() = 0;
IVehicleSeat::GetISeatActionWeapons Method ()
C++
virtual const IVehicleSeatAction* GetISeatActionWeapons() const = 0;
IVehicleSeat::GetLockedStatus Method
C++
virtual EVehicleSeatLockStatus GetLockedStatus() const = 0;
IVehicleSeat::GetNextView Method
C++
virtual TVehicleViewId GetNextView(TVehicleViewId viewId) const = 0;
IVehicleSeat::GetPassenger Method
C++
virtual EntityId GetPassenger(bool remoteUser = false) const = 0;
IVehicleSeat::GetSeatId Method

Returns the id of the seat

C++
virtual TVehicleSeatId GetSeatId() const = 0;
Returns

A seat id

IVehicleSeat::GetSeatName Method

Returns the seat name

C++
virtual const char* GetSeatName() const = 0;
Returns

a string with the name

IVehicleSeat::GetSitHelper Method
C++
virtual IVehicleHelper* GetSitHelper() const = 0;
IVehicleSeat::GetSoundParams Method
C++
virtual const SSeatSoundParams& GetSoundParams() const = 0;
IVehicleSeat::GetVehicle Method
C++
virtual IVehicle* GetVehicle() const = 0;
IVehicleSeat::GetView Method
C++
virtual IVehicleView* GetView(TVehicleViewId viewId) const = 0;
IVehicleSeat::Init Method
C++
virtual bool Init(IVehicle* pVehicle, TVehicleSeatId seatId, const CVehicleParams& paramsTable) = 0;
IVehicleSeat::IsAutoAimEnabled Method
C++
virtual bool IsAutoAimEnabled();
IVehicleSeat::IsDriver Method
C++
virtual bool IsDriver() const = 0;
IVehicleSeat::IsGunner Method
C++
virtual bool IsGunner() const = 0;
IVehicleSeat::IsLocked Method
C++
virtual bool IsLocked(IActor* pActor) const = 0;
IVehicleSeat::IsPassengerExposed Method
C++
virtual bool IsPassengerExposed() const = 0;
IVehicleSeat::IsPassengerHidden Method
C++
virtual bool IsPassengerHidden() const = 0;
IVehicleSeat::IsRemoteControlled Method
C++
virtual bool IsRemoteControlled() const = 0;
IVehicleSeat::OffsetPosition Method
C++
virtual void OffsetPosition(const Vec3 & delta) = 0;
IVehicleSeat::OnCameraShake Method
C++
virtual void OnCameraShake(float& angleAmount, float& shiftAmount, const Vec3& pos, const char* source) const = 0;
IVehicleSeat::OnPassengerDeath Method
C++
virtual void OnPassengerDeath() = 0;
IVehicleSeat::PostInit Method
C++
virtual void PostInit(IVehicle* pVehicle) = 0;
IVehicleSeat::PrePhysUpdate Method
C++
virtual void PrePhysUpdate(const float dt) = 0;
IVehicleSeat::ProcessPassengerMovementRequest Method
C++
virtual bool ProcessPassengerMovementRequest(const CMovementRequest& movementRequest) = 0;
IVehicleSeat::Release Method
C++
virtual void Release() = 0;
IVehicleSeat::Reset Method
C++
virtual void Reset() = 0;
IVehicleSeat::SetLocked Method
C++
virtual void SetLocked(EVehicleSeatLockStatus status) = 0;
IVehicleSeat::SetView Method
C++
virtual bool SetView(TVehicleViewId viewId) = 0;
IVehicleSeat::UnlinkPassenger Method
C++
virtual void UnlinkPassenger(bool ragdoll) = 0;