Click or drag to resize

Buff Constructor (String, Single, BuffMode)

Create a new Buff.

Namespace:  Kit.Containers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public Buff(
	string id,
	float duration,
	BuffMode mode = BuffMode.Extend
)
Request Example View Source

Parameters

id
Type: SystemString
Upgrade ID.
duration
Type: SystemSingle
Duration of the buff in seconds.
mode (Optional)
Type: Kit.ContainersBuffMode
The BuffMode to use.
See Also