Search Results for

    Show / Hide Table of Contents

    Class SearchingPickupEventArgs

    Contains all information before a player searches a Pickup.

    Inheritance
    System.Object
    SearchingPickupEventArgs
    Implements
    IPlayerEvent
    IPickupEvent
    IDeniableEvent
    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 SearchingPickupEventArgs : IPlayerEvent, IPickupEvent, IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    SearchingPickupEventArgs(Player, ItemPickupBase, SearchSession, SearchCompletor, Single)

    Initializes a new instance of the SearchingPickupEventArgs class.

    Declaration
    public SearchingPickupEventArgs(Player player, ItemPickupBase pickup, SearchSession searchSession, SearchCompletor searchCompletor, float searchTime)
    Parameters
    Type Name Description
    Player player
    InventorySystem.Items.Pickups.ItemPickupBase pickup
    InventorySystem.Searching.SearchSession searchSession
    InventorySystem.Searching.SearchCompletor searchCompletor
    System.Single searchTime

    Properties

    | Improve this Doc View Source

    IsAllowed

    Gets or sets a value indicating whether the Pickup can be searched.

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Pickup

    Gets the Pickup that is being searched.

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

    Player

    Gets the Player who's searching the Pickup.

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

    SearchCompletor

    Gets or sets the SearchCompletor.

    Declaration
    public SearchCompletor SearchCompletor { get; set; }
    Property Value
    Type Description
    InventorySystem.Searching.SearchCompletor
    | Improve this Doc View Source

    SearchSession

    Gets or sets the SearchSession.

    Declaration
    public SearchSession SearchSession { get; set; }
    Property Value
    Type Description
    InventorySystem.Searching.SearchSession
    | Improve this Doc View Source

    SearchTime

    Gets or sets the Pickup search duration.

    Declaration
    public float SearchTime { get; set; }
    Property Value
    Type Description
    System.Single

    Implements

    IPlayerEvent
    IPickupEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

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