RoleStats

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 boolean isPlayer
final RangeType type
final int value

IntOpenHashSet

public new IntOpenHashSet ()

Method IntOpenHashSet.

getRanges

public IntSet getRanges (final boolean isPlayer, final RangeType type)

Method getRanges.

Parameters:
final boolean isPlayer
final RangeType type

getRangesSorted

public int[] getRangesSorted (final boolean isPlayer, final RangeType type)

Method getRangesSorted.

Parameters:
final boolean isPlayer
final RangeType type

trackBuckets

public void trackBuckets (final boolean isPlayer, final IntArrayList bucketRanges)

Method trackBuckets.

Parameters:
final boolean isPlayer
final IntArrayList bucketRanges

getBuckets

public IntArrayList getBuckets (final boolean isPlayer)

Method getBuckets.

Parameters:
final boolean isPlayer