C# Class RocksmithToolkitLib.XmlRepository.TuningDefinition

Exibir arquivo Open project: rscustom/rocksmith-custom-song-toolkit Class Usage Examples

Private Properties

Property Type Description
Convert2Bass TuningDefinition
Convert2Bass RocksmithToolkitLib.Xml.TuningStrings
GetTuningFamily TuningFamily
NoteName string

Public Methods

Method Description
LoadFile ( string fileName, GameVersion gameVersion ) : List
NameFromStrings ( RocksmithToolkitLib.Xml.TuningStrings tuning, bool flats = true ) : string
ToString ( ) : string
TuningDefinition ( ) : System
TuningDefinition ( RocksmithToolkitLib.Xml.TuningStrings tStrings, GameVersion rsVersion, string name = "", bool custom = true ) : System
TuningStringToName ( string strings, GameVersion gameVersion = GameVersion.RS2014, List tuningXml = null ) : string
TuningToName ( RocksmithToolkitLib.Xml.TuningStrings songTuning, GameVersion gameVersion = GameVersion.RS2014, List tuningXml = null ) : string
TuningToName ( string jsonTuning, GameVersion gameVersion = GameVersion.RS2014, List tuningXml = null ) : string
WriteFile ( string fileName, List tuningDefinitions ) : void

Private Methods

Method Description
Convert2Bass ( TuningDefinition tuningDefinition ) : TuningDefinition
Convert2Bass ( RocksmithToolkitLib.Xml.TuningStrings guitarTuning ) : RocksmithToolkitLib.Xml.TuningStrings
GetTuningFamily ( Int16 t ) : TuningFamily
NoteName ( RocksmithToolkitLib.Xml.TuningStrings tuning, byte s, bool flats = false ) : string

Method Details

LoadFile() public static method

public static LoadFile ( string fileName, GameVersion gameVersion ) : List
fileName string
gameVersion GameVersion
return List

NameFromStrings() public method

public NameFromStrings ( RocksmithToolkitLib.Xml.TuningStrings tuning, bool flats = true ) : string
tuning RocksmithToolkitLib.Xml.TuningStrings
flats bool
return string

ToString() public method

public ToString ( ) : string
return string

TuningDefinition() public method

public TuningDefinition ( ) : System
return System

TuningDefinition() public method

public TuningDefinition ( RocksmithToolkitLib.Xml.TuningStrings tStrings, GameVersion rsVersion, string name = "", bool custom = true ) : System
tStrings RocksmithToolkitLib.Xml.TuningStrings
rsVersion GameVersion
name string
custom bool
return System

TuningStringToName() public static method

public static TuningStringToName ( string strings, GameVersion gameVersion = GameVersion.RS2014, List tuningXml = null ) : string
strings string
gameVersion GameVersion
tuningXml List
return string

TuningToName() public static method

public static TuningToName ( RocksmithToolkitLib.Xml.TuningStrings songTuning, GameVersion gameVersion = GameVersion.RS2014, List tuningXml = null ) : string
songTuning RocksmithToolkitLib.Xml.TuningStrings
gameVersion GameVersion
tuningXml List
return string

TuningToName() public static method

public static TuningToName ( string jsonTuning, GameVersion gameVersion = GameVersion.RS2014, List tuningXml = null ) : string
jsonTuning string
gameVersion GameVersion
tuningXml List
return string

WriteFile() public static method

public static WriteFile ( string fileName, List tuningDefinitions ) : void
fileName string
tuningDefinitions List
return void