Class AttackingEventArgs
Contains all information before SCP-049 attacks a player.
public class AttackingEventArgs : IScp049Event, 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-049.
public Player Player { get; }
Property Value
Scp049
Gets the Scp049Role triggering the event.
public Scp049Role Scp049 { get; }
Property Value
Target
Gets the target of attack.
public Player Target { get; }