AttackedEventArgs Class |
Special object used to hold arguments passed to the AttackedEventHandler delegate. Contains the state of the creature attacking your creature. This is useful in setting up a good defense
Namespace: Terrarium.Sdk.Classes.Creature.Events
The AttackedEventArgs type exposes the following members.
Name | Description | |
---|---|---|
![]() | AttackedEventArgs |
Creates a new set of event arguments that can be used to notify
a creature that another creature has completed an attack action
against them.
|
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. Prints the Attacker's GUID so you can identify the creature being attacked using the property browser. |
Name | Description | |
---|---|---|
![]() | Attacker | Provides the state of the creature attacking your creature. You can use this state to attack the creature back, defend, or run away. |