Table of Contents

Class AttackingEventArgs

Namespace
Exiled.Events.EventArgs.Scp049
Assembly
Exiled.Events.dll

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

player Player
target Player
isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether target can be attacked.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the player controlling SCP-049.

public Player Player { get; }

Property Value

Player

Scp049

Gets the Scp049Role triggering the event.

public Scp049Role Scp049 { get; }

Property Value

Scp049Role

Target

Gets the target of attack.

public Player Target { get; }

Property Value

Player