C# 클래스 fNbt.NbtTag

Base class for different kinds of named binary tags.
상속: ICloneable
파일 보기 프로젝트 열기: fragmer/fNbt 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
name string

Private Properties

프로퍼티 타입 설명
GetCanonicalTagName string
PrettyPrint void
ReadTag bool
SkipTag void
ToString string
WriteData void
WriteTag void

공개 메소드들

메소드 설명
Clone ( ) : object

Creates a deep copy of this tag.

ToString ( ) : string

Prints contents of this tag, and any child tags, to a string. Indents the string using multiples of the given indentation string.

this ( int tagIndex ) : NbtTag

Gets or sets the tag at the specified index.

ONLY APPLICABLE TO NbtList, NbtByteArray, and NbtIntArray OBJECTS! Included in NbtTag base class for programmers' convenience, to avoid extra type casts.

this ( string tagName ) : NbtTag

Gets or sets the tag with the specified name. May return null.

ONLY APPLICABLE TO NbtCompound OBJECTS! Included in NbtTag base class for programmers' convenience, to avoid extra type casts.

비공개 메소드들

메소드 설명
GetCanonicalTagName ( NbtTagType type ) : string
PrettyPrint ( [ sb, [ indentString, int indentLevel ) : void
ReadTag ( [ readStream ) : bool
SkipTag ( [ readStream ) : void
ToString ( [ indentString ) : string
WriteData ( [ writeReader ) : void
WriteTag ( [ writeReader ) : void

메소드 상세

Clone() 공개 추상적인 메소드

Creates a deep copy of this tag.
public abstract Clone ( ) : object
리턴 object

ToString() 공개 메소드

Prints contents of this tag, and any child tags, to a string. Indents the string using multiples of the given indentation string.
public ToString ( ) : string
리턴 string

this() 공개 메소드

Gets or sets the tag at the specified index.
ONLY APPLICABLE TO NbtList, NbtByteArray, and NbtIntArray OBJECTS! Included in NbtTag base class for programmers' convenience, to avoid extra type casts.
tagIndex is not a valid index in this tag. Given tag is null. Given tag's type does not match ListType. If used on a tag that is not NbtList, NbtByteArray, or NbtIntArray.
public this ( int tagIndex ) : NbtTag
tagIndex int The zero-based index of the tag to get or set.
리턴 NbtTag

this() 공개 메소드

Gets or sets the tag with the specified name. May return null.
ONLY APPLICABLE TO NbtCompound OBJECTS! Included in NbtTag base class for programmers' convenience, to avoid extra type casts.
If used on a tag that is not NbtCompound.
public this ( string tagName ) : NbtTag
tagName string The name of the tag to get or set. Must match tag's actual name.
리턴 NbtTag

프로퍼티 상세

name 보호되어 있는 프로퍼티

protected string name
리턴 string