Skip to content

Class endstone::DimensionEvent

ClassList > endstone > DimensionEvent

Represents events within a level.

  • #include <endstone/event/level/dimension_event.h>

Inherits the following classes: endstone::LevelEvent

Inherited by the following classes: endstone::ChunkEvent

Public Functions

Type Name
DimensionEvent (Dimension & dimension)
Dimension & getDimension () const

Public Functions inherited from endstone::LevelEvent

See endstone::LevelEvent

Type Name
LevelEvent (Level & level)
Level & getLevel () const

Public Functions inherited from endstone::Event

See endstone::Event

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

Public Functions Documentation

function DimensionEvent

inline explicit endstone::DimensionEvent::DimensionEvent (
    Dimension & dimension
) 

function getDimension

inline Dimension & endstone::DimensionEvent::getDimension () const

Gets the dimension primarily involved with this event

Returns:

Dimension which caused this event



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