Class Gate
Represents a "pryable" door or gate.
public class Gate : BasicDoor, IWrapper<DoorVariant>, IWorldSpace, IPosition, IRotation- Inheritance
- 
      
      
      
      
      Gate
- Implements
- 
      IWrapper<DoorVariant>
- Inherited Members
- Extension Methods
Constructors
Gate(PryableDoor, List<Room>)
Initializes a new instance of the Gate class.
public Gate(PryableDoor door, List<Room> room)Parameters
- doorPryableDoor
- The base Interactables.Interobjects.PryableDoor for this door. 
- roomList<Room>
- The Room's for this door. 
Properties
Base
Gets the base Interactables.Interobjects.PryableDoor.
public PryableDoor Base { get; }Property Value
- PryableDoor
BlockingPryingMask
Gets or sets DoorLockType which will block prying if door has them.
public DoorLockType BlockingPryingMask { get; set; }Property Value
IsFullyClosed
Gets a value indicating whether the door is fully closed.
public override bool IsFullyClosed { get; }Property Value
IsFullyOpen
Gets a value indicating whether the door is fully open.
public override bool IsFullyOpen { get; }Property Value
IsMoving
Gets a value indicating whether the door is currently moving.
public override bool IsMoving { get; }Property Value
PryPositions
Gets the list of all available pry positions.
public IEnumerable<Transform> PryPositions { get; }Property Value
- IEnumerable<Transform>
RemainingPryCooldown
Gets or sets remaining cooldown for prying.
public float RemainingPryCooldown { get; set; }Property Value
Methods
ToString()
Returns the Door in a human-readable format.
public override string ToString()Returns
- string
- A string containing Door-related data. 
TryPry(Player)
Tries to pry the door open. No effect if the door cannot be pried.
public bool TryPry(Player player = null)