![]() |
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Go to the source code of this file.
Classes | |
class | cVerticalLimitAbove |
Limit that accepts heights above the specified minimum fixed height. More... | |
class | cVerticalLimitAboveTerrain |
Limit that accepts heights that are a specified number of blocks above terrain. More... | |
class | cVerticalLimitAboveTerrainAndOcean |
Limit that accepts heights that are a specified number of blocks above terrain and sealevel, whichever is higher. More... | |
class | cVerticalLimitBelow |
Limit that accepts heights below the specified fixed height. More... | |
class | cVerticalLimitBelowTerrain |
Limit that accepts heights that are within a specified range below terrain. More... | |
class | cVerticalLimitBelowTerrainOrOcean |
Limit that accepts heights that are a specified number of blocks below terrain or sealevel, whichever is higher. More... | |
class | cVerticalLimitNone |
Limit that accepts any height. More... | |
Namespaces | |
VerticalLimit | |
Parses a string containing a range in which both values are optional ("<MinHeight>|<MaxHeight>") into Min, Max. | |
Functions | |
cPiece::cVerticalLimitPtr | CreateVerticalLimitFromString (const AString &a_LimitDesc, bool a_LogWarnings) |
Returns a new cPiece::cVerticalLimit descendant based on the specified description. More... | |
static bool | VerticalLimit::ParseRange (const AString &a_Params, int &a_Min, int &a_Max, bool a_LogWarnings) |
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.