@Deprecated
public class PlayerContainer
extends java.lang.Object
The actual object is wrapped to avoid exposing too much API that might change.
See PlayerKeys
for Key objects.
The Keys might change in the future, but the Optional API should help dealing with those cases.
Constructor and Description |
---|
PlayerContainer(PlayerContainer container)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
double |
getActivityIndex(long date,
long playtimeMsThreshold)
Deprecated.
|
double |
getActivityIndex(long date,
long playtimeMsThreshold,
int loginThreshold)
Deprecated.
loginThreshold no longer used for activity index.
|
<T> java.util.Optional<T> |
getValue(Key<T> key)
Deprecated.
|
boolean |
playedBetween(long after,
long before)
Deprecated.
|
public PlayerContainer(PlayerContainer container)
@Deprecated public double getActivityIndex(long date, long playtimeMsThreshold, int loginThreshold)
public double getActivityIndex(long date, long playtimeMsThreshold)
public boolean playedBetween(long after, long before)
public <T> java.util.Optional<T> getValue(Key<T> key)