Class AttackingEventArgs
Contains all information before SCP-106 attacks a player.
public class AttackingEventArgs : IScp106Event, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
AttackingEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
AttackingEventArgs(Player, Player, bool)
Initializes a new instance of the AttackingEventArgs class.
public AttackingEventArgs(Player player, Player target, bool isAllowed = true)
Parameters
Properties
IsAllowed
Gets or sets a value indicating whether target can be attacked.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player controlling SCP-106.
public Player Player { get; }
Property Value
Scp106
Gets the Scp106Role triggering the event.
public Scp106Role Scp106 { get; }
Property Value
Target
Gets the target of the attack.
public Player Target { get; }