Class endstone::ChunkLoadEvent¶
ClassList > endstone > ChunkLoadEvent
Called when a chunk is loaded.
#include <endstone/event/chunk/chunk_load_event.h>
Inherits the following classes: endstone::ChunkEvent
Public Functions¶
| Type | Name |
|---|---|
| ChunkLoadEvent (Chunk & chunk) |
|
| ENDSTONE_EVENT (ChunkLoadEvent) |
|
| ~ChunkLoadEvent () override |
Public Functions inherited from endstone::ChunkEvent¶
| Type | Name |
|---|---|
| ChunkEvent (Chunk & chunk) |
|
| Chunk & | getChunk () const Gets the chunk being loaded/unloaded. |
Public Functions inherited from endstone::DimensionEvent¶
| Type | Name |
|---|---|
| DimensionEvent (Dimension & dimension) |
|
| Dimension & | getDimension () const Gets the dimension primarily involved with this event. |
Public Functions inherited from endstone::LevelEvent¶
| Type | Name |
|---|---|
| LevelEvent (Level & level) |
|
| Level & | getLevel () const Gets the level primarily involved with this event. |
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 ChunkLoadEvent¶
function ENDSTONE_EVENT¶
function ~ChunkLoadEvent¶
The documentation for this class was generated from the following file include/endstone/event/chunk/chunk_load_event.h