PlayerAuthentication

public class PlayerAuthentication

Class PlayerAuthentication. Provides playerauthentication functionality for the Hytale server.

java.lang.Object > PlayerAuthentication

Field Summary

uuid

private UUID uuid

Field uuid.

username

private String username

Field username.

referralData

private byte[] referralData

Field referralData.

referralSource

private HostAddress referralSource

Field referralSource.

Method Detail

PlayerAuthentication

public public PlayerAuthentication ()

Method PlayerAuthentication.

getUsername

public String getUsername ()

Method getUsername.

getUuid

public UUID getUuid ()

Method getUuid.

setUsername

public void setUsername (@Nonnull final String username)

Method setUsername.

Parameters:
@Nonnull final String username

setUuid

public void setUuid (@Nonnull final UUID uuid)

Method setUuid.

Parameters:
@Nonnull final UUID uuid

getReferralData

public byte[] getReferralData ()

Method getReferralData.

setReferralData

public void setReferralData (@Nullable final byte[] referralData)

Method setReferralData.

Parameters:
@Nullable final byte[] referralData

getReferralSource

public HostAddress getReferralSource ()

Method getReferralSource.

setReferralSource

public void setReferralSource (@Nullable final HostAddress referralSource)

Method setReferralSource.

Parameters:
@Nullable final HostAddress referralSource