Table of Contents

Class ByteArray2DAttribute

Namespace
Vintagestory.API.Datastructures
Assembly
VintagestoryAPI.dll
public class ByteArray2DAttribute : Array2DAttribute<byte>, IAttribute
Inheritance
ByteArray2DAttribute
Implements
Inherited Members
Extension Methods

Constructors

ByteArray2DAttribute()

public ByteArray2DAttribute()

ByteArray2DAttribute(byte[,])

public ByteArray2DAttribute(byte[,] value)

Parameters

value byte[,]

Methods

Clone()

public IAttribute Clone()

Returns

IAttribute

FromBytes(ref BinarySpanReader)

public void FromBytes(ref BinarySpanReader reader)

Parameters

reader BinarySpanReader

Remarks

Do not call this default implementation when overriding this method, it only exists for backwards compat.

GetAttributeId()

public int GetAttributeId()

Returns

int

ToBytes(BinaryWriter)

public void ToBytes(BinaryWriter stream)

Parameters

stream BinaryWriter