Table of Contents

Class AimingDownSightEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

Contains all information when a player aims.

public class AimingDownSightEventArgs : IFirearmEvent, IItemEvent, IPlayerEvent, IExiledEvent
Inheritance
AimingDownSightEventArgs
Implements
Inherited Members
Extension Methods

Constructors

AimingDownSightEventArgs(Firearm, bool)

Initializes a new instance of the AimingDownSightEventArgs class.

public AimingDownSightEventArgs(Firearm firearm, bool adsIn)

Parameters

firearm Firearm
adsIn bool

Properties

AdsIn

Gets a value indicating whether the player is aiming down sight in.

public bool AdsIn { get; }

Property Value

bool

Firearm

Gets the Firearm used to trigger the aim action.

public Firearm Firearm { get; }

Property Value

Firearm

Item

Gets the Item triggering the event.

public Item Item { get; }

Property Value

Item

Player

Gets the player who's triggering the aim action.

public Player Player { get; }

Property Value

Player