endstone::Criteria
Represents a scoreboard criteria.
Types:
Name | Description |
---|---|
Type |
Functions:
Name | Description |
---|---|
getDefaultRenderType | |
getName | Get the name of this criteria (its unique id). |
isReadOnly | Get whether or not this criteria is read only. If read only, scoreboards with this criteria cannot have their scores changed. |
Type
enum Type { Dummy };
getDefaultRenderType
RenderType getDefaultRenderType() const
Get the RenderType used by default for this criteria.
Returns:
the default render type
getName
std::string getName() const
Get the name of this criteria (its unique id).
Returns:
the name
isReadOnly
bool isReadOnly() const
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
Last updated on