Click or drag to resize

EffectParse Method

Converts a string to EffectType and value.

"x" at the beginning of a string translates to Multiplier, a string ending with "%" means Percentage, while neither of those means Constant. Rest of the string should be a number denoting the value.

Namespace:  Kit.Containers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static (EffectType , float ) Parse(
	string str
)
Request Example View Source

Parameters

str
Type: SystemString

Return Value

Type: ValueTupleEffectType, Single
The EffectType and value in the form of a tuple.
See Also