◆ IsTransmitter()
38 {
39 return true;
40 }
◆ OnStoreLoad()
19 {
20 if ( !
super.OnStoreLoad(
ctx, version ) )
21 return false;
22
23
24
27 {
28 SetFrequencyByIndex( 0 );
29 return false;
30 }
32
33
34 return true;
35 }
◆ OnStoreSave()
11 {
13
14
15 ctx.Write( GetTunedFrequencyIndex() );
16 }
◆ OnSwitchOn()
85 {
86 if ( !GetCompEM().CanWork() )
87 {
88 GetCompEM().SwitchOff();
89 }
90 }
◆ OnWorkStart()
93 {
94
95 EnableBroadcast ( true );
96 EnableReceive ( true );
97 SwitchOn ( true );
98
99
101 }
void SoundTurnedOnNoiseStart()
Definition TransmitterBase.c:121
◆ OnWorkStop()
104 {
105
106 GetCompEM().SwitchOff();
107
108
109 EnableBroadcast ( false );
110 EnableReceive ( false );
111 SwitchOn ( false );
112
113
115 }
void SoundTurnedOnNoiseStop()
Definition TransmitterBase.c:126
◆ SetActions()
132 {
134
138 }
ActionTuneFrequencyCB ActionContinuousBaseCB ActionTuneFrequency()
Definition ActionTuneFrequency.c:13
ActionTurnOffTransmitterCB ActionSingleUseBaseCB ActionTurnOffTransmitter()
Definition ActionTurnOffTransmitter.c:11
ActionTurnOnTransmitterCB ActionSingleUseBaseCB ActionTurnOnTransmitter()
Definition ActionTurnOnTransmitter.c:11
void AddAction(typename actionName)
Definition AdvancedCommunication.c:220
Перекрестные ссылки ActionTuneFrequency(), ActionTurnOffTransmitter(), ActionTurnOnTransmitter() и AddAction().
◆ SetNextFrequency()
44 {
45 SetNextChannel();
46
47
48
49
50
51
52
53 }
◆ SoundTurnedOnNoiseStart()
void SoundTurnedOnNoiseStart |
( |
| ) |
|
|
inlineprotected |
122 {
124 }
string SOUND_RADIO_TURNED_ON
Definition TransmitterBase.c:5
EffectSound m_SoundLoop
Definition TransmitterBase.c:7
◆ SoundTurnedOnNoiseStop()
void SoundTurnedOnNoiseStop |
( |
| ) |
|
|
inlineprotected |
◆ m_SoundLoop
◆ SOUND_RADIO_TURNED_ON
string SOUND_RADIO_TURNED_ON = "" |
|
private |
Объявления и описания членов класса находятся в файле: