Class endstone::Criteria¶
ClassList > endstone > Criteria
Represents a scoreboard criteria.
#include <endstone/scoreboard/criteria.h>
Public Types¶
Type | Name |
---|---|
enum | Type |
Public Functions¶
Type | Name |
---|---|
virtual RenderType | getDefaultRenderType () const = 0 |
virtual std::string | getName () const = 0 Get the name of this criteria (its unique id). |
virtual bool | isReadOnly () const = 0 Get whether or not this criteria is read only. If read only, scoreboards with this criteria cannot have their scores changed. |
virtual | ~Criteria () = default |
Public Types Documentation¶
enum Type¶
Public Functions Documentation¶
function getDefaultRenderType¶
Get the RenderType used by default for this criteria.
Returns:
the default render type
function getName¶
Get the name of this criteria (its unique id).
Returns:
the name
function isReadOnly¶
Get whether or not this criteria is read only. If read only, scoreboards with this criteria cannot have their scores changed.
Returns:
true if read only, false otherwise
function ~Criteria¶
The documentation for this class was generated from the following file include/endstone/scoreboard/criteria.h