|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Stat.Type | |
|---|---|
| com.threerings.stats.data | |
| com.threerings.stats.server.persist | |
| Uses of Stat.Type in com.threerings.stats.data |
|---|
| Methods in com.threerings.stats.data that return Stat.Type | |
|---|---|
Stat.Type |
StatModifier.getType()
Returns the Stat.Type of the stat being modified. |
Stat.Type |
Stat.getType()
Returns the type of this statistic. |
static Stat.Type |
Stat.getType(int code)
Maps a Stat.Type's code code back to a Stat.Type instance. |
| Methods in com.threerings.stats.data with parameters of type Stat.Type | ||
|---|---|---|
|
StatSet.addToSetStat(Stat.Type type,
T value)
Adds a value to a SetStat. |
|
void |
StatSet.appendStat(Stat.Type type,
int value)
Appends an integer value to an IntArrayStat. |
|
|
StatSet.containsValue(Stat.Type type,
T value)
Returns true if the specified SetStat contains the specified value, false
otherwise. |
|
String |
Stat.AuxDataSource.getCodeString(Stat.Type type,
int code)
Maps the specified unique code back to its string value. |
|
int[] |
StatSet.getIntArrayStat(Stat.Type type)
Returns the current value of the specified integer array statistic. |
|
int |
StatSet.getIntStat(Stat.Type type)
Returns the current value of the specified integer statistic. |
|
int |
StatSet.getMapValue(Stat.Type type,
String value)
Returns the value to which the specified string is mapped in a StringMapStat or zero
if the value has not been mapped. |
|
int |
StatSet.getMaxIntStat(Stat.Type type)
Returns the maximum value by which the specified integer statistic has ever been incremented. |
|
int |
StatSet.getSetStatSize(Stat.Type type)
Returns the current size of the specified SetStat statistic. |
|
int |
Stat.AuxDataSource.getStringCode(Stat.Type type,
String value)
Maps the specified string to a unique integer value. |
|
void |
StatSet.incrementMapStat(Stat.Type type,
String value,
int amount)
Increments a string value in a StringMapStat. |
|
void |
StatSet.incrementStat(Stat.Type type,
int delta)
Increments an integer statistic in this set. |
|
static int |
Stat.initType(Stat.Type type,
Stat prototype)
Used by the Stat.Type implementation to map itself to an integer code. |
|
void |
StatSet.maxStat(Stat.Type type,
int value)
Sets an integer stat to the specified value, if it exceeds our existing recorded value. |
|
void |
StatSet.setStat(Stat.Type type,
int value)
Sets an integer statistic in this set. |
|
| Constructors in com.threerings.stats.data with parameters of type Stat.Type | |
|---|---|
IntSetStatAdder(Stat.Type type,
int value)
|
|
IntStatIncrementer(Stat.Type type,
int delta)
|
|
IntStatMinimumer(Stat.Type type,
int minimum)
|
|
StatModifier(Stat.Type type)
Creates a modifier that will operate on the supplied stat type. |
|
| Uses of Stat.Type in com.threerings.stats.server.persist |
|---|
| Methods in com.threerings.stats.server.persist with parameters of type Stat.Type | |
|---|---|
void |
StatRepository.clearMapping(Stat.Type type,
String value)
This is only used for testing. |
String |
StatRepository.getCodeString(Stat.Type type,
int code)
|
int |
StatRepository.getStringCode(Stat.Type type,
String value)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||