C# Class fNbt.NbtShort

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

Méthodes publiques

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

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

NbtShort ( [ tagName ) : System

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

NbtShort ( [ tagName, short value ) : System

Creates an NbtShort tag with the given name and value.

NbtShort ( short value ) : System

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

NbtShort() public méthode

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

NbtShort() public méthode

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

NbtShort() public méthode

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

NbtShort() public méthode

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