/**
* Get a UserListItemMessage entry representing adding this player.
* @return The entry (action ADD_PLAYER) with this player's information.
*/
public UserListItemMessage.Entry getUserListEntry() {
TextMessage displayName = null;
if (playerListName != null && !playerListName.isEmpty()) {
displayName = new TextMessage(playerListName);
}
return UserListItemMessage.add(getProfile(), getGameMode().getValue(), 0, displayName);
}