Class UpgradingPlayerEventArgs
Contains all information before SCP-914 upgrades a player.
Inheritance
System.Object
UpgradingPlayerEventArgs
Inherited Members
System.Object.ToString()
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.Events.EventArgs.Scp914
Assembly: Exiled.Events.dll
Syntax
public class UpgradingPlayerEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceUpgradingPlayerEventArgs(Player, Boolean, Boolean, Scp914KnobSetting, Vector3)
Initializes a new instance of the UpgradingPlayerEventArgs class.
Declaration
public UpgradingPlayerEventArgs(Player player, bool upgradeItems, bool heldOnly, Scp914KnobSetting setting, Vector3 moveVector)
Parameters
Type | Name | Description |
---|---|---|
Player | player | The Player being upgraded. |
System.Boolean | upgradeItems | |
System.Boolean | heldOnly | |
Scp914.Scp914KnobSetting | setting | The Scp914.Scp914KnobSetting being used. |
UnityEngine.Vector3 | moveVector |
Properties
| Improve this Doc View SourceHeldOnly
Gets or sets a value indicating whether or not only held items are upgraded.
Declaration
public bool HeldOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsAllowed
Gets or sets a value indicating whether or not the event can continue.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
KnobSetting
Gets or sets the Scp914.Scp914KnobSetting being used.
Declaration
public Scp914KnobSetting KnobSetting { get; set; }
Property Value
Type | Description |
---|---|
Scp914.Scp914KnobSetting |
OutputPosition
Gets or sets the location the player will be teleported to.
Declaration
public Vector3 OutputPosition { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
Player
Gets the player that is being upgraded.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
UpgradeItems
Gets or sets a value indicating whether or not items will be upgraded.
Declaration
public bool UpgradeItems { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |