public class Player extends Object implements IModel, Serializable
| Constructor and Description |
|---|
Player() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static Player |
fromJson(com.fasterxml.jackson.databind.JsonNode data) |
List<Attribute> |
getAttributes() |
List<String> |
getDenyUserIds() |
String |
getRoleName() |
String |
getUserId() |
int |
hashCode() |
void |
setAttributes(List<Attribute> attributes) |
void |
setDenyUserIds(List<String> denyUserIds) |
void |
setRoleName(String roleName) |
void |
setUserId(String userId) |
com.fasterxml.jackson.databind.JsonNode |
toJson() |
Player |
withAttributes(List<Attribute> attributes) |
Player |
withDenyUserIds(List<String> denyUserIds) |
Player |
withRoleName(String roleName) |
Player |
withUserId(String userId) |
public String getUserId()
public void setUserId(String userId)
public String getRoleName()
public void setRoleName(String roleName)
public static Player fromJson(com.fasterxml.jackson.databind.JsonNode data)
public com.fasterxml.jackson.databind.JsonNode toJson()
Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.