DayZ 1.24
Loading...
Searching...
No Matches
HumanCommandVehicle Class Reference

Private Member Functions

void HumanCommandVehicle ()
 
void ~HumanCommandVehicle ()
 
proto native Transport GetTransport ()
 
proto native int GetVehicleClass ()
 
proto native int GetVehicleSeat ()
 
proto native void SetVehicleType (int pVehicleType)
 
proto native int GetVehicleType ()
 
proto native void GetOutVehicle ()
 
proto native void KnockedOutVehicle ()
 
proto native bool ShouldBeKnockedOut ()
 
proto native void JumpOutVehicle ()
 
proto native void SwitchSeat (int pTransportPositionIndex, int pVehicleSeat)
 
proto native bool IsGettingIn ()
 
proto native bool IsGettingOut ()
 
proto native bool IsSwitchSeat ()
 
proto native bool WasGearChange ()
 
proto native void SetClutchState (bool pState)
 
proto native void KeepInVehicleSpaceAfterLeave (bool pState)
 
bool IsObjectIgnoredOnGettingOut (IEntity entity)
 

Detailed Description

Definition at line 684 of file human.c.

Constructor & Destructor Documentation

◆ HumanCommandVehicle()

void HumanCommandVehicle::HumanCommandVehicle ( )
inlineprivate

Definition at line 686 of file human.c.

686{}

◆ ~HumanCommandVehicle()

void HumanCommandVehicle::~HumanCommandVehicle ( )
inlineprivate

Definition at line 687 of file human.c.

687{}

Member Function Documentation

◆ GetOutVehicle()

proto native void HumanCommandVehicle::GetOutVehicle ( )
private

◆ GetTransport()

proto native Transport HumanCommandVehicle::GetTransport ( )
private

◆ GetVehicleClass()

proto native int HumanCommandVehicle::GetVehicleClass ( )
private

◆ GetVehicleSeat()

proto native int HumanCommandVehicle::GetVehicleSeat ( )
private

◆ GetVehicleType()

proto native int HumanCommandVehicle::GetVehicleType ( )
private

◆ IsGettingIn()

proto native bool HumanCommandVehicle::IsGettingIn ( )
private

◆ IsGettingOut()

proto native bool HumanCommandVehicle::IsGettingOut ( )
private

◆ IsObjectIgnoredOnGettingOut()

bool HumanCommandVehicle::IsObjectIgnoredOnGettingOut ( IEntity entity)
inlineprivate

Definition at line 707 of file human.c.

708 {
710 if (!Class.CastTo(object, entity))
711 return true;
712
714 if (!transport)
715 return true;
716
717 if (object == transport || object.GetParent() == transport)
718 return true;
719
720 return transport.IsIgnoredObject(object);
721 }
Super root of all classes in Enforce script.
Definition EnScript.c:11
proto native Transport GetTransport()
Base native class for all motorized wheeled vehicles.
Definition Car.c:75
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
proto native Widget GetParent()
Get parent of the Effect.
Definition Effect.c:389

References Class::CastTo(), GetParent(), and GetTransport().

◆ IsSwitchSeat()

proto native bool HumanCommandVehicle::IsSwitchSeat ( )
private

◆ JumpOutVehicle()

proto native void HumanCommandVehicle::JumpOutVehicle ( )
private

◆ KeepInVehicleSpaceAfterLeave()

proto native void HumanCommandVehicle::KeepInVehicleSpaceAfterLeave ( bool pState)
private

◆ KnockedOutVehicle()

proto native void HumanCommandVehicle::KnockedOutVehicle ( )
private

◆ SetClutchState()

proto native void HumanCommandVehicle::SetClutchState ( bool pState)
private

◆ SetVehicleType()

proto native void HumanCommandVehicle::SetVehicleType ( int pVehicleType)
private

◆ ShouldBeKnockedOut()

proto native bool HumanCommandVehicle::ShouldBeKnockedOut ( )
private

◆ SwitchSeat()

proto native void HumanCommandVehicle::SwitchSeat ( int pTransportPositionIndex,
int pVehicleSeat )
private

◆ WasGearChange()

proto native bool HumanCommandVehicle::WasGearChange ( )
private

The documentation for this class was generated from the following file: