Anvil
Anvil.API.Events.OnDoorSetOpenState Class Reference

Called when a door's open state is changed (open/closed/destroyed). More...

+ Inheritance diagram for Anvil.API.Events.OnDoorSetOpenState:
+ Collaboration diagram for Anvil.API.Events.OnDoorSetOpenState:

Classes

class  Factory
 

Properties

NwDoor Door = null! [get]
 The door that is being open/closed. More...
 
DoorOpenState OpenState [get, set]
 The new open state of the door. More...
 
bool PreventStateChange [get, set]
 Gets or sets if the door state should not be changed. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Called when a door's open state is changed (open/closed/destroyed).

Property Documentation

◆ Door

NwDoor Anvil.API.Events.OnDoorSetOpenState.Door = null!
get

The door that is being open/closed.

◆ OpenState

DoorOpenState Anvil.API.Events.OnDoorSetOpenState.OpenState
getset

The new open state of the door.

◆ PreventStateChange

bool Anvil.API.Events.OnDoorSetOpenState.PreventStateChange
getset

Gets or sets if the door state should not be changed.


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