Integrate per-save identity and interaction UI

This commit is contained in:
Alexander Sellite 2026-09-01 17:30:50 -04:00
parent ac82a28f3b
commit 4fda6e97f6
58 changed files with 3471 additions and 461 deletions

View file

@ -801,7 +801,10 @@ func _refresh_entries() -> void:
else "online"
)
_server_list.add_item("%s%s" % [
str(friend.get("display_name", "Player")), state,
str(friend.get(
"display_name",
NetworkProfilePreferences.DEFAULT_DISPLAY_NAME,
)), state,
])
return
if _saved_servers == null or _mode == Mode.DIRECT:
@ -1451,7 +1454,9 @@ func _format_friend_details(friend: Dictionary) -> String:
return "Select a friend."
var room := _selected_friend_room()
var lines: Array[String] = [
"Friend: %s" % str(friend.get("display_name", "Player")),
"Friend: %s" % str(friend.get(
"display_name", NetworkProfilePreferences.DEFAULT_DISPLAY_NAME
)),
"Status: %s" % (
"online" if bool(friend.get("online", false)) else "offline"
),