C# Class fNbt.NbtShort

A tag containing a single signed 16-bit integer.
Inheritance: NbtTag
Mostrar archivo Open project: fragmer/fNbt Class Usage Examples

Public Methods

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

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

NbtShort ( [ tagName ) : System

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

NbtShort ( [ tagName, short value ) : System

Creates an NbtShort tag with the given name and value.

NbtShort ( short value ) : System

Creates an unnamed NbtShort 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

NbtShort() public method

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

NbtShort() public method

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

NbtShort() public method

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

NbtShort() public method

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