Table of Contents

Class AttackingEventArgs

Namespace
Exiled.Events.EventArgs.Scp106
Assembly
Exiled.Events.dll

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

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-106.

public Player Player { get; }

Property Value

Player

Scp106

Gets the Scp106Role triggering the event.

public Scp106Role Scp106 { get; }

Property Value

Scp106Role

Target

Gets the target of the attack.

public Player Target { get; }

Property Value

Player