@Environment(value=CLIENT) public class PlayerInfo extends ValueObject implements RealmsSerializable
Modifier and Type | Field and Description |
---|---|
private boolean |
accepted |
private String |
name |
private boolean |
online |
private boolean |
operator |
private String |
uuid |
Constructor and Description |
---|
PlayerInfo() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAccepted() |
String |
getName() |
boolean |
getOnline() |
String |
getUuid() |
boolean |
isOperator() |
void |
setAccepted(boolean accepted) |
void |
setName(String name) |
void |
setOnline(boolean online) |
void |
setOperator(boolean operator) |
void |
setUuid(String uuid) |
toString
@SerializedName(value="name") private String name
@SerializedName(value="uuid") private String uuid
@SerializedName(value="operator") private boolean operator
@SerializedName(value="accepted") private boolean accepted
@SerializedName(value="online") private boolean online
public String getName()
public void setName(String name)
public String getUuid()
public void setUuid(String uuid)
public boolean isOperator()
public void setOperator(boolean operator)
public boolean getAccepted()
public void setAccepted(boolean accepted)
public boolean getOnline()
public void setOnline(boolean online)