Show / Hide Table of Contents

Class AmbientMusicPrototype

Attaches a rules prototype to sound files to play ambience.

Inheritance
System.Object
AmbientMusicPrototype
Implements
Robust.Shared.Prototypes.IPrototype
Namespace: Content.Shared.Audio
Assembly: Content.Shared.dll
Syntax
public sealed class AmbientMusicPrototype : object, IPrototype

Fields

| Improve this Doc View Source

FadeIn

Do we fade-in. Useful for songs.

Declaration
public bool FadeIn
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Interruptable

Can we interrupt this ambience for a better prototype if possible?

Declaration
public bool Interruptable
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Priority

Traditionally you'd prioritise most rules to least as priority but in our case we'll just be explicit.

Declaration
public int Priority
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Rules

Declaration
public string Rules
Field Value
Type Description
System.String
| Improve this Doc View Source

Sound

Declaration
public SoundSpecifier Sound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier

Properties

| Improve this Doc View Source

ID

Declaration
public string ID { get; }
Property Value
Type Description
System.String

Implements

Robust.Shared.Prototypes.IPrototype
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾