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

Newer implementation equivalent of "AreaDamageRegular", hitzone selection only. More...

Inheritance diagram for AreaDamageComponentRandomHitzone:
[legend]
Collaboration diagram for AreaDamageComponentRandomHitzone:
[legend]

Protected Member Functions

AreaDamageComponentData GetAreaDamageComponentData (Object object)
 

Private Member Functions

void AreaDamageComponentRandomHitzone (AreaDamageManager parent)
 
void SetHitZones (array< string > hitzones)
 

Private Attributes

ref array< stringm_HitZones
 

Detailed Description

Newer implementation equivalent of "AreaDamageRegular", hitzone selection only.

Definition at line 2 of file AreaDamageComponentRandomHitzone.c.

Constructor & Destructor Documentation

◆ AreaDamageComponentRandomHitzone()

void AreaDamageComponentRandomHitzone::AreaDamageComponentRandomHitzone ( AreaDamageManager parent)
inlineprivate

Definition at line 6 of file AreaDamageComponentRandomHitzone.c.

References m_HitZones.

Member Function Documentation

◆ GetAreaDamageComponentData()

AreaDamageComponentData AreaDamageComponentRandomHitzone::GetAreaDamageComponentData ( Object object)
inlineprotected

Definition at line 16 of file AreaDamageComponentRandomHitzone.c.

17 {
19 data.Hitzone = m_HitZones.GetRandomElement();
20
21 return data;
22 }

References m_HitZones.

◆ SetHitZones()

void AreaDamageComponentRandomHitzone::SetHitZones ( array< string > hitzones)
inlineprivate

Definition at line 11 of file AreaDamageComponentRandomHitzone.c.

12 {
14 }

References m_HitZones.

Member Data Documentation

◆ m_HitZones

ref array<string> AreaDamageComponentRandomHitzone::m_HitZones
private

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