DayZ 1.24
Loading...
Searching...
No Matches
Car.c File Reference

Go to the source code of this file.

Classes

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)
 
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 64 of file Car.c.

65{
66 P,
67 R,
68 N,
69 D
70};
@ R
reverse
Definition Car.c:67
@ N
neutral
Definition Car.c:68
@ D
drive
Definition Car.c:69
@ P
park
Definition Car.c:66

◆ 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 17 of file Car.c.

18{
19 FUEL,
20 OIL,
21 BRAKE,
22 COOLANT,
23
24 USER1,
25 USER2,
26 USER3,
27 USER4
28};
@ USER4
reserved for user / modding support
Definition Car.c:27
@ OIL
Definition Car.c:20
@ USER1
reserved for user / modding support
Definition Car.c:24
@ USER2
reserved for user / modding support
Definition Car.c:25
@ BRAKE
Definition Car.c:21
@ FUEL
Definition Car.c:19
@ COOLANT
Definition Car.c:22
@ USER3
reserved for user / modding support
Definition Car.c:26

◆ 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 32 of file Car.c.

33{
34 MANUAL,
36}
@ AUTOMATIC
automatic transmission with torque converter between engine and gearbox
Definition Car.c:35
@ MANUAL
classic manual transmission with friction plates between engine and gearbox
Definition Car.c:34

◆ 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.

4{
5 // simulation
6 ENGINE,
7 RPM,
8 SPEED,
9
10 // miscellaneous
11 DOORS,
12 PLAYER
13};
@ SPEED
speed of the car in km/h
Definition Car.c:8
@ RPM
engine's RPM
Definition Car.c:7
@ DOORS
indicates if doors are open
Definition Car.c:11
@ ENGINE
indicates if engine is ON
Definition Car.c:6
@ PLAYER
indicates if driver is controlled by player
Definition Car.c:12

Variable Documentation

◆ EIGTH

◆ ELEVENTH

enum CarGearboxType ELEVENTH

◆ FIFTEENTH

enum CarGearboxType FIFTEENTH

◆ FIFTH

◆ FIRST

FIRST = 1

Definition at line 3 of file PluginRecipesManagerBase.c.

◆ FOURTEENTH

enum CarGearboxType FOURTEENTH

◆ FOURTH

◆ NEUTRAL

◆ NINTH

◆ REVERSE

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

◆ SECOND

SECOND = 2

Definition at line 4 of file PluginRecipesManagerBase.c.

◆ SEVENTH

◆ SIXTEENTH

enum CarGearboxType SIXTEENTH

◆ SIXTH

◆ TENTH

◆ THIRD

◆ THIRTEENTH

enum CarGearboxType THIRTEENTH

◆ TWELFTH