Table of Contents

Class BoolAttribute

Namespace
Vintagestory.API.Datastructures
Assembly
VintagestoryAPI.dll
public class BoolAttribute : ScalarAttribute<bool>, IAttribute
Inheritance
BoolAttribute
Implements
Inherited Members
Extension Methods

Constructors

BoolAttribute()

public BoolAttribute()

BoolAttribute(bool)

public BoolAttribute(bool value)

Parameters

value bool

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