Class PlayerId

  • All Implemented Interfaces:

    
    public final class PlayerId
    
                        

    The user identifier.

    Contains a (unique) id, a PlayerType and an optional clientId.

    The clientId field is used in a "not mandatory logging" scenario, and to manage multi-platform dialogs.

    A PlayerId is equals to another PlayerId if both id are equals.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getId() The unique identifier of the player.
      final PlayerType getType() The type of the player.
      final String getClientId() The optional business client id.
      Boolean equals(Object other)
      Integer hashCode()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait