Table of Contents

Class LongAttribute

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

Constructors

LongAttribute()

public LongAttribute()

LongAttribute(long)

public LongAttribute(long value)

Parameters

value long

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