Class Scp244
A wrapper class for SCP-244.
Implements
Inherited Members
Namespace: Exiled.API.Features.Items
Assembly: Exiled.API.dll
Syntax
public class Scp244 : Usable, IWrapper<ItemBase>, IWrapper<UsableItem>, IWrapper<Scp244Item>
Constructors
| Improve this Doc View SourceScp244(Scp244Item)
Initializes a new instance of the Scp244 class.
Declaration
public Scp244(Scp244Item itemBase)
Parameters
Type | Name | Description |
---|---|---|
InventorySystem.Items.Usables.Scp244.Scp244Item | itemBase | The base InventorySystem.Items.Usables.Scp244.Scp244Item class. |
Properties
| Improve this Doc View SourceActivationDot
Gets or sets the activation angle, where 1 is the minimum and -1 is the maximum activation angle.
Declaration
public float ActivationDot { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Base
Gets the InventorySystem.Items.Usables.Scp244.Scp244Item that this class is encapsulating.
Declaration
public Scp244Item Base { get; }
Property Value
Type | Description |
---|---|
InventorySystem.Items.Usables.Scp244.Scp244Item |
Health
Gets or sets the Scp244's remaining health.
Declaration
public float Health { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
MaxDiameter
Gets or sets the maximum diameter within which SCP-244's hypothermia effect is dealt.
Declaration
public float MaxDiameter { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Remarks
This does not prevent visual effects.
Primed
Gets or sets a value indicating whether or not SCP-244 will spawn primed.
Declaration
public bool Primed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceClone()
Clones current Scp244 object.
Declaration
public override Item Clone()
Returns
Type | Description |
---|---|
Item | New Scp244 object. |
Overrides
| Improve this Doc View SourceCreatePickup(Vector3, Quaternion, Boolean)
Declaration
public override Pickup CreatePickup(Vector3 position, Quaternion rotation = default(Quaternion), bool spawn = true)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector3 | position | The location to spawn the item. |
UnityEngine.Quaternion | rotation | The rotation of the item. |
System.Boolean | spawn | Whether the Pickup should be initially spawned. |
Returns
Type | Description |
---|---|
Pickup | The created Pickup. |
Overrides
| Improve this Doc View SourceToString()
Returns the SCP-244 in a human readable format.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string containing SCP-244 related data. |