Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:StreamPlaylist (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> StreamBase >> StreamPlaylist
Package: 
Engine

Created on: 10/12/2003 A user-configured list of streaming music files.

Written by Ron Prestenback © 2003, Epic Games, Inc. All Rights Reserved

Properties

Property group 'StreamPlaylist'

bNeedSave

Type: bool

Modifiers: protected, config


Default value: True

Current

Type: int

Modifiers: protected, config


FileManager

Type: StreamInterface

Modifiers: editinline, editconst, noexport, protected


Playlist

Type: array<string>

Modifiers: protected, config


RandomPool

Type: array<int>

Modifiers: editinline, editconst, noexport, private, editconstarray, transient


Songs

Type: array<Stream>

Modifiers: editinline, editconst, noexport, protected, editconstarray


Title

Type: string

Modifiers: protected


Delegates

OnPlaylistChanged

delegate OnPlaylistChanged ()


Instance functions

AddSong

function int AddSong (string SongFileName, optional bool bSkipNotification)


AddStream

function int AddStream (int Index, Stream NewStream, optional bool bSkipNotification)


ClearPlaylist

function bool ClearPlaylist ()


CreateStream

function Stream CreateStream (string FileName)


DebugInfo

function DebugInfo ()


FindIndexByFileName

function int FindIndexByFileName (string Test)


FindIndexByFullName

function int FindIndexByFullName (string Test)


FindIndexByName

function int FindIndexByName (string Test)


FindIndexByPath

function int FindIndexByPath (string Test)


GetCurrent

function int GetCurrent ()


GetCurrentStream

function Stream GetCurrentStream ()


GetPlaylistLength

function int GetPlaylistLength ()


GetRandomSong

function string GetRandomSong ()


GetSongs

function GetSongs (out array<StreamSongArray)


GetStream

function Stream GetStream (string StreamName)


GetStreamAt

function Stream GetStreamAt (int Index)


GetTitle

function string GetTitle ()


HandleDebugExec

function bool HandleDebugExec (string Command, string Param)

Overrides: StreamBase.HandleDebugExec


InitializePlaylist

function bool InitializePlaylist (StreamInterface InManager)


InsertSong

function int InsertSong (int idx, string Path, optional bool bSkipNotification)


IsInitialized

function bool IsInitialized ()


LoadPlaylist

function bool LoadPlaylist ()


NextSong

function string NextSong (bool bMayRepeat)


PrevSong

function string PrevSong (bool bMayRepeat)


RemoveSong

function bool RemoveSong (string SongFileName, optional bool bSkipNotification)


RemoveSongAt

function bool RemoveSongAt (int idx, optional bool bSkipNotification)


ReplaceWith

function ReplaceWith (StreamPlaylist Other)


ResetRandomPool

function ResetRandomPool ()


Save

function Save ()


SetCurrent

function bool SetCurrent (int Index)


SetSongs

function bool SetSongs (array<StreamNewSongs)


SetTitle

function bool SetTitle (string NewTitle)


ValidStreamIndex

function bool ValidStreamIndex (int Index)


ValidStreamName

function bool ValidStreamName (string FileName)