Class PlayerAuthentication

java.lang.Object
com.hypixel.hytale.server.core.auth.PlayerAuthentication

public class PlayerAuthentication extends Object
  • Field Details

    • MAX_REFERRAL_DATA_SIZE

      public static final int MAX_REFERRAL_DATA_SIZE
      See Also:
    • uuid

      private UUID uuid
    • username

      private String username
    • referralData

      private byte[] referralData
    • referralSource

      private HostAddress referralSource
  • Constructor Details

    • PlayerAuthentication

      public PlayerAuthentication()
    • PlayerAuthentication

      public PlayerAuthentication(@Nonnull UUID uuid, @Nonnull String username)
  • Method Details

    • getUsername

      @Nonnull public String getUsername()
    • getUuid

      @Nonnull public UUID getUuid()
    • setUsername

      public void setUsername(@Nonnull String username)
    • setUuid

      public void setUuid(@Nonnull UUID uuid)
    • getReferralData

      @Nullable public byte[] getReferralData()
    • setReferralData

      public void setReferralData(@Nullable byte[] referralData)
    • getReferralSource

      @Nullable public HostAddress getReferralSource()
    • setReferralSource

      public void setReferralSource(@Nullable HostAddress referralSource)