Class UserInfo
- java.lang.Object
-
- com.djrapitops.plan.gathering.domain.UserInfo
-
public class UserInfo extends java.lang.Object
Represents user information stored in plan_user_info.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 Summary
Constructors Constructor Description UserInfo(java.util.UUID playerUUID, ServerUUID serverUUID, long registered, boolean opped, java.lang.String joinAddress, boolean banned)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getJoinAddress()
java.util.UUID
getPlayerUuid()
long
getRegistered()
ServerUUID
getServerUUID()
int
hashCode()
boolean
isBanned()
boolean
isOperator()
java.lang.String
toString()
-
-
-
Constructor Detail
-
UserInfo
public UserInfo(java.util.UUID playerUUID, ServerUUID serverUUID, long registered, boolean opped, java.lang.String joinAddress, boolean banned)
-
-
Method Detail
-
getPlayerUuid
public java.util.UUID getPlayerUuid()
-
getServerUUID
public ServerUUID getServerUUID()
-
getJoinAddress
public java.lang.String getJoinAddress()
-
getRegistered
public long getRegistered()
-
isBanned
public boolean isBanned()
-
isOperator
public boolean isOperator()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-