Kit Documentation
Kit Documentation
Kit Reference
Kit.Containers
Stats Class
Stats Methods
CalculateValue Method
CalculateValue Method (ValueTuple(Single, Single, Single), Single)
CalculateValue Method (IUpgradeable, String, Single)
Stats
CalculateValue 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#
Copy
public
static
float
CalculateValue
(
IUpgradeable
upgradeable
,
string
stat
,
float
baseValue
)
Request Example
View Source
Parameters
upgradeable
Type:
Kit.Containers
IUpgradeable
The
IUpgradeable
to get the list of upgrades from.
stat
Type:
System
String
The stat name to calculate value of.
baseValue
Type:
System
Single
The base value to use.
Return Value
Type:
Single
Current value of a stat.
See Also
Reference
Stats Class
CalculateValue Overload
Kit.Containers Namespace
Send comments on this topic to
agam@frag-games.com