Class CheckpointDoor
Represents a checkpoint door.
Implements
IWrapper<Interactables.Interobjects.DoorUtils.DoorVariant>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.API.Features.Doors
Assembly: Exiled.API.dll
Syntax
public class CheckpointDoor : Door, IWrapper<DoorVariant>, IWorldSpace, IPosition, IRotation, IDamageableDoor
Properties
| Improve this Doc View SourceBase
Gets the base Interactables.Interobjects.CheckpointDoor.
Declaration
public CheckpointDoor Base { get; }
Property Value
Type | Description |
---|---|
Interactables.Interobjects.CheckpointDoor |
CurrentStage
Gets or sets the current checkpoint stage.
Declaration
public CheckpointDoor.CheckpointSequenceStage CurrentStage { get; set; }
Property Value
Type | Description |
---|---|
Interactables.Interobjects.CheckpointDoor.CheckpointSequenceStage |
Health
Declaration
public float Health { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
IgnoredDamage
Declaration
public DoorDamageType IgnoredDamage { get; set; }
Property Value
Type | Description |
---|---|
Interactables.Interobjects.DoorUtils.DoorDamageType |
IsBreakable
Declaration
public bool IsBreakable { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDestroyed
Declaration
public bool IsDestroyed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MainTimer
Gets or sets a time in seconds for main timer.
Declaration
public float MainTimer { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
MaxHealth
Declaration
public float MaxHealth { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Subdoors
Gets the list of all sub doors belonging to this CheckpointDoor.
Declaration
public IReadOnlyCollection<BreakableDoor> Subdoors { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<BreakableDoor> |
WaitTime
Gets or sets time before doors close.
Declaration
public float WaitTime { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
WarningTime
Gets or sets time in seconds when warning will be shown.
Declaration
public float WarningTime { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
| Improve this Doc View SourceBreak(DoorDamageType)
Declaration
public bool Break(DoorDamageType type = DoorDamageType.ServerCommand)
Parameters
Type | Name | Description |
---|---|---|
Interactables.Interobjects.DoorUtils.DoorDamageType | type |
Returns
Type | Description |
---|---|
System.Boolean |
Damage(Single, DoorDamageType)
Declaration
public bool Damage(float amount, DoorDamageType damageType = DoorDamageType.ServerCommand)
Parameters
Type | Name | Description |
---|---|---|
System.Single | amount | |
Interactables.Interobjects.DoorUtils.DoorDamageType | damageType |
Returns
Type | Description |
---|---|
System.Boolean |
ToggleAllDoors(Boolean)
Toggles the state of the doors from Subdoors.
Declaration
public void ToggleAllDoors(bool newState)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | newState | New state for the subdoors. |
ToString()
Returns the Door in a human-readable format.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string containing Door-related data. |