Class PlayerContainer


  • @Deprecated
    public class PlayerContainer
    extends java.lang.Object
    Deprecated.
    Plan API v4 has been deprecated, use the APIv5 instead (https://github.com/plan-player-analytics/Plan/wiki/APIv5).
    Wrapper for a PlayerContainer.

    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.

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method 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.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PlayerContainer

        public PlayerContainer​(PlayerContainer container)
        Deprecated.
    • Method Detail

      • getActivityIndex

        @Deprecated
        public double getActivityIndex​(long date,
                                       long playtimeMsThreshold,
                                       int loginThreshold)
        Deprecated.
        loginThreshold no longer used for activity index.
      • getActivityIndex

        public double getActivityIndex​(long date,
                                       long playtimeMsThreshold)
        Deprecated.
      • playedBetween

        public boolean playedBetween​(long after,
                                     long before)
        Deprecated.
      • getValue

        public <T> java.util.Optional<T> getValue​(Key<T> key)
        Deprecated.