public class GameProfile
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GameProfile.Property |
| Modifier and Type | Field and Description |
|---|---|
static GameProfile |
NULL |
java.util.Map<java.lang.String,java.util.List<GameProfile.Property>> |
properties |
java.lang.String |
userName |
java.util.UUID |
uuid |
| Constructor and Description |
|---|
GameProfile(java.lang.String userName) |
GameProfile(java.lang.String userName,
java.util.UUID uuid) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(GameProfile.Property property) |
boolean |
equals(java.lang.Object o) |
java.util.List<GameProfile.Property> |
getAllProperties() |
int |
hashCode() |
boolean |
isOffline() |
java.lang.String |
toString() |
public static final GameProfile NULL
public java.lang.String userName
public java.util.UUID uuid
public java.util.Map<java.lang.String,java.util.List<GameProfile.Property>> properties
public GameProfile(java.lang.String userName)
public GameProfile(java.lang.String userName,
java.util.UUID uuid)
public void addProperty(GameProfile.Property property)
public java.util.List<GameProfile.Property> getAllProperties()
public boolean isOffline()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object