Class UsingScp244EventArgs
Contains all information before SCP-244 is used.
Inheritance
System.Object
UsingScp244EventArgs
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.Scp244
Assembly: Exiled.Events.dll
Syntax
public class UsingScp244EventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceUsingScp244EventArgs(Scp244Item, Player, Boolean)
Initializes a new instance of the UsingScp244EventArgs class.
Declaration
public UsingScp244EventArgs(Scp244Item scp244, Player player, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
InventorySystem.Items.Usables.Scp244.Scp244Item | scp244 | |
Player | player | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether the SCP-244 can be used.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's using the SCP-244.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Scp244
Gets the Scp244 instance.
Declaration
public Scp244 Scp244 { get; }
Property Value
Type | Description |
---|---|
Scp244 |