C# Class fNbt.NbtInt

A tag containing a single signed 32-bit integer.
Inheritance: NbtTag
Afficher le fichier Open project: fragmer/fNbt Class Usage Examples

Méthodes publiques

Méthode Description
Clone ( ) : object
NbtInt ( ) : System

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

NbtInt ( [ tagName ) : System

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

NbtInt ( [ tagName, int value ) : System

Creates an NbtInt tag with the given name and value.

NbtInt ( int value ) : System

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

NbtInt() public méthode

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

NbtInt() public méthode

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

NbtInt() public méthode

Creates an NbtInt tag with the given name and value.
public NbtInt ( [ tagName, int value ) : System
tagName [ Name to assign to this tag. May be null.
value int Value to assign to this tag.
Résultat System

NbtInt() public méthode

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