Cuberite
A lightweight, fast and extensible game server for Minecraft
|
The interface through which the plugins are called for their OnChunkGenerating / OnChunkGenerated hooks. More...
#include <ChunkGeneratorThread.h>
Public Member Functions | |
virtual void | CallHookChunkGenerated (cChunkDesc &a_ChunkDesc)=0 |
Called after the chunk is generated, before it is handed to the chunk sink. More... | |
virtual void | CallHookChunkGenerating (cChunkDesc &a_ChunkDesc)=0 |
Called when the chunk is about to be generated. More... | |
virtual | ~cPluginInterface () |
The interface through which the plugins are called for their OnChunkGenerating / OnChunkGenerated hooks.
Definition at line 32 of file ChunkGeneratorThread.h.
|
inlinevirtual |
Definition at line 36 of file ChunkGeneratorThread.h.
|
pure virtual |
Called after the chunk is generated, before it is handed to the chunk sink.
a_ChunkDesc contains the generated chunk data. Implementation may modify this data.
Implemented in cWorld::cChunkGeneratorCallbacks.
|
pure virtual |
Called when the chunk is about to be generated.
The generator may be partly or fully overriden by the implementation.
Implemented in cWorld::cChunkGeneratorCallbacks.