public class RoleStats
Class RoleStats. Provides rolestats functionality for the Hytale server.
java.lang.Object > RoleStats
Field Summary
playerBucketRanges
protected
IntArrayList
playerBucketRanges
Field playerBucketRanges.
npcBucketRanges
protected
IntArrayList
npcBucketRanges
Field npcBucketRanges.
intSet
final
IntSet
intSet
Field intSet.
intArray
final
int[]
intArray
Field intArray.
Method Detail
RoleStats
public
public
RoleStats
()
Method RoleStats.
clear
public
void
clear
()
Method clear.
trackRange
public
void
trackRange
(final boolean isPlayer, final RangeType type, final int value)
Method trackRange.
- Parameters:
final booleanisPlayerfinal RangeTypetypefinal intvalue
IntOpenHashSet
public
new
IntOpenHashSet
()
Method IntOpenHashSet.
getRanges
public
IntSet
getRanges
(final boolean isPlayer, final RangeType type)
Method getRanges.
- Parameters:
final booleanisPlayerfinal RangeTypetype
getRangesSorted
public
int[]
getRangesSorted
(final boolean isPlayer, final RangeType type)
Method getRangesSorted.
- Parameters:
final booleanisPlayerfinal RangeTypetype
trackBuckets
public
void
trackBuckets
(final boolean isPlayer, final IntArrayList bucketRanges)
Method trackBuckets.
- Parameters:
final booleanisPlayerfinal IntArrayListbucketRanges
getBuckets
public
IntArrayList
getBuckets
(final boolean isPlayer)
Method getBuckets.
- Parameters:
final booleanisPlayer