C# Class fNbt.NbtInt

A tag containing a single signed 32-bit integer.
Inheritance: NbtTag
ファイルを表示 Open project: fragmer/fNbt Class Usage Examples

Public Methods

Method Description
Clone ( ) : object
NbtInt ( ) : System

Creates an unnamed NbtInt tag with the default value of 0.

NbtInt ( [ tagName ) : System

Creates an NbtInt tag with the given name and the default value of 0.

NbtInt ( [ tagName, int value ) : System

Creates an NbtInt tag with the given name and value.

NbtInt ( int value ) : System

Creates an unnamed NbtInt tag with the given value.

Private Methods

Method Description
PrettyPrint ( StringBuilder sb, string indentString, int indentLevel ) : void
ReadTag ( NbtBinaryReader readStream ) : bool
SkipTag ( NbtBinaryReader readStream ) : void
WriteData ( NbtBinaryWriter writeStream ) : void
WriteTag ( NbtBinaryWriter writeStream ) : void

Method Details

Clone() public method

public Clone ( ) : object
return object

NbtInt() public method

Creates an unnamed NbtInt tag with the default value of 0.
public NbtInt ( ) : System
return System

NbtInt() public method

Creates an NbtInt tag with the given name and the default value of 0.
public NbtInt ( [ tagName ) : System
tagName [ Name to assign to this tag. May be null.
return System

NbtInt() public method

Creates an NbtInt tag with the given name and value.
public NbtInt ( [ tagName, int value ) : System
tagName [ Name to assign to this tag. May be null.
value int Value to assign to this tag.
return System

NbtInt() public method

Creates an unnamed NbtInt tag with the given value.
public NbtInt ( int value ) : System
value int Value to assign to this tag.
return System