C# Class TagTool.TagDefinitions.MultilingualUnicodeStringList

ファイルを表示 Open project: TheGuardians/TagTool Class Usage Examples

Public Properties

Property Type Description
Data byte[]
Strings List

Public Methods

Method Description
GetString ( LocalizedString str, GameLanguage language ) : string

Gets the value of a string in a given language.

SetString ( LocalizedString str, GameLanguage language, string newValue ) : void

Sets the value of a string for a given language.

Private Methods

Method Description
GetStringLength ( int offset ) : int

Method Details

GetString() public method

Gets the value of a string in a given language.
public GetString ( LocalizedString str, GameLanguage language ) : string
str LocalizedString The string.
language GameLanguage The language.
return string

SetString() public method

Sets the value of a string for a given language.
public SetString ( LocalizedString str, GameLanguage language, string newValue ) : void
str LocalizedString The string.
language GameLanguage The language.
newValue string The new value. Can be null.
return void

Property Details

Data public_oe property

Gets or sets the data block containing every string.
public byte[] Data
return byte[]

Strings public_oe property

Gets or sets the strings in the list.
public List Strings
return List