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.
Namespace: Terrarium.Sdk.Classes.Creature.Events
The DefendCompletedEventArgs type exposes the following members.
Name | Description | |
---|---|---|
![]() | DefendCompletedEventArgs | Initializes a new instance of the DefendCompletedEventArgs class |
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Provides a string representation of this class for debugging purposes. |
Name | Description | |
---|---|---|
![]() | Action |
Retrieves the Acton that was completed.
(Inherited from ActionResponseEventArgs.) |
![]() | ActionID |
Retrives the ID of the action.
(Inherited from ActionResponseEventArgs.) |
![]() | DefendAction | 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. |