Skip to content

Class endstone::PluginEnableEvent

ClassList > endstone > PluginEnableEvent

Called when a plugin is enabled.

  • #include <endstone/event/server/plugin_enable_event.h>

Inherits the following classes: endstone::ServerEvent

Public Functions

Type Name
ENDSTONE_EVENT (PluginEnableEvent)
PluginEnableEvent (Plugin & plugin)
Plugin & getPlugin () const

Public Functions inherited from endstone::ServerEvent

See endstone::ServerEvent

Type Name
Event (bool async=false)
Event (const Event &) = delete
Event (Event &&) = default

Public Functions inherited from endstone::Event

See endstone::Event

Type Name
Event (bool async=false)
Event (const Event &) = delete
Event (Event &&) = default
virtual std::string getEventName () const = 0
bool isAsynchronous () const
Event & operator= (const Event &) = delete
Event & operator= (Event &&) = default
virtual ~Event () = default

Public Functions Documentation

function ENDSTONE_EVENT

endstone::PluginEnableEvent::ENDSTONE_EVENT (
    PluginEnableEvent
) 

function PluginEnableEvent

inline explicit endstone::PluginEnableEvent::PluginEnableEvent (
    Plugin & plugin
) 

function getPlugin

inline Plugin & endstone::PluginEnableEvent::getPlugin () const

Gets the plugin involved in this event

Returns:

Plugin for this event



The documentation for this class was generated from the following file include/endstone/event/server/plugin_enable_event.h