Click or drag to resize

Effect Constructor (String, EffectType, Single)

Create a new Effect.

Namespace:  Kit.Containers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public Effect(
	string stat,
	EffectType type,
	float value
)
Request Example View Source

Parameters

stat
Type: SystemString
The ID of the stat.
type
Type: Kit.ContainersEffectType
The effect type.
value
Type: SystemSingle
The amount of the effect.
Examples
new Effect("Ammo", EffectType.Constant, +5)
See Also