Anvil
Anvil.API.Events.PlaceableEvents.OnPhysicalAttacked Class Reference

Called when NwPlaceable has been physically attacked. More...

+ Inheritance diagram for Anvil.API.Events.PlaceableEvents.OnPhysicalAttacked:
+ Collaboration diagram for Anvil.API.Events.PlaceableEvents.OnPhysicalAttacked:

Public Member Functions

ActionMode AttackMode (NwCreature attacker)
 Gets the ActionMode used to damage NwPlaceable. More...
 
NwItemWeaponUsed (NwCreature attacker)
 Gets the NwItem used to damage NwPlaceable. More...
 

Properties

NwCreatureAttacker [get]
 Gets the NwCreature that attacked the NwPlaceable. More...
 
SpecialAttack AttackType [get]
 Gets the SpecialAttack used to damage NwPlaceable. More...
 
NwPlaceable Placeable [get]
 Gets the NwPlaceable that was physically attacked. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Called when NwPlaceable has been physically attacked.

Member Function Documentation

◆ AttackMode()

ActionMode Anvil.API.Events.PlaceableEvents.OnPhysicalAttacked.AttackMode ( NwCreature  attacker)
inline

Gets the ActionMode used to damage NwPlaceable.

◆ WeaponUsed()

NwItem? Anvil.API.Events.PlaceableEvents.OnPhysicalAttacked.WeaponUsed ( NwCreature  attacker)
inline

Gets the NwItem used to damage NwPlaceable.

Property Documentation

◆ Attacker

NwCreature? Anvil.API.Events.PlaceableEvents.OnPhysicalAttacked.Attacker
get

Gets the NwCreature that attacked the NwPlaceable.

◆ AttackType

SpecialAttack Anvil.API.Events.PlaceableEvents.OnPhysicalAttacked.AttackType
get

Gets the SpecialAttack used to damage NwPlaceable.

◆ Placeable

NwPlaceable Anvil.API.Events.PlaceableEvents.OnPhysicalAttacked.Placeable
get

Gets the NwPlaceable that was physically attacked.


The documentation for this class was generated from the following file: