Table of Contents

Class EntityFloatStats

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public class EntityFloatStats
Inheritance
EntityFloatStats
Inherited Members

Constructors

EntityFloatStats()

public EntityFloatStats()

Fields

BlendType

public EnumStatBlendType BlendType

Field Value

EnumStatBlendType

ValuesByKey

public OrderedDictionary<string, EntityStat<float>> ValuesByKey

Field Value

OrderedDictionary<string, EntityStat<float>>

Methods

FromTreeAttributes(ITreeAttribute)

public void FromTreeAttributes(ITreeAttribute tree)

Parameters

tree ITreeAttribute

GetBlended()

public float GetBlended()

Returns

float

Remove(string)

public void Remove(string code)

Parameters

code string

Set(string, float, bool)

public void Set(string code, float value, bool persistent = false)

Parameters

code string
value float
persistent bool

ToTreeAttributes(ITreeAttribute, bool)

public void ToTreeAttributes(ITreeAttribute tree, bool forClient)

Parameters

tree ITreeAttribute
forClient bool