Class endstone::ServerLoadEvent¶
ClassList > endstone > ServerLoadEvent
Called when either the server startup or reload has completed.
#include <endstone/event/server/server_load_event.h>
Inherits the following classes: endstone::ServerEvent
Public Types¶
| Type | Name |
|---|---|
| enum | LoadType Represents the context in which the server was loaded. |
Public Functions¶
| Type | Name |
|---|---|
| ENDSTONE_EVENT (ServerLoadEvent) |
|
| ServerLoadEvent (LoadType type) |
|
| LoadType | getType () const Gets the context in which the server was loaded. |
Public Functions inherited from 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 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 Types Documentation¶
enum LoadType¶
Represents the context in which the server was loaded.
Public Functions Documentation¶
function ENDSTONE_EVENT¶
function ServerLoadEvent¶
function getType¶
Gets the context in which the server was loaded.
Returns:
the load type for this event
The documentation for this class was generated from the following file include/endstone/event/server/server_load_event.h