Click or drag to resize

StatsCalculateValue Method (IUpgradeable, String, Single)

Calculate the current value of an stat based on base value.

Namespace:  Kit.Containers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static float CalculateValue(
	IUpgradeable upgradeable,
	string stat,
	float baseValue
)
Request Example View Source

Parameters

upgradeable
Type: Kit.ContainersIUpgradeable
The IUpgradeable to get the list of upgrades from.
stat
Type: SystemString
The stat name to calculate value of.
baseValue
Type: SystemSingle
The base value to use.

Return Value

Type: Single
Current value of a stat.
See Also