Click or drag to resize
DefendCompletedEventArgs Class

Special object used to hold arguments passed to the DefendCompletedEventHandler delegate. This class provides information about the creature that was blocked against so it can be used for future defensive strategies.

Inheritance Hierarchy

Namespace: Terrarium.Sdk.Classes.Creature.Events
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
[SerializableAttribute]
public class DefendCompletedEventArgs : ActionResponseEventArgs

The DefendCompletedEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodDefendCompletedEventArgs
Initializes a new instance of the DefendCompletedEventArgs class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString

Provides a string representation of this class for debugging purposes.

(Overrides ActionResponseEventArgsToString.)
Top
Properties
  NameDescription
Public propertyAction
Retrieves the Acton that was completed.
(Inherited from ActionResponseEventArgs.)
Public propertyActionID
Retrives the ID of the action.
(Inherited from ActionResponseEventArgs.)
Public propertyDefendAction

The DefendAction object that holds information passed to the BeginDefending method. This can be used to retrieve the AnimalState of the creature you're defending against.

Top
See Also