Class ScoreResponse
- java.lang.Object
-
- com.github.gpluscb.ggjava.entity.AbstractGGEntity
-
- com.github.gpluscb.ggjava.entity.object.AbstractGGObject
-
- com.github.gpluscb.ggjava.entity.object.response.AbstractGGResponseObject
-
- com.github.gpluscb.ggjava.entity.object.response.objects.ScoreResponse
-
- All Implemented Interfaces:
GGEntity
,GGObject
,GGResponseObject
public class ScoreResponse extends AbstractGGResponseObject
The score that led to this standing being awarded. The meaning of this field can vary by standing type and is not used for some standing types.
-
-
Constructor Summary
Constructors Constructor Description ScoreResponse()
ScoreResponse(StringResponse label, FloatResponse value, StringResponse displayValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringResponse
getDisplayValue()
Like value, but formatted for race format events.StringResponse
getLabel()
The name of this score. e.g.FloatResponse
getValue()
The raw score value-
Methods inherited from class com.github.gpluscb.ggjava.entity.object.response.AbstractGGResponseObject
checkProvided, isProvided
-
Methods inherited from class com.github.gpluscb.ggjava.entity.AbstractGGEntity
getGGEntityType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.gpluscb.ggjava.entity.GGEntity
getGGEntityType
-
-
-
-
Constructor Detail
-
ScoreResponse
public ScoreResponse()
-
ScoreResponse
public ScoreResponse(StringResponse label, FloatResponse value, StringResponse displayValue)
-
-
Method Detail
-
getLabel
public StringResponse getLabel()
The name of this score. e.g. "Kills" or "Stocks"
-
getValue
public FloatResponse getValue()
The raw score value
-
getDisplayValue
public StringResponse getDisplayValue()
Like value, but formatted for race format events. Formatted according to the race config for the front end to use.
-
-