C# Class fNbt.NbtFloat

A tag containing a single-precision floating point number.
Inheritance: NbtTag
ファイルを表示 Open project: fragmer/fNbt Class Usage Examples

Public Methods

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

Creates an unnamed NbtFloat tag with the default value of 0f.

NbtFloat ( [ tagName ) : System

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

NbtFloat ( [ tagName, float value ) : System

Creates an NbtFloat tag with the given name and value.

NbtFloat ( float value ) : System

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

NbtFloat() public method

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

NbtFloat() public method

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

NbtFloat() public method

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

NbtFloat() public method

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