Свойство | Type | Description | |
---|---|---|---|
LoadSound | ISoundSource | ||
Play | ISound |
Méthode | 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 |
Méthode | Description | |
---|---|---|
LoadSound ( ISoundLoader loaders, IReadOnlyFileSystem fileSystem, string filename ) : ISoundSource | ||
Play ( |
public AvailableDevices ( ) : OpenRA.SoundDevice[] | ||
Résultat | OpenRA.SoundDevice[] |
public Initialize ( ISoundLoader loaders, IReadOnlyFileSystem fileSystem ) : void | ||
loaders | ISoundLoader | |
fileSystem | IReadOnlyFileSystem | |
Résultat | void |
public Play ( string name, OpenRA.WPos pos ) : ISound | ||
name | string | |
pos | OpenRA.WPos | |
Résultat | ISound |
public Play ( string name, OpenRA.WPos pos, float volumeModifier ) : ISound | ||
name | string | |
pos | OpenRA.WPos | |
volumeModifier | float | |
Résultat | ISound |
public Play ( string name, float volumeModifier ) : ISound | ||
name | string | |
volumeModifier | float | |
Résultat | ISound |
public PlayLooped ( string name, OpenRA.WPos pos ) : ISound | ||
name | string | |
pos | OpenRA.WPos | |
Résultat | ISound |
public PlayMusic ( OpenRA.GameRules.MusicInfo m ) : void | ||
m | OpenRA.GameRules.MusicInfo | |
Résultat | void |
public PlayMusicThen ( OpenRA.GameRules.MusicInfo m, System.Action then ) : void | ||
m | OpenRA.GameRules.MusicInfo | |
then | System.Action | |
Résultat | void |
public PlayNotification ( OpenRA.Ruleset rules, |
||
rules | OpenRA.Ruleset | |
player | ||
type | string | |
notification | string | |
variant | string | |
Résultat | 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 | |
Résultat | bool |
public PlayToPlayer ( |
||
player | ||
name | string | |
Résultat | ISound |
public PlayToPlayer ( |
||
player | ||
name | string | |
pos | OpenRA.WPos | |
Résultat | ISound |
public PlayVideo ( byte raw, int channels, int sampleBits, int sampleRate ) : void | ||
raw | byte | |
channels | int | |
sampleBits | int | |
sampleRate | int | |
Résultat | void |
public SetListenerPosition ( OpenRA.WPos position ) : void | ||
position | OpenRA.WPos | |
Résultat | void |
public Sound ( IPlatform platform, SoundSettings soundSettings ) : System | ||
platform | IPlatform | |
soundSettings | SoundSettings | |
Résultat | System |