C# Класс fNbt.NbtFloat

A tag containing a single-precision floating point number.
Наследование: NbtTag
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
PrettyPrint ( StringBuilder sb, string indentString, int indentLevel ) : void
ReadTag ( NbtBinaryReader readStream ) : bool
SkipTag ( NbtBinaryReader readStream ) : void
WriteData ( NbtBinaryWriter writeStream ) : void
WriteTag ( NbtBinaryWriter writeStream ) : void

Описание методов

Clone() публичный Метод

public Clone ( ) : object
Результат object

NbtFloat() публичный Метод

Creates an unnamed NbtFloat tag with the default value of 0f.
public NbtFloat ( ) : System
Результат System

NbtFloat() публичный Метод

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.
Результат System

NbtFloat() публичный Метод

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.
Результат System

NbtFloat() публичный Метод

Creates an unnamed NbtFloat tag with the given value.
public NbtFloat ( float value ) : System
value float Value to assign to this tag.
Результат System