Show / Hide Table of Contents

Class RadioDeviceSystem

This system handles radio speakers and microphones (which together form a hand-held radio).

Inheritance
System.Object
RadioDeviceSystem
Namespace: Content.Server.Radio.EntitySystems
Assembly: Content.Server.dll
Syntax
public sealed class RadioDeviceSystem : EntitySystem

Methods

| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

SetMicrophoneEnabled(EntityUid, Nullable<EntityUid>, Boolean, Boolean, RadioMicrophoneComponent)

Declaration
public void SetMicrophoneEnabled(EntityUid uid, EntityUid? user, bool enabled, bool quiet = false, RadioMicrophoneComponent component = null)
Parameters
Type Name Description
EntityUid uid
System.Nullable<EntityUid> user
System.Boolean enabled
System.Boolean quiet
RadioMicrophoneComponent component
| Improve this Doc View Source

SetSpeakerEnabled(EntityUid, EntityUid, Boolean, Boolean, RadioSpeakerComponent)

Declaration
public void SetSpeakerEnabled(EntityUid uid, EntityUid user, bool enabled, bool quiet = false, RadioSpeakerComponent component = null)
Parameters
Type Name Description
EntityUid uid
EntityUid user
System.Boolean enabled
System.Boolean quiet
RadioSpeakerComponent component
| Improve this Doc View Source

ToggleRadioMicrophone(EntityUid, EntityUid, Boolean, RadioMicrophoneComponent)

Declaration
public void ToggleRadioMicrophone(EntityUid uid, EntityUid user, bool quiet = false, RadioMicrophoneComponent component = null)
Parameters
Type Name Description
EntityUid uid
EntityUid user
System.Boolean quiet
RadioMicrophoneComponent component
| Improve this Doc View Source

ToggleRadioSpeaker(EntityUid, EntityUid, Boolean, RadioSpeakerComponent)

Declaration
public void ToggleRadioSpeaker(EntityUid uid, EntityUid user, bool quiet = false, RadioSpeakerComponent component = null)
Parameters
Type Name Description
EntityUid uid
EntityUid user
System.Boolean quiet
RadioSpeakerComponent component
| Improve this Doc View Source

Update(Single)

Declaration
public override void Update(float frameTime)
Parameters
Type Name Description
System.Single frameTime
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾