Search Results for

    Show / Hide Table of Contents

    Class CancelledItemUseEventArgs

    Contains all information before a player cancels usage of an item.

    Inheritance
    System.Object
    CancelledItemUseEventArgs
    Implements
    IPlayerEvent
    IUsableEvent
    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 CancelledItemUseEventArgs : IPlayerEvent, IUsableEvent, IItemEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    CancelledItemUseEventArgs(Player, Item)

    Initializes a new instance of the CancelledItemUseEventArgs class.

    Declaration
    public CancelledItemUseEventArgs(Player player, Item item)
    Parameters
    Type Name Description
    Player player

    The player who's stopping the use of an item.

    Item item

    Properties

    | 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 cancelling the item.

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

    Usable

    Gets the item that the player cancelling.

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

    Implements

    IPlayerEvent
    IUsableEvent
    IItemEvent
    IExiledEvent

    Extension Methods

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