C# Class RocksmithToolkitLib.Sng2014HSL.Sng2014File

Inheritance: Sng
Afficher le fichier Open project: rscustom/rocksmith-custom-song-toolkit Class Usage Examples

Méthodes publiques

Méthode Description
ConvertSong ( string xmlFile ) : Sng2014File
ConvertXML ( string xmlPath, ArrangementType type, string cdata = null ) : Sng2014File
CopyStruct ( object obj ) : MemoryStream
HashStruct ( object obj ) : UInt32
IsCustomFont ( ) : bool
LoadFromFile ( string inputFile, System.Platform platform ) : Sng2014File

Raw SNG data reader.

PackSng ( Stream input, Stream output, System.Platform platform ) : void
Read ( EndianBinaryReader r ) : void
ReadSng ( Stream input, System.Platform platform ) : Sng2014File
Sng2014File ( ) : System
Sng2014File ( Stream data ) : System
UnpackSng ( Stream input, Stream output, System.Platform platform ) : void
Write ( EndianBinaryWriter w ) : void
WriteChartData ( string outfile, System.Platform platform ) : void
WriteSng ( Stream output, System.Platform platform ) : void

Private Methods

Méthode Description
getChartData ( System.Platform platform ) : byte[]
getPropertyValue ( object obj, string propertyName ) : object
writeField ( EndianBinaryWriter w, object value ) : void
writeStruct ( EndianBinaryWriter w, object obj ) : void

Method Details

ConvertSong() public static méthode

public static ConvertSong ( string xmlFile ) : Sng2014File
xmlFile string
Résultat Sng2014File

ConvertXML() public static méthode

public static ConvertXML ( string xmlPath, ArrangementType type, string cdata = null ) : Sng2014File
xmlPath string
type ArrangementType
cdata string
Résultat Sng2014File

CopyStruct() public méthode

public CopyStruct ( object obj ) : MemoryStream
obj object
Résultat System.IO.MemoryStream

HashStruct() public méthode

public HashStruct ( object obj ) : UInt32
obj object
Résultat System.UInt32

IsCustomFont() public méthode

public IsCustomFont ( ) : bool
Résultat bool

LoadFromFile() public static méthode

Raw SNG data reader.
public static LoadFromFile ( string inputFile, System.Platform platform ) : Sng2014File
inputFile string Packed and encrypted SNG file
platform System.Platform
Résultat Sng2014File

PackSng() public static méthode

public static PackSng ( Stream input, Stream output, System.Platform platform ) : void
input Stream
output Stream
platform System.Platform
Résultat void

Read() public méthode

public Read ( EndianBinaryReader r ) : void
r EndianBinaryReader
Résultat void

ReadSng() public static méthode

public static ReadSng ( Stream input, System.Platform platform ) : Sng2014File
input Stream
platform System.Platform
Résultat Sng2014File

Sng2014File() public méthode

public Sng2014File ( ) : System
Résultat System

Sng2014File() public méthode

public Sng2014File ( Stream data ) : System
data Stream
Résultat System

UnpackSng() public static méthode

public static UnpackSng ( Stream input, Stream output, System.Platform platform ) : void
input Stream
output Stream
platform System.Platform
Résultat void

Write() public méthode

public Write ( EndianBinaryWriter w ) : void
w EndianBinaryWriter
Résultat void

WriteChartData() public méthode

public WriteChartData ( string outfile, System.Platform platform ) : void
outfile string
platform System.Platform
Résultat void

WriteSng() public méthode

public WriteSng ( Stream output, System.Platform platform ) : void
output Stream
platform System.Platform
Résultat void