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 SummaryConstructors Constructor Description ScoreResponse()ScoreResponse(StringResponse label, FloatResponse value, StringResponse displayValue)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringResponsegetDisplayValue()Like value, but formatted for race format events.StringResponsegetLabel()The name of this score. e.g.FloatResponsegetValue()The raw score value- 
Methods inherited from class com.github.gpluscb.ggjava.entity.object.response.AbstractGGResponseObjectcheckProvided, isProvided
 - 
Methods inherited from class com.github.gpluscb.ggjava.entity.AbstractGGEntitygetGGEntityType
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.github.gpluscb.ggjava.entity.GGEntitygetGGEntityType
 
- 
 
- 
- 
- 
Constructor Detail- 
ScoreResponsepublic ScoreResponse() 
 - 
ScoreResponsepublic ScoreResponse(StringResponse label, FloatResponse value, StringResponse displayValue) 
 
- 
 - 
Method Detail- 
getLabelpublic StringResponse getLabel() The name of this score. e.g. "Kills" or "Stocks"
 - 
getValuepublic FloatResponse getValue() The raw score value
 - 
getDisplayValuepublic StringResponse getDisplayValue() Like value, but formatted for race format events. Formatted according to the race config for the front end to use.
 
- 
 
-