Search Results for

    Show / Hide Table of Contents

    Class PlayerItemUseEvent

    Dispatched when an OpenPlayer uses an Item

    Inheritance
    System.Object
    Event
    PlayerEvent
    PlayerItemUseEvent
    Inherited Members
    PlayerEvent.Player
    Event.IsCancelled
    Event.SetCancelled(Boolean)
    Namespace: OpenAPI.Events.Player
    Assembly: OpenAPI.dll
    Syntax
    public class PlayerItemUseEvent : PlayerEvent

    Constructors

    | Improve this Doc View Source

    PlayerItemUseEvent(OpenPlayer, Item)

    Declaration
    public PlayerItemUseEvent(OpenPlayer player, Item itemUsed)
    Parameters
    Type Name Description
    OpenPlayer player
    Item itemUsed

    Properties

    | Improve this Doc View Source

    ItemUsed

    The item used

    Declaration
    public Item ItemUsed { get; }
    Property Value
    Type Description
    Item
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX