Class AttackingEventArgs
Contains all information before SCP-049 attacks a player.
Inheritance
System.Object
AttackingEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Scp049
Assembly: Exiled.Events.dll
Syntax
public class AttackingEventArgs : IScp049Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceAttackingEventArgs(Player, Player, Boolean)
Initializes a new instance of the AttackingEventArgs class.
Declaration
public AttackingEventArgs(Player player, Player target, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
Player | target | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not target can be attacked.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player controlling SCP-049.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Scp049
Declaration
public Scp049Role Scp049 { get; }
Property Value
Type | Description |
---|---|
Scp049Role |
Target
Gets the target of attack.
Declaration
public Player Target { get; }
Property Value
Type | Description |
---|---|
Player |