Class AimingDownSightEventArgs
Contains all information when a player aims.
Inheritance
System.Object
AimingDownSightEventArgs
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.Player
Assembly: Exiled.Events.dll
Syntax
public class AimingDownSightEventArgs : IPlayerEvent, IFirearmEvent, IItemEvent, IExiledEvent
Constructors
| Improve this Doc View SourceAimingDownSightEventArgs(Player, Firearm, Boolean, Boolean)
Initializes a new instance of the AimingDownSightEventArgs class.
Declaration
public AimingDownSightEventArgs(Player player, Firearm firearm, bool adsIn, bool adsOut)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
Firearm | firearm | |
System.Boolean | adsIn | |
System.Boolean | adsOut |
Properties
| Improve this Doc View SourceAdsIn
Gets a value indicating whether or not the player is aiming down sight in.
Declaration
public bool AdsIn { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
AdsOut
Gets a value indicating whether or not the player is aiming down sight out.
Declaration
public bool AdsOut { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Firearm
Gets the Firearm used to trigger the aim action.
Declaration
public Firearm Firearm { get; }
Property Value
Type | Description |
---|---|
Firearm |
Item
Declaration
public Item Item { get; }
Property Value
Type | Description |
---|---|
Item |
Player
Gets the player who's triggering the aim action.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |