Class TreeArrayAttribute
- Namespace
- Vintagestory.API.Datastructures
- Assembly
- VintagestoryAPI.dll
public class TreeArrayAttribute : ArrayAttribute<TreeAttribute>, IAttribute
- Inheritance
-
TreeArrayAttribute
- Implements
- Inherited Members
- Extension Methods
Constructors
TreeArrayAttribute()
public TreeArrayAttribute()
TreeArrayAttribute(TreeAttribute[])
public TreeArrayAttribute(TreeAttribute[] value)
Parameters
valueTreeAttribute[]
Methods
Clone()
public IAttribute Clone()
Returns
FromBytes(BinaryReader)
[Obsolete("Use the BinarySpanReader overload.", true)]
public void FromBytes(BinaryReader reader)
Parameters
readerBinaryReader
FromBytes(ref BinarySpanReader)
public void FromBytes(ref BinarySpanReader reader)
Parameters
readerBinarySpanReader
Remarks
Do not call this default implementation when overriding this method, it only exists for backwards compat.
GetAttributeId()
public int GetAttributeId()
Returns
ToBytes(BinaryWriter)
public void ToBytes(BinaryWriter stream)
Parameters
streamBinaryWriter