Class UpgradingPlayerEventArgs
Contains all information before SCP-914 upgrades a player.
public class UpgradingPlayerEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
UpgradingPlayerEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
UpgradingPlayerEventArgs(Player, bool, bool, Scp914KnobSetting, Vector3)
Initializes a new instance of the UpgradingPlayerEventArgs class.
public UpgradingPlayerEventArgs(Player player, bool upgradeItems, bool heldOnly, Scp914KnobSetting setting, Vector3 outputPos)
Parameters
playerPlayerThe Player being upgraded.
upgradeItemsboolheldOnlyboolsettingScp914KnobSettingThe Scp914.Scp914KnobSetting being used.
outputPosVector3
Properties
HeldOnly
Gets or sets a value indicating whether only held items are upgraded.
public bool HeldOnly { get; set; }
Property Value
IsAllowed
Gets or sets a value indicating whether the event can continue.
public bool IsAllowed { get; set; }
Property Value
KnobSetting
Gets or sets the Scp914.Scp914KnobSetting being used.
public Scp914KnobSetting KnobSetting { get; set; }
Property Value
- Scp914KnobSetting
OutputPosition
Gets or sets the location the player will be teleported to.
public Vector3 OutputPosition { get; set; }
Property Value
- Vector3
Player
Gets the player that is being upgraded.
public Player Player { get; }
Property Value
UpgradeItems
Gets or sets a value indicating whether items will be upgraded.
public bool UpgradeItems { get; set; }