Show / Hide Table of Contents

Class SharedAmbientSoundSystem

Inheritance
System.Object
SharedAmbientSoundSystem
AmbientSoundSystem
AmbientSoundSystem
Namespace: Content.Shared.Audio
Assembly: Content.Shared.dll
Syntax
public abstract class SharedAmbientSoundSystem : EntitySystem

Methods

| Improve this Doc View Source

Initialize()

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

QueueUpdate(EntityUid, AmbientSoundComponent)

Declaration
protected virtual void QueueUpdate(EntityUid uid, AmbientSoundComponent ambience)
Parameters
Type Name Description
EntityUid uid
AmbientSoundComponent ambience
| Improve this Doc View Source

SetAmbience(EntityUid, Boolean, AmbientSoundComponent)

Declaration
public virtual void SetAmbience(EntityUid uid, bool value, AmbientSoundComponent ambience = null)
Parameters
Type Name Description
EntityUid uid
System.Boolean value
AmbientSoundComponent ambience
| Improve this Doc View Source

SetRange(EntityUid, Single, AmbientSoundComponent)

Declaration
public virtual void SetRange(EntityUid uid, float value, AmbientSoundComponent ambience = null)
Parameters
Type Name Description
EntityUid uid
System.Single value
AmbientSoundComponent ambience
| Improve this Doc View Source

SetSound(EntityUid, SoundSpecifier, AmbientSoundComponent)

Declaration
public virtual void SetSound(EntityUid uid, SoundSpecifier sound, AmbientSoundComponent ambience = null)
Parameters
Type Name Description
EntityUid uid
Robust.Shared.Audio.SoundSpecifier sound
AmbientSoundComponent ambience
| Improve this Doc View Source

SetVolume(EntityUid, Single, AmbientSoundComponent)

Declaration
public virtual void SetVolume(EntityUid uid, float value, AmbientSoundComponent ambience = null)
Parameters
Type Name Description
EntityUid uid
System.Single value
AmbientSoundComponent ambience
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾