Integrate per-save identity and interaction UI
This commit is contained in:
parent
ac82a28f3b
commit
4fda6e97f6
58 changed files with 3471 additions and 461 deletions
|
|
@ -278,7 +278,10 @@ func get_friend_presence() -> Array[Dictionary]:
|
|||
result.append({
|
||||
"fingerprint": fingerprint,
|
||||
"display_name": str(
|
||||
friend.get("last_known_display_name", "Player")
|
||||
friend.get(
|
||||
"last_known_display_name",
|
||||
NetworkProfilePreferences.DEFAULT_DISPLAY_NAME,
|
||||
)
|
||||
),
|
||||
"online": bool(live.get("online", false)),
|
||||
"room": (
|
||||
|
|
@ -1444,7 +1447,10 @@ func _on_invitation_poll_completed(
|
|||
continue
|
||||
friend_invite_received.emit(
|
||||
fingerprint,
|
||||
str(friend.get("last_known_display_name", "Player")),
|
||||
str(friend.get(
|
||||
"last_known_display_name",
|
||||
NetworkProfilePreferences.DEFAULT_DISPLAY_NAME,
|
||||
)),
|
||||
room.duplicate(true),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue