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::ThunderChangeEvent, endstone::WeatherChangeEvent
Public Functions¶
| Type | Name |
|---|---|
| WeatherEvent (Level & level) |
|
| Level & | getLevel () const |
| ~WeatherEvent () override |
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 |
| virtual bool | isCancellable () const = 0 |
| bool | isCancelled () const |
| Event & | operator= (const Event &) = delete |
| void | setCancelled (bool cancel) |
| 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