好多新内容

This commit is contained in:
FloatGaming
2026-07-22 05:35:53 +08:00
parent b5d1cdcbc5
commit 15649d02f8
128 changed files with 5956 additions and 673 deletions
@@ -27,6 +27,8 @@ public sealed class FriendCardViewData
public string SteamId;
public string DisplayName;
public string AvatarUrl;
public string PlayerTitleId;
public string PlayerTitle;
public string StatusText;
public bool IsOnline;
public bool IsStarred;
@@ -362,6 +364,12 @@ public class friendSystem : MonoBehaviour
steamFriend != null ? steamFriend.AvatarUrl : string.Empty,
NetworkManager.ResolveAvatarUrl(gameFriend.friend_avatar, steamId),
steamId),
PlayerTitleId = !string.IsNullOrWhiteSpace(gameFriend.player_title_id)
? gameFriend.player_title_id
: (steamFriend != null ? steamFriend.PlayerTitleId : string.Empty),
PlayerTitle = !string.IsNullOrWhiteSpace(gameFriend.player_title)
? gameFriend.player_title
: (steamFriend != null ? steamFriend.PlayerTitle : string.Empty),
StatusText = mergedStatus,
IsOnline = mergedOnline,
IsStarred = LoadStarredState(steamId),
@@ -419,6 +427,12 @@ public class friendSystem : MonoBehaviour
steamFriend != null ? steamFriend.AvatarUrl : string.Empty,
NetworkManager.ResolveAvatarUrl(profile.avatar_url, steamId),
steamId),
PlayerTitleId = !string.IsNullOrWhiteSpace(profile.player_title_id)
? profile.player_title_id
: (!string.IsNullOrWhiteSpace(profile.primary_honor?.honor_key) ? profile.primary_honor.honor_key : string.Empty),
PlayerTitle = !string.IsNullOrWhiteSpace(profile.player_title)
? profile.player_title
: (!string.IsNullOrWhiteSpace(profile.primary_honor?.honor_name) ? profile.primary_honor.honor_name : string.Empty),
StatusText = mergedStatus,
IsOnline = mergedOnline,
IsStarred = LoadStarredState(steamId),