Search Results for

    Show / Hide Table of Contents

    Class AimingDownSightEventArgs

    Contains all information when a player aims.

    Inheritance
    System.Object
    AimingDownSightEventArgs
    Implements
    IPlayerEvent
    IFirearmEvent
    IItemEvent
    IExiledEvent
    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 Source

    AimingDownSightEventArgs(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 Source

    AdsIn

    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
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Firearm

    Gets the Firearm used to trigger the aim action.

    Declaration
    public Firearm Firearm { get; }
    Property Value
    Type Description
    Firearm
    | Improve this Doc View Source

    Item

    Declaration
    public Item Item { get; }
    Property Value
    Type Description
    Item
    | Improve this Doc View Source

    Player

    Gets the player who's triggering the aim action.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player

    Implements

    IPlayerEvent
    IFirearmEvent
    IItemEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX