Table of Contents

Class StringAttribute

Namespace
Vintagestory.API.Datastructures
Assembly
VintagestoryAPI.dll
public class StringAttribute : ScalarAttribute<string>, IAttribute
Inheritance
StringAttribute
Implements
Inherited Members

Constructors

StringAttribute()

public StringAttribute()

StringAttribute(string)

public StringAttribute(string value)

Parameters

value string

Methods

Clone()

public IAttribute Clone()

Returns

IAttribute

FromBytes(BinaryReader)

public void FromBytes(BinaryReader stream)

Parameters

stream BinaryReader

GetAttributeId()

public int GetAttributeId()

Returns

int

ToBytes(BinaryWriter)

public void ToBytes(BinaryWriter stream)

Parameters

stream BinaryWriter

ToJsonToken()

public override string ToJsonToken()

Returns

string