Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
car.c File Reference

Go to the source code of this file.

Data Structures

class  Transport
 Base native class for all motorized wheeled vehicles. More...
 
class  CarController
 DEPRECATED class left for backwards compatibility, methods are available on car itself now. More...
 

Enumerations

enum  CarSoundCtrl {
  ENGINE, RPM, SPEED, DOORS,
  PLAYER
}
 Car's sound controller list. (native, do not change or extend) More...
 
enum  CarFluid {
  FUEL, OIL, BRAKE, COOLANT,
  USER1, USER2, USER3, USER4
}
 Type of vehicle's fluid. (native, do not change or extend) More...
 
enum  CarGearboxType { MANUAL, AUTOMATIC }
 Enumerated gearbox types. (native, do not change or extend) More...
 
enum  CarAutomaticGearboxMode { P, R, N, D }
 Enumerated automatic gearbox modes. (native, do not change or extend) More...
 

Variables

enum CarGearboxType REVERSE
 Enumerated vehicle's gears. (native, do not change or extend) More...
 
enum CarGearboxType NEUTRAL
 
enum CarGearboxType FIRST = 1
 
enum CarGearboxType SECOND = 2
 
enum CarGearboxType THIRD
 
enum CarGearboxType FOURTH
 
enum CarGearboxType FIFTH
 
enum CarGearboxType SIXTH
 
enum CarGearboxType SEVENTH
 
enum CarGearboxType EIGTH
 
enum CarGearboxType NINTH
 
enum CarGearboxType TENTH
 
enum CarGearboxType ELEVENTH
 
enum CarGearboxType TWELFTH
 
enum CarGearboxType THIRTEENTH
 
enum CarGearboxType FOURTEENTH
 
enum CarGearboxType FIFTEENTH
 
enum CarGearboxType SIXTEENTH
 

Enumeration Type Documentation

◆ CarAutomaticGearboxMode

Enumerated automatic gearbox modes. (native, do not change or extend)

Enumerator

park

reverse

neutral

drive

Definition at line 68 of file car.c.

◆ CarFluid

enum CarFluid

Type of vehicle's fluid. (native, do not change or extend)

Enumerator
FUEL 
OIL 
BRAKE 
COOLANT 
USER1 

reserved for user / modding support

USER2 

reserved for user / modding support

USER3 

reserved for user / modding support

USER4 

reserved for user / modding support

Definition at line 18 of file car.c.

◆ CarGearboxType

Enumerated gearbox types. (native, do not change or extend)

Enumerator
MANUAL 

classic manual transmission with friction plates between engine and gearbox

AUTOMATIC 

automatic transmission with torque converter between engine and gearbox

Definition at line 34 of file car.c.

◆ CarSoundCtrl

Car's sound controller list. (native, do not change or extend)

Enumerator
ENGINE 

indicates if engine is ON

RPM 

engine's RPM

SPEED 

speed of the car in km/h

DOORS 

indicates if doors are open

PLAYER 

indicates if driver is controlled by player

Definition at line 3 of file car.c.

Variable Documentation

◆ EIGTH

enum CarGearboxType EIGTH

◆ ELEVENTH

enum CarGearboxType ELEVENTH

◆ FIFTEENTH

enum CarGearboxType FIFTEENTH

◆ FIFTH

enum CarGearboxType FIFTH

◆ FIRST

FIRST = 1

Definition at line 3 of file pluginrecipesmanagerbase.c.

◆ FOURTEENTH

enum CarGearboxType FOURTEENTH

◆ FOURTH

enum CarGearboxType FOURTH

◆ NEUTRAL

enum CarGearboxType NEUTRAL

◆ NINTH

enum CarGearboxType NINTH

◆ REVERSE

enum CarGearboxType REVERSE

Enumerated vehicle's gears. (native, do not change or extend)

◆ SECOND

SECOND = 2

Definition at line 4 of file pluginrecipesmanagerbase.c.

◆ SEVENTH

enum CarGearboxType SEVENTH

◆ SIXTEENTH

enum CarGearboxType SIXTEENTH

◆ SIXTH

enum CarGearboxType SIXTH

◆ TENTH

enum CarGearboxType TENTH

◆ THIRD

enum CarGearboxType THIRD

◆ THIRTEENTH

enum CarGearboxType THIRTEENTH

◆ TWELFTH

enum CarGearboxType TWELFTH