Uses of Class
com.threerings.stats.data.Stat

Packages that use Stat
com.threerings.stats.data   
com.threerings.stats.server.persist   
 

Uses of Stat in com.threerings.stats.data
 

Classes in com.threerings.stats.data with type parameters of type Stat
 class StatModifier<T extends Stat>
          Encapsulates a modification to a single stat that can be serialized and sent to a different server, if needed, to update stats loaded at runtime.
 

Subclasses of Stat in com.threerings.stats.data
 class ByteByteStringMapStat
          Maps up to 127 string values to integers in the range 0 - 127.
 class ByteStringSetStat
          A string set that maps its values to bytes.
 class IntArrayStat
          Used to track an integer array statistic.
 class IntSetStat
          Used to track a statistic comprised of a bounded set of integers.
 class IntStat
          Used to track a single integer statistic.
 class IntStringSetStat
          A string set that maps its values to integers.
 class MaxIntStat
          Extends the IntStat by maintaining a maximum value which is updated every time a value is accumulated to the stat.
 class MaxValueIntStat
          Extends the IntStat by maintaining the maximum value that the stat has ever been assigned (unlike MaxIntStat, which tracks the maximum value that the stat has ever been incremented by).
 class SetStat<T>
           
 class ShortStringSetStat
          A string set that maps its values to shorts.
 class StringMapStat
          Used to track a statistic comprised of a set of strings that map to numeric counts.
 class StringSetStat
          Used to track a statistic comprised of a set of strings.
 

Methods in com.threerings.stats.data with type parameters of type Stat
<T extends Stat>
void
StatSet.syncStat(StatModifier<T> modifier)
          Updates a stat in this set, using the supplied StatModifier.
 

Methods in com.threerings.stats.data that return Stat
 Stat Stat.clone()
           
 Stat Stat.Type.newStat()
          Returns a new blank stat instance of the specified type.
 

Methods in com.threerings.stats.data with parameters of type Stat
 void StatSet.addQuietly(Stat stat)
          Don't call this method, it's only needed by some tricky business we do when preventing distributed object event generation for all but the bounty criteria related stats.
 void StatSet.Container.addToStats(Stat stat)
           
static int Stat.initType(Stat.Type type, Stat prototype)
          Used by the Stat.Type implementation to map itself to an integer code.
 void StatSet.Container.updateStats(Stat stat)
           
 

Constructor parameters in com.threerings.stats.data with type arguments of type Stat
StatSet(Iterable<Stat> contents)
          Creates a stat set with the specified contents.
StatSet(Iterator<Stat> contents)
          Creates a stat set with the specified contents.
 

Uses of Stat in com.threerings.stats.server.persist
 

Methods in com.threerings.stats.server.persist with type parameters of type Stat
<T extends Stat>
T
StatRepository.updateStat(int playerId, StatModifier<T> modifier)
          Applies a modification to a single stat.
 

Methods in com.threerings.stats.server.persist that return types with arguments of type Stat
 ArrayList<Stat> StatRepository.loadStats(int playerId)
          Loads the stats associated with the specified player.
 

Methods in com.threerings.stats.server.persist with parameters of type Stat
 void StatRepository.writeModified(int playerId, Stat[] stats)
          Writes out any of the stats in the supplied array that have been modified since they were first loaded.
 

Method parameters in com.threerings.stats.server.persist with type arguments of type Stat
 void StatRepository.writeModified(int playerId, Iterable<Stat> stats)
          Writes out any of the stats in the supplied iterable that have been modified since they were first loaded.
 



Copyright © 2011. All Rights Reserved.