Class endstone::WeatherEvent¶
ClassList > endstone > WeatherEvent
Represents a Weather-related event.
#include <endstone/event/weather/weather_event.h>
Inherits the following classes: endstone::Event
Inherited by the following classes: endstone::Cancellable
Public Functions¶
| Type | Name |
|---|---|
| WeatherEvent (Level & level) |
|
| Level & | getLevel () const Returns the Level where this event is occurring. |
| ~WeatherEvent () override |
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 Gets a user-friendly identifier for this event. |
| bool | isAsynchronous () const Any custom event that should not by synchronized with other events must use the specific constructor. |
| Event & | operator= (const Event &) = delete |
| Event & | operator= (Event &&) = default |
| virtual | ~Event () = default |
Public Functions Documentation¶
function WeatherEvent¶
function getLevel¶
Returns the Level where this event is occurring.
Returns:
Level this event is occurring in
function ~WeatherEvent¶
The documentation for this class was generated from the following file include/endstone/event/weather/weather_event.h