Method | Description | |
---|---|---|
GetItemName ( short type ) : string |
Gets localized item name for type using default language.
|
|
GetItemName ( short type, System.Language language ) : string |
Gets localized item name for type and specified language.
|
|
TrimNull ( char chars ) : string |
Creates a string from character array up to first null character.
|
|
TrimNull ( string str ) : string |
Trims a string to first null character.
|
Method | Description | |
---|---|---|
LoadItemName ( int index, RefEq |
||
ReadString ( |
||
TextCore ( ) : System |
public static GetItemName ( short type ) : string | ||
type | short | /// Item type. /// |
return | string |
public static GetItemName ( short type, System.Language language ) : string | ||
type | short | /// Item type. /// |
language | System.Language | /// Language of the name. /// |
return | string |
public static TrimNull ( char chars ) : string | ||
chars | char | /// Source character array. /// |
return | string |
public static TrimNull ( string str ) : string | ||
str | string | /// String to trim. /// |
return | string |