Anvil
Anvil.API.Events.PlaceableEvents.OnDisturbed Class Reference

Called when NwPlaceable inventory has been disturbed. More...

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

Properties

NwItemDisturbedItem = NWScript.GetInventoryDisturbItem().ToNwObject<NwItem>() [get]
 Gets the NwItem that triggered the disturb event on NwPlaceable. More...
 
NwGameObjectDisturber = NWScript.GetLastDisturbed().ToNwObject<NwGameObject>() [get]
 Gets the object that disturbed NwPlaceable. More...
 
InventoryDisturbType DisturbType = (InventoryDisturbType)NWScript.GetInventoryDisturbType() [get]
 Gets the InventoryDisturbType. More...
 
NwPlaceable Placeable = NWScript.OBJECT_SELF.ToNwObject<NwPlaceable>()! [get]
 Gets the NwPlaceable that was disturbed. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Called when NwPlaceable inventory has been disturbed.

Property Documentation

◆ DisturbedItem

NwItem? Anvil.API.Events.PlaceableEvents.OnDisturbed.DisturbedItem = NWScript.GetInventoryDisturbItem().ToNwObject<NwItem>()
get

Gets the NwItem that triggered the disturb event on NwPlaceable.

◆ Disturber

NwGameObject? Anvil.API.Events.PlaceableEvents.OnDisturbed.Disturber = NWScript.GetLastDisturbed().ToNwObject<NwGameObject>()
get

Gets the object that disturbed NwPlaceable.

◆ DisturbType

InventoryDisturbType Anvil.API.Events.PlaceableEvents.OnDisturbed.DisturbType = (InventoryDisturbType)NWScript.GetInventoryDisturbType()
get

Gets the InventoryDisturbType.

◆ Placeable

NwPlaceable Anvil.API.Events.PlaceableEvents.OnDisturbed.Placeable = NWScript.OBJECT_SELF.ToNwObject<NwPlaceable>()!
get

Gets the NwPlaceable that was disturbed.


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