Click or drag to resize

Upgrade Class

A list of effects to be identified by an ID.
Inheritance Hierarchy

Namespace:  Kit.Containers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
[SerializableAttribute]
public class Upgrade
Request Example View Source

The Upgrade type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAddEffect(Effect)
Add the specified Effect.
Public methodAddEffect(String, String)
Create a new Effect and add it.
Public methodAddEffect(String, EffectType, Single)
Create a new Effect and add it.
Public methodAddEffects
Add specified Effects.
Public methodApply
Add the upgrade to an upgradeable's list.
Public methodStatic memberFind
Find an Upgrade with its ID.
Public methodRemoveEffect
Remove the specified Effect.
Public methodRemoveEffects
Remove all Effects associated with the given stat ID.
Public methodStatic memberRemoveFrom
Remove an Upgrade with its ID.
Top
Fields
  NameDescription
Public fieldEffects
List of effects this upgrade causes.
Public fieldID
ID of the upgrade.
Top
See Also