AttackCompletedEventArgs Constructor |
Initializes a new set of event arguments that can be used
in an event handler to notify the creature that an attack
has been completed.
Namespace: Terrarium.Sdk.Classes.Creature.EventsAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic AttackCompletedEventArgs(
int actionID,
Action action,
bool killed,
bool escaped,
int inflictedDamage
)
Public Sub New (
actionID As Integer,
action As Action,
killed As Boolean,
escaped As Boolean,
inflictedDamage As Integer
)
public:
AttackCompletedEventArgs(
int actionID,
Action^ action,
bool killed,
bool escaped,
int inflictedDamage
)
new :
actionID : int *
action : Action *
killed : bool *
escaped : bool *
inflictedDamage : int -> AttackCompletedEventArgs
Parameters
- actionID
- Type: SystemInt32
The ID of the action. - action
- Type: Terrarium.Sdk.Classes.ActionsAction
The action being completed. - killed
- Type: SystemBoolean
Whether the target was killed. - escaped
- Type: SystemBoolean
Whether the target escaped. - inflictedDamage
- Type: SystemInt32
How much damage was inflicted.
See Also