Class TriggeringAttackEventArgs
Contains all information before SCP-1509 melee attack is triggered.
public class TriggeringAttackEventArgs : IItemEvent, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
TriggeringAttackEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
TriggeringAttackEventArgs(Scp1509Item, bool)
Initializes a new instance of the TriggeringAttackEventArgs class.
public TriggeringAttackEventArgs(Scp1509Item scp1509Item, bool isAllowed = true)
Parameters
scp1509ItemScp1509ItemisAllowedbool
Properties
IsAllowed
Gets or sets a value indicating whether the event is allowed to continue.
public bool IsAllowed { get; set; }
Property Value
Item
Gets the Item triggering the event.
public Item Item { get; }
Property Value
Player
Gets the Player triggering the event.
public Player Player { get; }
Property Value
Scp1509
Gets the SCP-1509 instance.
public Scp1509 Scp1509 { get; }