Click or drag to resize

Stats Methods

The Stats type exposes the following members.

Methods
  NameDescription
Public methodAdd
Set the base value of a stat.
Public methodStatic memberCalculateValue(ValueTupleSingle, Single, Single, Single)
Calculate current value from a base value and aggregates.
Public methodStatic memberCalculateValue(IUpgradeable, String, Single)
Calculate the current value of an stat based on base value.
Public methodStatic memberCreateCurrentProperty
Create a property that changes values when the base property changes or an upgrade is added or removed.
Public methodDispose
Public methodStatic memberGetAggregates(IEnumerableEffect)
Calculate aggregates from a list of effects.
Public methodStatic memberGetAggregates(IUpgradeable, String)
Calculate aggregates of an stat.
Public methodGetBaseProperty
Get the base value property of a stat.
Public methodGetBaseValue
Get the base value of a stat.
Public methodGetCurrentProperty
Get the current value property of a stat.
Public methodGetCurrentValue
Get the current value of a stat.
Public methodStatic memberGetEffects
Get all effects on an IUpgradeable for a given stat.
Public methodStatic memberGetEffectsAndUpgrades
Get all upgrades and effects on an IUpgradeable for a given stat.
Public methodSetBaseProperty
Set the base value property of a stat.
Public methodSetBaseValue
Set the base value of a stat.
Public methodToString
Returns all the base and current values as a formatted table.
(Overrides ObjectToString.)
Top
See Also