Class endstone::MapInitializeEvent¶
ClassList > endstone > MapInitializeEvent
Called when a map is initialized.
#include <endstone/event/server/map_initialize_event.h>
Inherits the following classes: endstone::ServerEvent
Public Functions¶
| Type | Name |
|---|---|
| MapInitializeEvent (MapView & map) |
|
| MapView & | getMap () const Gets the map initialized in this event. |
Public Functions inherited from endstone::ServerEvent¶
| Type | Name |
|---|---|
| Event (bool async=false) |
|
| Event (const Event &) = delete |
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 MapInitializeEvent¶
function getMap¶
Gets the map initialized in this event.
Returns:
Map for this event
The documentation for this class was generated from the following file include/endstone/event/server/map_initialize_event.h