Search Results for

    Show / Hide Table of Contents

    Class Event

    The base class all OpenApi Events implement

    Inheritance
    System.Object
    Event
    BlockEvent
    EntityEvent
    ExecuteableEventBase
    LevelEvent
    PlayerEvent
    PluginEventBase
    ServerClosingEvent
    ServerReadyEvent
    Namespace: OpenAPI.Events
    Assembly: OpenAPI.dll
    Syntax
    public abstract class Event : object

    Constructors

    | Improve this Doc View Source

    Event()

    Declaration
    public Event()

    Properties

    | Improve this Doc View Source

    IsCancelled

    True if the current event was cancelled.

    Declaration
    public bool IsCancelled { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    SetCancelled(Boolean)

    Set's the Cancelled flag.

    Declaration
    public void SetCancelled(bool isCanceled)
    Parameters
    Type Name Description
    System.Boolean isCanceled
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX