C# Class fNbt.NbtDouble

A tag containing a double-precision floating point number.
Inheritance: NbtTag
Mostra file Open project: fragmer/fNbt Class Usage Examples

Public Methods

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

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

NbtDouble ( [ tagName ) : System

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

NbtDouble ( [ tagName, double value ) : System

Creates an NbtDouble tag with the given name and value.

NbtDouble ( double value ) : System

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

NbtDouble() public method

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

NbtDouble() public method

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

NbtDouble() public method

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

NbtDouble() public method

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