3 override bool DisableVicinityIcon()
11 super.OnStoreSave( ctx );
14 ctx.Write( GetTunedFrequencyIndex() );
19 if ( !super.OnStoreLoad( ctx, version ) )
24 int tuned_frequency_idx;
25 if ( !ctx.Read( tuned_frequency_idx ) )
27 tuned_frequency_idx = 0;
29 SetFrequencyByIndex( tuned_frequency_idx );
36 override bool IsStaticTransmitter()
41 void SetNextFrequency(
PlayerBase player = NULL )
54 override void OnSwitchOn()
56 if ( !GetCompEM().CanWork() )
58 GetCompEM().SwitchOff();
65 EnableBroadcast (
true );
66 EnableReceive (
true );
73 GetCompEM().SwitchOff();
76 EnableBroadcast (
false );
77 EnableReceive (
false );