C# Class HyoutaTools.Tales.Vesperia.TSS.TSSFile

Mostra file Open project: AdmiralCurtiss/HyoutaTools Class Usage Examples

Public Properties

Property Type Description
Entries HyoutaTools.Tales.Vesperia.TSS.TSSEntry[]
File byte[]
Header TSSHeader

Public Methods

Method Description
ExportText ( ) : byte[]
ExportTextForEnglishDump ( ) : byte[]
GenerateInGameIdDictionary ( ) : TSSEntry>.Dictionary
ImportSQL ( bool placeEnglishInJpnEntry = true, bool updateDatabaseWithInGameStringId = false, bool generateGracesEnglish = false ) : bool
ImportText ( byte TextFile ) : void
Serialize ( ) : byte[]
TSSFile ( byte File, bool isUtf8 = false ) : System

Private Methods

Method Description
RemoveTags ( String s ) : String
UpdateDatabaseWithInGameStringId ( SQLiteConnection conn, int pointerref, int ingameid, string>.Dictionary npcInGameIdMapDict = null ) : void
UpdateGracesJapanese ( System.Data.SQLite.SQLiteTransaction ta, int id, string originalString, int debug ) : void

Method Details

ExportText() public method

public ExportText ( ) : byte[]
return byte[]

ExportTextForEnglishDump() public method

public ExportTextForEnglishDump ( ) : byte[]
return byte[]

GenerateInGameIdDictionary() public method

public GenerateInGameIdDictionary ( ) : TSSEntry>.Dictionary
return TSSEntry>.Dictionary

ImportSQL() public method

public ImportSQL ( bool placeEnglishInJpnEntry = true, bool updateDatabaseWithInGameStringId = false, bool generateGracesEnglish = false ) : bool
placeEnglishInJpnEntry bool
updateDatabaseWithInGameStringId bool
generateGracesEnglish bool
return bool

ImportText() public method

public ImportText ( byte TextFile ) : void
TextFile byte
return void

Serialize() public method

public Serialize ( ) : byte[]
return byte[]

TSSFile() public method

public TSSFile ( byte File, bool isUtf8 = false ) : System
File byte
isUtf8 bool
return System

Property Details

Entries public_oe property

public TSSEntry[],HyoutaTools.Tales.Vesperia.TSS Entries
return HyoutaTools.Tales.Vesperia.TSS.TSSEntry[]

File public_oe property

public byte[] File
return byte[]

Header public_oe property

public TSSHeader,HyoutaTools.Tales.Vesperia.TSS Header
return TSSHeader