C# Class fNbt.NbtFloat

A tag containing a single-precision floating point number.
Inheritance: NbtTag
Afficher le fichier Open project: fragmer/fNbt Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Clone ( ) : object
Résultat object

NbtFloat() public méthode

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

NbtFloat() public méthode

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.
Résultat System

NbtFloat() public méthode

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.
Résultat System

NbtFloat() public méthode

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