Anvil
Anvil.API.Events.DoorEvents.OnDamaged Class Reference
+ Inheritance diagram for Anvil.API.Events.DoorEvents.OnDamaged:
+ Collaboration diagram for Anvil.API.Events.DoorEvents.OnDamaged:

Public Member Functions

int GetDamageDealtByType (DamageType damageType)
 Gets damage dealt to NwDoor, by DamageType. More...
 

Properties

NwCreature DamagedBy = NWScript.GetLastDamager().ToNwObject<NwCreature>()! [get]
 Gets the NwCreature that damaged the NwDoor. More...
 
NwDoor Door = NWScript.OBJECT_SELF.ToNwObject<NwDoor>()! [get]
 Gets the NwDoor that was damaged. More...
 
int TotalDamageDealt = NWScript.GetTotalDamageDealt() [get]
 Gets the total damage dealt to the NwDoor. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Member Function Documentation

◆ GetDamageDealtByType()

int Anvil.API.Events.DoorEvents.OnDamaged.GetDamageDealtByType ( DamageType  damageType)
inline

Gets damage dealt to NwDoor, by DamageType.

Property Documentation

◆ DamagedBy

NwCreature Anvil.API.Events.DoorEvents.OnDamaged.DamagedBy = NWScript.GetLastDamager().ToNwObject<NwCreature>()!
get

Gets the NwCreature that damaged the NwDoor.

◆ Door

NwDoor Anvil.API.Events.DoorEvents.OnDamaged.Door = NWScript.OBJECT_SELF.ToNwObject<NwDoor>()!
get

Gets the NwDoor that was damaged.

◆ TotalDamageDealt

int Anvil.API.Events.DoorEvents.OnDamaged.TotalDamageDealt = NWScript.GetTotalDamageDealt()
get

Gets the total damage dealt to the NwDoor.


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