Class PlayerId

  • public final class PlayerId
    extends Object
    Identifier for a player instance.
    • Field Detail

      • UNSET

        public static final PlayerId UNSET
        A player identifier with unset default values that can be used as a placeholder or for testing.
    • Constructor Detail

      • PlayerId

        public PlayerId()
        Creates an instance for API < 31.
      • PlayerId

        public PlayerId​(LogSessionId logSessionId)
        Creates an instance for API ≥ 31.
        logSessionId - The LogSessionId used for this player.
    • Method Detail

      • getLogSessionId

        public LogSessionId getLogSessionId()
        Returns the LogSessionId for this player instance.