DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс PASBroadcaster

Защищенные члены

override bool IsStaticTransmitter ()
 
override bool DisableVicinityIcon ()
 
override void OnSwitchOn ()
 
override void OnSwitchOff ()
 
override void OnWorkStart ()
 
override void OnWorkStop ()
 
void SoundTurnedOnNoiseStart ()
 
void SoundTurnedOnNoiseStop ()
 
void SoundTurnOn ()
 
void SoundTurnOff ()
 

Защищенные данные

EffectSound m_Sound
 
EffectSound m_SoundLoop
 

Закрытые данные

const string SOUND_PAS_TURN_ON = "pastransmitter_turnon_SoundSet"
 
const string SOUND_PAS_TURN_OFF = "pastransmitter_turnoff_SoundSet"
 
const string SOUND_PAS_TURNED_ON = "pastransmitter_staticnoise_SoundSet"
 

Подробное описание

Методы

◆ DisableVicinityIcon()

override bool DisableVicinityIcon ( )
inlineprotected
18 {
19 return true;
20 }

◆ IsStaticTransmitter()

override bool IsStaticTransmitter ( )
inlineprotected
13 {
14 return true;
15 }

◆ OnSwitchOff()

override void OnSwitchOff ( )
inlineprotected
37 {
38 super.OnSwitchOff();
39
40 //sound
42 }
void SoundTurnOff()
Definition Land_Radio_PanelPAS.c:85
Definition EntityAI.c:95

◆ OnSwitchOn()

override void OnSwitchOn ( )
inlineprotected
24 {
25 super.OnSwitchOn();
26
27 if ( !GetCompEM().CanWork() )
28 {
29 GetCompEM().SwitchOff();
30 }
31
32 //sound
34 }
void SoundTurnOn()
Definition Land_Radio_PanelPAS.c:80

◆ OnWorkStart()

override void OnWorkStart ( )
inlineprotected
45 {
46 super.OnWorkStart();
47
48 //turn off device
49 SwitchOn ( true ); // start send/receive voice
50
51 //sound
53 }
void SoundTurnedOnNoiseStart()
Definition Land_Radio_PanelPAS.c:70

◆ OnWorkStop()

override void OnWorkStop ( )
inlineprotected
56 {
57 super.OnWorkStop();
58
59 //turn off device
60 SwitchOn ( false ); // stop send/receive voice
61
62 //sound
64 }
void SoundTurnedOnNoiseStop()
Definition Land_Radio_PanelPAS.c:75

◆ SoundTurnedOnNoiseStart()

void SoundTurnedOnNoiseStart ( )
inlineprotected
71 {
72 PlaySoundSetLoop( m_SoundLoop, SOUND_PAS_TURNED_ON, 1.0, 1.0 );
73 }
const string SOUND_PAS_TURNED_ON
Definition Land_Radio_PanelPAS.c:6
EffectSound m_SoundLoop
Definition Land_Radio_PanelPAS.c:9

◆ SoundTurnedOnNoiseStop()

void SoundTurnedOnNoiseStop ( )
inlineprotected
76 {
77 StopSoundSet( m_SoundLoop );
78 }

◆ SoundTurnOff()

void SoundTurnOff ( )
inlineprotected
86 {
87 PlaySoundSet( m_Sound, SOUND_PAS_TURN_OFF, 0, 0 );
88 }
EffectSound m_Sound
Definition Land_Radio_PanelPAS.c:8
const string SOUND_PAS_TURN_OFF
Definition Land_Radio_PanelPAS.c:5

Перекрестные ссылки m_Sound.

◆ SoundTurnOn()

void SoundTurnOn ( )
inlineprotected
81 {
82 PlaySoundSet( m_Sound, SOUND_PAS_TURN_ON, 0, 0 );
83 }
const string SOUND_PAS_TURN_ON
Definition Land_Radio_PanelPAS.c:4

Перекрестные ссылки m_Sound.

Поля

◆ m_Sound

EffectSound m_Sound
protected

◆ m_SoundLoop

EffectSound m_SoundLoop
protected

◆ SOUND_PAS_TURN_OFF

const string SOUND_PAS_TURN_OFF = "pastransmitter_turnoff_SoundSet"
private

◆ SOUND_PAS_TURN_ON

const string SOUND_PAS_TURN_ON = "pastransmitter_turnon_SoundSet"
private

◆ SOUND_PAS_TURNED_ON

const string SOUND_PAS_TURNED_ON = "pastransmitter_staticnoise_SoundSet"
private

Объявления и описания членов класса находятся в файле: