C# 클래스 AlbLib.Texts.TextCore

Core texts class.
파일 보기 프로젝트 열기: IllidanS4/AlbLib

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
LoadItemName ( int index, RefEq encoding ) : LanguageTerm
ReadString ( BinaryReader reader ) : string
TextCore ( ) : System

메소드 상세

GetItemName() 공개 정적인 메소드

Gets localized item name for type using default language.
public static GetItemName ( short type ) : string
type short /// Item type. ///
리턴 string

GetItemName() 공개 정적인 메소드

Gets localized item name for type and specified language.
public static GetItemName ( short type, System.Language language ) : string
type short /// Item type. ///
language System.Language /// Language of the name. ///
리턴 string

TrimNull() 공개 정적인 메소드

Creates a string from character array up to first null character.
public static TrimNull ( char chars ) : string
chars char /// Source character array. ///
리턴 string

TrimNull() 공개 정적인 메소드

Trims a string to first null character.
public static TrimNull ( string str ) : string
str string /// String to trim. ///
리턴 string