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 | 
Public Static Attributes¶
| Type | Name | 
|---|---|
| const std::string | NAME   = "ServerLoadEvent" | 
Public Functions¶
| Type | Name | 
|---|---|
| ServerLoadEvent (LoadType type) | |
| virtual std::string | getEventName () override const | 
| LoadType | getType () const | 
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 Types Documentation¶
enum LoadType¶
Public Static Attributes Documentation¶
variable NAME¶
Public Functions Documentation¶
function ServerLoadEvent¶
function getEventName¶
Gets a user-friendly identifier for this event.
Returns:
name of this event
Implements endstone::Event::getEventName
function getType¶
The documentation for this class was generated from the following file include/endstone/event/server/server_load_event.h