Kit Documentation
Kit Documentation
Kit Reference
Kit.Containers
Effect Structure
Effect Constructor
Effect Constructor (String, String)
Effect Constructor (String, EffectType, Single)
Effect Constructor (String, EffectType, Single)
Create a new
Effect
.
Namespace:
Kit.Containers
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
Copy
public
Effect
(
string
stat
,
EffectType
type
,
float
value
)
Request Example
View Source
Parameters
stat
Type:
System
String
The ID of the stat.
type
Type:
Kit.Containers
EffectType
The effect type.
value
Type:
System
Single
The amount of the effect.
Examples
new Effect("Ammo", EffectType.Constant, +5)
See Also
Reference
Effect Structure
Effect Overload
Kit.Containers Namespace
Send comments on this topic to
agam@frag-games.com