Table of Contents

Class FloatAttribute

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

Constructors

FloatAttribute()

public FloatAttribute()

FloatAttribute(float)

public FloatAttribute(float value)

Parameters

value float

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

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.