Show / Hide Table of Contents

Class SongManager

Peer this with DaggerfallSongPlayer to play music based on climate, location, time of day, etc. Starting lists can be edited in Inspector to add/remove items. There is some overlap in songs lists where the moods are similar.

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
SongManager
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(DaggerfallSongPlayer))]
public class SongManager : MonoBehaviour

Fields

| Improve this Doc View Source

CastleSongs

Declaration
public SongFiles[] CastleSongs
Field Value
Type Description
SongFiles[]
| Improve this Doc View Source

CloudySongs

Declaration
public SongFiles[] CloudySongs
Field Value
Type Description
SongFiles[]
| Improve this Doc View Source

CourtSongs

Declaration
public SongFiles[] CourtSongs
Field Value
Type Description
SongFiles[]
| Improve this Doc View Source

DungeonInteriorSongs

Declaration
public SongFiles[] DungeonInteriorSongs
Field Value
Type Description
SongFiles[]
| Improve this Doc View Source

InteriorSongs

Declaration
public SongFiles[] InteriorSongs
Field Value
Type Description
SongFiles[]
| Improve this Doc View Source

LocalPlayerGPS

Declaration
public PlayerGPS LocalPlayerGPS
Field Value
Type Description
PlayerGPS
| Improve this Doc View Source

MagesGuildSongs

Declaration
public SongFiles[] MagesGuildSongs
Field Value
Type Description
SongFiles[]
| Improve this Doc View Source

NightSongs

Declaration
public SongFiles[] NightSongs
Field Value
Type Description
SongFiles[]
| Improve this Doc View Source

OvercastSongs

Declaration
public SongFiles[] OvercastSongs
Field Value
Type Description
SongFiles[]
| Improve this Doc View Source

PalaceSongs

Declaration
public SongFiles[] PalaceSongs
Field Value
Type Description
SongFiles[]
| Improve this Doc View Source

RainSongs

Declaration
public SongFiles[] RainSongs
Field Value
Type Description
SongFiles[]
| Improve this Doc View Source

ShopSongs

Declaration
public SongFiles[] ShopSongs
Field Value
Type Description
SongFiles[]
| Improve this Doc View Source

SneakingSongs

Declaration
public SongFiles[] SneakingSongs
Field Value
Type Description
SongFiles[]
| Improve this Doc View Source

SnowSongs

Declaration
public SongFiles[] SnowSongs
Field Value
Type Description
SongFiles[]
| Improve this Doc View Source

StreamingWorld

Declaration
public StreamingWorld StreamingWorld
Field Value
Type Description
StreamingWorld
| Improve this Doc View Source

SunnySongs

Declaration
public SongFiles[] SunnySongs
Field Value
Type Description
SongFiles[]
| Improve this Doc View Source

TavernSongs

Declaration
public SongFiles[] TavernSongs
Field Value
Type Description
SongFiles[]
| Improve this Doc View Source

TempleSongs

Declaration
public SongFiles[] TempleSongs
Field Value
Type Description
SongFiles[]

Properties

| Improve this Doc View Source

SongPlayer

Gets song player.

Declaration
public DaggerfallSongPlayer SongPlayer { get; }
Property Value
Type Description
DaggerfallSongPlayer

Methods

| Improve this Doc View Source

PlayNextSong()

Play next song in current playlist.

Declaration
public void PlayNextSong()
| Improve this Doc View Source

PlayPreviousSong()

Play previous song in current playlist.

Declaration
public void PlayPreviousSong()
| Improve this Doc View Source

StartPlaying()

Start playing.

Declaration
public void StartPlaying()
| Improve this Doc View Source

StopPlaying()

Stop playing.

Declaration
public void StopPlaying()
| Improve this Doc View Source

TogglePlay()

Toggle play state.

Declaration
public void TogglePlay()

Extension Methods

MBExtensions.Invoke(MonoBehaviour, Action, Single)
MBExtensions.Invoke<T>(MonoBehaviour, Action<T>, T, Single)
MBExtensions.Invoke<T1, T2>(MonoBehaviour, Action<T1, T2>, T1, T2, Single)
MBExtensions.Invoke<T1, T2, T3>(MonoBehaviour, Action<T1, T2, T3>, T1, T2, T3, Single)
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX