Class StringAttribute
- Namespace
- Vintagestory.API.Datastructures
- Assembly
- VintagestoryAPI.dll
public class StringAttribute : ScalarAttribute<string>, IAttribute
- Inheritance
-
StringAttribute
- Implements
- Inherited Members
- Extension Methods
Constructors
StringAttribute()
public StringAttribute()
StringAttribute(string)
public StringAttribute(string value)
Parameters
valuestring
Methods
Clone()
public IAttribute Clone()
Returns
FromBytes(BinaryReader)
public void FromBytes(BinaryReader stream)
Parameters
streamBinaryReader
GetAttributeId()
public int GetAttributeId()
Returns
ToBytes(BinaryWriter)
public void ToBytes(BinaryWriter stream)
Parameters
streamBinaryWriter
ToJsonToken()
public override string ToJsonToken()