C# Class OpenRA.Mods.Common.Traits.Voiced

Inheritance: IVoiced
显示文件 Open project: OpenRA/OpenRA

Public Properties

Property Type Description
Info VoicedInfo

Public Methods

Method Description
HasVoice ( Actor self, string voice ) : bool
PlayVoice ( Actor self, string phrase, string variant ) : bool
PlayVoiceLocal ( Actor self, string phrase, string variant, float volume ) : bool
Voiced ( Actor self, VoicedInfo info ) : OpenRA.Traits

Method Details

HasVoice() public method

public HasVoice ( Actor self, string voice ) : bool
self Actor
voice string
return bool

PlayVoice() public method

public PlayVoice ( Actor self, string phrase, string variant ) : bool
self Actor
phrase string
variant string
return bool

PlayVoiceLocal() public method

public PlayVoiceLocal ( Actor self, string phrase, string variant, float volume ) : bool
self Actor
phrase string
variant string
volume float
return bool

Voiced() public method

public Voiced ( Actor self, VoicedInfo info ) : OpenRA.Traits
self Actor
info VoicedInfo
return OpenRA.Traits

Property Details

Info public_oe property

public VoicedInfo,OpenRA.Mods.Common.Traits Info
return VoicedInfo