Class IntArrayAttribute
- Namespace
- Vintagestory.API.Datastructures
- Assembly
- VintagestoryAPI.dll
public class IntArrayAttribute : ArrayAttribute<int>, IAttribute
- Inheritance
-
IntArrayAttribute
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
IntArrayAttribute()
public IntArrayAttribute()
IntArrayAttribute(int[])
public IntArrayAttribute(int[] value)
Parameters
value
int[]
IntArrayAttribute(ushort[])
public IntArrayAttribute(ushort[] value)
Parameters
value
ushort[]
IntArrayAttribute(uint[])
public IntArrayAttribute(uint[] value)
Parameters
value
uint[]
Properties
AsUShort
public ushort[] AsUShort { get; }
Property Value
- ushort[]
AsUint
public uint[] AsUint { get; }
Property Value
- uint[]
Methods
AddInt(params int[])
public void AddInt(params int[] val)
Parameters
val
int[]
Clone()
public IAttribute Clone()
Returns
- IAttribute
FromBytes(BinaryReader)
public void FromBytes(BinaryReader stream)
Parameters
stream
BinaryReader
GetAttributeId()
public int GetAttributeId()
Returns
- int
RemoveInt(int)
public void RemoveInt(int val)
Parameters
val
int
ToBytes(BinaryWriter)
public void ToBytes(BinaryWriter stream)
Parameters
stream
BinaryWriter