Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | List of all members
cProtIntGenBiomeGroupEdges Class Reference

A filter that adds an edge biome group between two biome groups that need an edge between them. More...

#include <ProtIntGen.h>

Inheritance diagram for cProtIntGenBiomeGroupEdges:
Inheritance graph
[legend]
Collaboration diagram for cProtIntGenBiomeGroupEdges:
Collaboration graph
[legend]

Public Member Functions

 cProtIntGenBiomeGroupEdges (Underlying a_Underlying)
 
virtual void GetInts (int a_MinX, int a_MinZ, size_t a_SizeX, size_t a_SizeZ, int *a_Values) override
 Generates the array of specified size into a_Values, based on given min coords. More...
 
- Public Member Functions inherited from cProtIntGen
virtual ~cProtIntGen ()
 Force a virtual destructor in all descendants. More...
 

Protected Member Functions

bool isDesertCompatible (int a_BiomeGroup)
 

Protected Attributes

Underlying m_Underlying
 

Private Types

using Super = cProtIntGen
 

Additional Inherited Members

- Public Types inherited from cProtIntGen
using Underlying = std::shared_ptr< cProtIntGen >
 Type of the generic interface used for storing links to the underlying generators. More...
 
- Static Protected Attributes inherited from cProtIntGen
static const int m_BufferSize = PROT_INT_BUFFER_SIZE
 Maximum size of the generated area. More...
 

Detailed Description

A filter that adds an edge biome group between two biome groups that need an edge between them.

Definition at line 837 of file ProtIntGen.h.

Member Typedef Documentation

◆ Super

Definition at line 840 of file ProtIntGen.h.

Constructor & Destructor Documentation

◆ cProtIntGenBiomeGroupEdges()

cProtIntGenBiomeGroupEdges::cProtIntGenBiomeGroupEdges ( Underlying  a_Underlying)
inline

Definition at line 844 of file ProtIntGen.h.

Member Function Documentation

◆ GetInts()

virtual void cProtIntGenBiomeGroupEdges::GetInts ( int  a_MinX,
int  a_MinZ,
size_t  a_SizeX,
size_t  a_SizeZ,
int *  a_Values 
)
inlineoverridevirtual

Generates the array of specified size into a_Values, based on given min coords.

Implements cProtIntGen.

Definition at line 850 of file ProtIntGen.h.

◆ isDesertCompatible()

bool cProtIntGenBiomeGroupEdges::isDesertCompatible ( int  a_BiomeGroup)
inlineprotected

Definition at line 910 of file ProtIntGen.h.

Member Data Documentation

◆ m_Underlying

Underlying cProtIntGenBiomeGroupEdges::m_Underlying
protected

Definition at line 907 of file ProtIntGen.h.


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