Cuberite
A lightweight, fast and extensible game server for Minecraft
Functions
VerticalStrategy.h File Reference
#include "PiecePool.h"
Include dependency graph for VerticalStrategy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

cPiece::cVerticalStrategyPtr CreateVerticalStrategyFromString (const AString &a_StrategyDesc, bool a_LogWarnings)
 Returns a new cPiece::cVerticalStrategy descendant based on the specified description. More...
 

Function Documentation

◆ CreateVerticalStrategyFromString()

cPiece::cVerticalStrategyPtr CreateVerticalStrategyFromString ( const AString a_StrategyDesc,
bool  a_LogWarnings 
)

Returns a new cPiece::cVerticalStrategy descendant based on the specified description.

a_StrategyDesc is in the format "<StrategyClass>|<Params>". The params and the pipe may be omitted. If an unknown class is requested or the param parsing fails, nullptr is returned.

Definition at line 284 of file VerticalStrategy.cpp.