Property | Type | Description | |
---|---|---|---|
LoadSound | ISoundSource | ||
Play | ISound |
Method | Description | |
---|---|---|
AvailableDevices ( ) : OpenRA.SoundDevice[] | ||
Dispose ( ) : void | ||
Initialize ( ISoundLoader loaders, IReadOnlyFileSystem fileSystem ) : void | ||
MuteAudio ( ) : void | ||
PauseMusic ( ) : void | ||
PauseVideo ( ) : void | ||
Play ( string name ) : ISound | ||
Play ( string name, OpenRA.WPos pos ) : ISound | ||
Play ( string name, OpenRA.WPos pos, float volumeModifier ) : ISound | ||
Play ( string name, float volumeModifier ) : ISound | ||
PlayLooped ( string name ) : ISound | ||
PlayLooped ( string name, OpenRA.WPos pos ) : ISound | ||
PlayMusic ( ) : void | ||
PlayMusic ( OpenRA.GameRules.MusicInfo m ) : void | ||
PlayMusicThen ( OpenRA.GameRules.MusicInfo m, System.Action then ) : void | ||
PlayNotification ( OpenRA.Ruleset rules, |
||
PlayPredefined ( OpenRA.Ruleset ruleset, |
||
PlayToPlayer ( |
||
PlayToPlayer ( |
||
PlayVideo ( ) : void | ||
PlayVideo ( byte raw, int channels, int sampleBits, int sampleRate ) : void | ||
SetListenerPosition ( OpenRA.WPos position ) : void | ||
Sound ( IPlatform platform, SoundSettings soundSettings ) : System | ||
StopAudio ( ) : void | ||
StopMusic ( ) : void | ||
StopSound ( ISound sound ) : void | ||
StopVideo ( ) : void | ||
Tick ( ) : void | ||
UnmuteAudio ( ) : void |
Method | Description | |
---|---|---|
LoadSound ( ISoundLoader loaders, IReadOnlyFileSystem fileSystem, string filename ) : ISoundSource | ||
Play ( |
public AvailableDevices ( ) : OpenRA.SoundDevice[] | ||
return | OpenRA.SoundDevice[] |
public Initialize ( ISoundLoader loaders, IReadOnlyFileSystem fileSystem ) : void | ||
loaders | ISoundLoader | |
fileSystem | IReadOnlyFileSystem | |
return | void |
public Play ( string name, OpenRA.WPos pos ) : ISound | ||
name | string | |
pos | OpenRA.WPos | |
return | ISound |
public Play ( string name, OpenRA.WPos pos, float volumeModifier ) : ISound | ||
name | string | |
pos | OpenRA.WPos | |
volumeModifier | float | |
return | ISound |
public Play ( string name, float volumeModifier ) : ISound | ||
name | string | |
volumeModifier | float | |
return | ISound |
public PlayLooped ( string name, OpenRA.WPos pos ) : ISound | ||
name | string | |
pos | OpenRA.WPos | |
return | ISound |
public PlayMusic ( OpenRA.GameRules.MusicInfo m ) : void | ||
m | OpenRA.GameRules.MusicInfo | |
return | void |
public PlayMusicThen ( OpenRA.GameRules.MusicInfo m, System.Action then ) : void | ||
m | OpenRA.GameRules.MusicInfo | |
then | System.Action | |
return | void |
public PlayNotification ( OpenRA.Ruleset rules, |
||
rules | OpenRA.Ruleset | |
player | ||
type | string | |
notification | string | |
variant | string | |
return | bool |
public PlayPredefined ( OpenRA.Ruleset ruleset, |
||
ruleset | OpenRA.Ruleset | |
p | ||
voicedActor | OpenRA.Actor | |
type | string | |
definition | string | |
variant | string | |
relative | bool | |
pos | OpenRA.WPos | |
volumeModifier | float | |
attenuateVolume | bool | |
return | bool |
public PlayToPlayer ( |
||
player | ||
name | string | |
return | ISound |
public PlayToPlayer ( |
||
player | ||
name | string | |
pos | OpenRA.WPos | |
return | ISound |
public PlayVideo ( byte raw, int channels, int sampleBits, int sampleRate ) : void | ||
raw | byte | |
channels | int | |
sampleBits | int | |
sampleRate | int | |
return | void |
public SetListenerPosition ( OpenRA.WPos position ) : void | ||
position | OpenRA.WPos | |
return | void |
public Sound ( IPlatform platform, SoundSettings soundSettings ) : System | ||
platform | IPlatform | |
soundSettings | SoundSettings | |
return | System |