Class Scp914
A set of tools to modify SCP-914's behaviour.
Inheritance
Inherited Members
Namespace: Exiled.API.Features
Assembly: Exiled.API.dll
Syntax
public static class Scp914
Properties
| Improve this Doc View SourceConfigMode
Gets or sets SCP-914's config mode.
Declaration
public static Scp914Mode ConfigMode { get; set; }
Property Value
Type | Description |
---|---|
Scp914.Scp914Mode |
Doors
Gets the list with Door which SCP-914 has.
Declaration
public static IReadOnlyCollection<Door> Doors { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<Door> |
GameObject
Gets SCP-914's UnityEngine.GameObject.
Declaration
public static GameObject GameObject { get; }
Property Value
Type | Description |
---|---|
UnityEngine.GameObject |
InsideIntake
Gets a value indicating all of the GameObjects currently present inside SCP-914's intake chamber.
Declaration
public static Collider[] InsideIntake { get; }
Property Value
Type | Description |
---|---|
UnityEngine.Collider[] |
IntakeBooth
Gets the intake booth UnityEngine.Transform.
Declaration
public static Transform IntakeBooth { get; }
Property Value
Type | Description |
---|---|
UnityEngine.Transform |
IntakePosition
Gets the position of SCP-914's intake chamber.
Declaration
public static Vector3 IntakePosition { get; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
IsWorking
Gets a value indicating whether SCP-914 is active and currently processing items.
Declaration
public static bool IsWorking { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
KnobStatus
Gets or sets SCP-914's Scp914.Scp914KnobSetting.
Declaration
public static Scp914KnobSetting KnobStatus { get; set; }
Property Value
Type | Description |
---|---|
Scp914.Scp914KnobSetting |
MovingVector
Gets the position offset in which item is moving.
Declaration
public static Vector3 MovingVector { get; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
OutputBooth
Gets the output booth UnityEngine.Transform.
Declaration
public static Transform OutputBooth { get; }
Property Value
Type | Description |
---|---|
UnityEngine.Transform |
OutputPosition
Gets the position of SCP-914's output chamber.
Declaration
public static Vector3 OutputPosition { get; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
Scp914Controller
Gets the cached Scp914.Scp914Controller.
Declaration
public static Scp914Controller Scp914Controller { get; }
Property Value
Type | Description |
---|---|
Scp914.Scp914Controller |
Transform
Gets SCP-914's UnityEngine.Transform.
Declaration
public static Transform Transform { get; }
Property Value
Type | Description |
---|---|
UnityEngine.Transform |
Methods
| Improve this Doc View SourcePlaySound(Scp914InteractCode)
Plays the SCP-914's sound.
Declaration
public static void PlaySound(Scp914InteractCode soundId)
Parameters
Type | Name | Description |
---|---|---|
Scp914.Scp914InteractCode | soundId | The Scp914.Scp914InteractCode to play. |
Scp914InputObject(out IEnumerable<Player>, out IEnumerable<Pickup>)
Filters all GameObjects inside SCP-914's intake chamber into players and items.
Declaration
public static IEnumerable<GameObject> Scp914InputObject(out IEnumerable<Player> playersret, out IEnumerable<Pickup> pickupsret)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Player> | playersret | The System.Collections.Generic.List<T> to return. |
System.Collections.Generic.IEnumerable<Pickup> | pickupsret | The System.Collections.Generic.List<T> to return. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<UnityEngine.GameObject> | All GameObjects present inside SCP-914's intake chamber. And also return Player and Pickup casted. |
Start(Player, Scp914InteractCode)
Starts SCP-914.
Declaration
public static void Start(Player player = null, Scp914InteractCode code = Scp914InteractCode.Activate)
Parameters
Type | Name | Description |
---|---|---|
Player | player | Player who interacts with Scp914. |
Scp914.Scp914InteractCode | code | Scp914.Scp914InteractCode Interact code. |