DayZ 1.24
|
Protected Member Functions | |
void | Rangefinder () |
float | GetMeasurementUpdateInterval () |
override void | OnWorkStart () |
override void | OnWorkStop () |
void | StartPeriodicMeasurement () |
void | StopPeriodicMeasurement () |
void | DoMeasurement () |
override void | SetActions () |
override void | OnDebugSpawn () |
Protected Attributes | |
ref Timer | m_Timer |
TextWidget | m_RangeText |
Private Member Functions | |
void | NVGoggles () |
override void | SetActions () |
override void | EEItemAttached (EntityAI item, string slot_name) |
override void | EEItemDetached (EntityAI item, string slot_name) |
override void | OnWasAttached (EntityAI parent, int slot_id) |
override void | OnWasDetached (EntityAI parent, int slot_id) |
override void | OnWorkStart () |
override void | OnWorkStop () |
override void | OnWork (float consumed_energy) |
void | LoweredCheck () |
void | RotateGoggles (bool state) |
void | SwitchOnNVGCheck () |
override int | GetCurrentNVType () |
override bool | IsNVG () |
Private Attributes | |
bool | m_IsLowered |
Clothing | m_Strap |
ref Timer | m_WorkCheckTimer |
Static Private Attributes | |
static const float | RANGEFINDER_MAX_DISTANCE = 913.4856 |
Definition at line 1 of file NVGoggles.c.
|
inlineprotected |
Definition at line 62 of file Rangefinder.c.
References vector::Distance(), GetGame(), GetPlayer(), RANGEFINDER_MAX_DISTANCE, DayZPhysics::RaycastRV(), and Math::Round().
Definition at line 21 of file NVGoggles.c.
Definition at line 30 of file NVGoggles.c.
Definition at line 160 of file NVGoggles.c.
References Error().
|
inlineprotected |
Definition at line 13 of file Rangefinder.c.
Referenced by StartPeriodicMeasurement().
Definition at line 182 of file NVGoggles.c.
|
inlineprivate |
Definition at line 125 of file NVGoggles.c.
|
inlineprivate |
Definition at line 7 of file NVGoggles.c.
References RotateGoggles().
Definition at line 102 of file Rangefinder.c.
Definition at line 37 of file NVGoggles.c.
References RotateGoggles().
Definition at line 47 of file NVGoggles.c.
References RotateGoggles().
Definition at line 103 of file NVGoggles.c.
References GetGame(), and RotateGoggles().
Definition at line 63 of file NVGoggles.c.
References GetGame(), and RotateGoggles().
Definition at line 18 of file Rangefinder.c.
References GetGame(), GetPlayer(), and StartPeriodicMeasurement().
Definition at line 30 of file Rangefinder.c.
References GetGame(), GetPlayer(), and StopPeriodicMeasurement().
|
inlineprotected |
Definition at line 8 of file Rangefinder.c.
Definition at line 131 of file NVGoggles.c.
Referenced by NVGoggles(), OnWasAttached(), OnWasDetached(), OnWork(), and OnWorkStart().
Definition at line 13 of file NVGoggles.c.
References AddAction(), and RemoveAction().
Definition at line 94 of file Rangefinder.c.
References AddAction(), and RemoveAction().
|
inlineprotected |
Definition at line 42 of file Rangefinder.c.
References CALL_CATEGORY_GAMEPLAY, GetGame(), GetMeasurementUpdateInterval(), and m_Timer.
Referenced by OnWorkStart().
|
inlineprotected |
Definition at line 52 of file Rangefinder.c.
References m_RangeText, and m_Timer.
Referenced by OnWorkStop().
|
inlineprivate |
Definition at line 152 of file NVGoggles.c.
|
private |
Definition at line 3 of file NVGoggles.c.
|
protected |
Definition at line 6 of file Rangefinder.c.
Referenced by StopPeriodicMeasurement().
|
private |
Definition at line 4 of file NVGoggles.c.
Definition at line 5 of file Rangefinder.c.
Definition at line 5 of file NVGoggles.c.
Definition at line 3 of file Rangefinder.c.
Referenced by DoMeasurement().