In package com.eden.orchid.api.events

class com.eden.orchid.api.events.On

Used to denote a Method in an OrchidEventListener class as a callback to a particular Event.

Fields

public final value

The class of the Event to listen for

public final subclasses

If true, subclasses of the value() class with also trigger this method. By default, only an exact Class match will trigger this method

Constructors

public <init>(kotlin.reflect.KClass((com.eden.orchid.api.events.OrchidEvent((kotlin.Any)))), kotlin.Boolean)

Used to denote a Method in an OrchidEventListener class as a callback to a particular Event.

Parameters:
  • value: KClass
  • subclasses: Boolean