Class AimingDownSightEventArgs
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
FirearmadsIn
bool
Properties
AdsIn
Gets a value indicating whether the player is aiming down sight in.
public bool AdsIn { get; }
Property Value
Firearm
Gets the Firearm used to trigger the aim action.
public Firearm Firearm { get; }
Property Value
Item
Gets the Item triggering the event.
public Item Item { get; }
Property Value
Player
Gets the player who's triggering the aim action.
public Player Player { get; }