C# Class Sanguosha.UI.Controls.GameSoundLocator

Exibir arquivo Open project: RagingBigFemaleBird/sgs Class Usage Examples

Public Methods

Method Description
GetBgm ( ) : Uri
GetCardSound ( string cardName, bool isMale ) : Uri
GetDeathSound ( string key ) : Uri
GetSkillSound ( string skillName, int skillTag ) : Uri
GetSystemSound ( string key ) : Uri
Initialize ( ) : void
_RemoveTrailingDigits ( string s ) : string

Private Methods

Method Description
GetUriFromKey ( string key ) : Uri
GetUriFromPath ( string path ) : Uri
_ParseDirectory ( string key, string path ) : void

Method Details

GetBgm() public static method

public static GetBgm ( ) : Uri
return System.Uri

GetCardSound() public static method

public static GetCardSound ( string cardName, bool isMale ) : Uri
cardName string
isMale bool
return System.Uri

GetDeathSound() public static method

public static GetDeathSound ( string key ) : Uri
key string
return System.Uri

GetSkillSound() public static method

public static GetSkillSound ( string skillName, int skillTag ) : Uri
skillName string
skillTag int
return System.Uri

GetSystemSound() public static method

public static GetSystemSound ( string key ) : Uri
key string
return System.Uri

Initialize() public static method

public static Initialize ( ) : void
return void

_RemoveTrailingDigits() public static method

public static _RemoveTrailingDigits ( string s ) : string
s string
return string