Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include "PiecePool.h"
Go to the source code of this file.
Functions | |
cPiece::cVerticalLimitPtr | CreateVerticalLimitFromString (const AString &a_LimitDesc, bool a_LogWarnings) |
Returns a new cPiece::cVerticalLimit descendant based on the specified description. More... | |
cPiece::cVerticalLimitPtr CreateVerticalLimitFromString | ( | const AString & | a_LimitDesc, |
bool | a_LogWarnings | ||
) |
Returns a new cPiece::cVerticalLimit descendant based on the specified description.
a_LimitDesc is in the format "<LimitClass>|<Params>". The params and the pipe may be omitted. If an unknown class is requested or the param parsing fails, nullptr is returned. If a_LogWarnings is true, any problem is reported into the server console.
Definition at line 343 of file VerticalLimit.cpp.