C# Класс fNbt.NbtIntArray

A tag containing an array of signed 32-bit integers.
Наследование: NbtTag
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
PrettyPrint void
ReadTag bool
SkipTag void
WriteData void
WriteTag void

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

Метод Описание
Clone ( ) : object
NbtIntArray ( ) : System

Creates an unnamed NbtIntArray tag, containing an empty array of ints.

NbtIntArray ( [ value ) : System

Creates an unnamed NbtIntArray tag, containing the given array of ints.

Given int array will be cloned. To avoid unnecessary copying, call one of the other constructor overloads (that do not take a int[]) and then set the Value property yourself.

NbtIntArray ( [ tagName, [ value ) : System

Creates an NbtIntArray tag with the given name, containing the given array of ints.

Given int array will be cloned. To avoid unnecessary copying, call one of the other constructor overloads (that do not take a int[]) and then set the Value property yourself.

this ( int tagIndex ) : int

Gets or sets an integer at the given index.

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

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

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

Creates an unnamed NbtIntArray tag, containing an empty array of ints.
public NbtIntArray ( ) : System
Результат System

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

Creates an unnamed NbtIntArray tag, containing the given array of ints.
Given int array will be cloned. To avoid unnecessary copying, call one of the other constructor overloads (that do not take a int[]) and then set the Value property yourself.
is null.
public NbtIntArray ( [ value ) : System
value [ Int array to assign to this tag's Value. May not be null.
Результат System

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

Creates an NbtIntArray tag with the given name, containing the given array of ints.
Given int array will be cloned. To avoid unnecessary copying, call one of the other constructor overloads (that do not take a int[]) and then set the Value property yourself.
is null.
public NbtIntArray ( [ tagName, [ value ) : System
tagName [ Name to assign to this tag. May be null.
value [ Int array to assign to this tag's Value. May not be null.
Результат System

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

Gets or sets an integer at the given index.
is outside the array bounds.
public this ( int tagIndex ) : int
tagIndex int The zero-based index of the element to get or set.
Результат int