C# Class fNbt.NbtLong

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

Public Methods

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

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

NbtLong ( [ other ) : System

Creates a copy of given NbtLong tag.

NbtLong ( long value ) : System

Creates an unnamed NbtLong tag with the given value.

NbtLong ( string tagName ) : System

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

NbtLong ( string tagName, long value ) : System

Creates an NbtLong tag with the given name and 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

NbtLong() public method

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

NbtLong() public method

Creates a copy of given NbtLong tag.
is null.
public NbtLong ( [ other ) : System
other [ Tag to copy. May not be null.
return System

NbtLong() public method

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

NbtLong() public method

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

NbtLong() public method

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