Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | List of all members
cChunkGeneratorThread::cPluginInterface Class Referenceabstract

The interface through which the plugins are called for their OnChunkGenerating / OnChunkGenerated hooks. More...

#include <ChunkGeneratorThread.h>

Inheritance diagram for cChunkGeneratorThread::cPluginInterface:
Inheritance graph
[legend]

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 ()
 

Detailed Description

The interface through which the plugins are called for their OnChunkGenerating / OnChunkGenerated hooks.

Definition at line 32 of file ChunkGeneratorThread.h.

Constructor & Destructor Documentation

◆ ~cPluginInterface()

virtual cChunkGeneratorThread::cPluginInterface::~cPluginInterface ( )
inlinevirtual

Definition at line 36 of file ChunkGeneratorThread.h.

Member Function Documentation

◆ CallHookChunkGenerated()

virtual void cChunkGeneratorThread::cPluginInterface::CallHookChunkGenerated ( cChunkDesc a_ChunkDesc)
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.

◆ CallHookChunkGenerating()

virtual void cChunkGeneratorThread::cPluginInterface::CallHookChunkGenerating ( cChunkDesc a_ChunkDesc)
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.


The documentation for this class was generated from the following file: