minified-auth/com.dervarex.minified.auth.user
OfflineUser
@API(status = STABLE)
public final class OfflineUser
implements MinecraftAccountRepresents an offline-mode user
uuid is the offline uuid for the user (MD5 hash of username, converted to a Version 3 UUID)
username is the display name of the user
- Implemented interfaces
- MinecraftAccount
Constructors
public OfflineUser(String username)| Parameters | ||
|---|---|---|
username | String | |
Methods
boolean equals(Object)MinecraftUUID getMinecraftUUID()int hashCode()String toString()String username()public boolean equals(Object o)| Parameters | ||
|---|---|---|
o | Object | |
| Returns | ||
boolean | ||
Overrides Object.equals()
public MinecraftUUID getMinecraftUUID()| Returns | ||
|---|---|---|
MinecraftUUID | MinecraftUUID, contains dashed and non dashed uuid | |
Implements MinecraftAccount.getMinecraftUUID()
public int hashCode()| Returns | ||
|---|---|---|
int | ||
Overrides Object.hashCode()
public String toString()| Returns | ||
|---|---|---|
String | ||
Overrides Object.toString()
public String username()| Returns | ||
|---|---|---|
String | The display name of the account | |
Implements MinecraftAccount.username(), description copied from there