public class TablePlayer extends java.lang.Object implements java.lang.Comparable<TablePlayer>
Modifier and Type | Class and Description |
---|---|
static class |
TablePlayer.Builder |
Modifier and Type | Method and Description |
---|---|
static TablePlayer.Builder |
builder() |
static TablePlayer.Builder |
builderFromBaseUser(BaseUser baseUser) |
int |
compareTo(TablePlayer other) |
boolean |
equals(java.lang.Object o) |
java.util.Optional<ActivityIndex> |
getCurrentActivityIndex() |
java.util.Optional<java.lang.String> |
getGeolocation() |
java.util.Optional<java.lang.Long> |
getLastSeen() |
java.util.Optional<java.lang.String> |
getName() |
java.util.UUID |
getPlayerUUID() |
java.util.Optional<java.lang.Long> |
getPlaytime() |
java.util.Optional<java.lang.Long> |
getRegistered() |
java.util.Optional<java.lang.Integer> |
getSessionCount() |
int |
hashCode() |
boolean |
isBanned() |
java.lang.String |
toString() |
public static TablePlayer.Builder builder()
public static TablePlayer.Builder builderFromBaseUser(BaseUser baseUser)
public java.util.UUID getPlayerUUID()
public java.util.Optional<java.lang.String> getName()
public java.util.Optional<ActivityIndex> getCurrentActivityIndex()
public java.util.Optional<java.lang.Long> getPlaytime()
public java.util.Optional<java.lang.Integer> getSessionCount()
public java.util.Optional<java.lang.Long> getRegistered()
public java.util.Optional<java.lang.Long> getLastSeen()
public java.util.Optional<java.lang.String> getGeolocation()
public boolean isBanned()
public int compareTo(TablePlayer other)
compareTo
in interface java.lang.Comparable<TablePlayer>
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