public class UserInfo
extends java.lang.Object
Unlike BaseUser
one instance is stored per server for a single player.
Proxy servers are an exception, and UserInfo is not stored for them.
Constructor and Description |
---|
UserInfo(java.util.UUID playerUUID,
java.util.UUID serverUUID,
long registered,
boolean opped,
boolean banned) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.UUID |
getPlayerUuid() |
long |
getRegistered() |
java.util.UUID |
getServerUUID() |
int |
hashCode() |
boolean |
isBanned() |
boolean |
isOperator() |
java.lang.String |
toString() |
public UserInfo(java.util.UUID playerUUID, java.util.UUID serverUUID, long registered, boolean opped, boolean banned)
public java.util.UUID getPlayerUuid()
public java.util.UUID getServerUUID()
public long getRegistered()
public boolean isBanned()
public boolean isOperator()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object