C# Class OpenRA.Mods.Common.Scripting.MediaGlobal

Inheritance: OpenRA.Scripting.ScriptGlobal
ファイルを表示 Open project: OpenRA/OpenRA

Public Methods

Method Description
MediaGlobal ( OpenRA.Scripting.ScriptContext context ) : System

Private Methods

Method Description
Debug ( string text ) : void
DisplayMessage ( string text, string prefix = "Mission", OpenRA.FileFormats.HSLColor color = null ) : void
FloatingText ( string text, WPos position, int duration = 30, OpenRA.FileFormats.HSLColor color = null ) : void
GetMusicTrack ( string track ) : OpenRA.GameRules.MusicInfo
PlayMovieFullscreen ( string movie, Eluant.LuaFunction func = null ) : void
PlayMovieInRadar ( string movie, Eluant.LuaFunction playComplete = null ) : bool
PlayMusic ( string track = null, Eluant.LuaFunction func = null ) : void
PlaySound ( string file ) : void
PlaySoundNotification ( Player player, string notification ) : void
PlaySpeechNotification ( Player player, string notification ) : void
SetBackgroundMusic ( string track = null ) : void
StopMusic ( ) : void

Method Details

MediaGlobal() public method

public MediaGlobal ( OpenRA.Scripting.ScriptContext context ) : System
context OpenRA.Scripting.ScriptContext
return System