Class DoubleAttribute
- Namespace
- Vintagestory.API.Datastructures
- Assembly
- VintagestoryAPI.dll
public class DoubleAttribute : ScalarAttribute<double>, IAttribute
- Inheritance
-
DoubleAttribute
- Implements
- Inherited Members
- Extension Methods
Constructors
DoubleAttribute()
public DoubleAttribute()
DoubleAttribute(double)
public DoubleAttribute(double value)
Parameters
value
double
Methods
Clone()
public IAttribute Clone()
Returns
FromBytes(BinaryReader)
public void FromBytes(BinaryReader stream)
Parameters
stream
BinaryReader
GetAttributeId()
public int GetAttributeId()
Returns
ToBytes(BinaryWriter)
public void ToBytes(BinaryWriter stream)
Parameters
stream
BinaryWriter
ToJsonToken()
public override string ToJsonToken()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.