Table of Contents

Interface IAttribute

Namespace
Vintagestory.API.Datastructures
Assembly
VintagestoryAPI.dll

An attribute from an attribute tree

public interface IAttribute

Methods

Clone()

IAttribute Clone()

Returns

IAttribute

Equals(IWorldAccessor, IAttribute)

bool Equals(IWorldAccessor worldForResolve, IAttribute attr)

Parameters

worldForResolve IWorldAccessor
attr IAttribute

Returns

bool

FromBytes(BinaryReader)

void FromBytes(BinaryReader stream)

Parameters

stream BinaryReader

GetAttributeId()

int GetAttributeId()

Returns

int

GetType()

Type GetType()

Returns

Type

GetValue()

object GetValue()

Returns

object

ToBytes(BinaryWriter)

void ToBytes(BinaryWriter stream)

Parameters

stream BinaryWriter

ToJsonToken()

string ToJsonToken()

Returns

string