The Effect type exposes the following members.

Constructors

  NameDescription
Public methodEffect(SerializationInfo, StreamingContext)
Deserialization constructor.
Public methodEffect(IEffectable, String)
Constructor for Effect.

Methods

  NameDescription
Public methodApply
This method should be overridden to implement whatever the effect is supposed to achieve.
Public methodDestroy
Calls [!:TMD.Driver.Instance.DestroyObject] to remove call outs, etc.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetCreatorToBlame
Who to blame for anything that goes wrong with this effect.
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectData
Get data for serialization.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnDeserialization
When an effect is deserialised, this calls Apply()()()() so it can set up CallOuts and modifiers again.
Public methodReApply
Method should be overridden to re-apply an effect after deserialization.
Public methodRemove
This method should be overridden to remove whatever this effect does. Calls Destroy()()()() so it can stop call outs if necessary.
Public methodToString (Inherited from Object.)

Properties

  NameDescription
Public propertyApplied
Has this effect been applied.
Public propertyCreator
Who to blame.
Public propertyDescription
A description of this effect.
Public propertyTarget
The target that this object is applied to

See Also