客户端rsa,冗余清理,bug修复,安卓build问题

This commit is contained in:
FloatGaming
2026-07-14 01:43:49 +08:00
parent fd22501f71
commit f8985d91d2
682 changed files with 4595 additions and 11216 deletions
+14
View File
@@ -1,7 +1,9 @@
using System;
using System.Collections;
using System.Collections.Generic;
#if UNITY_STANDALONE_WIN || UNITY_STANDALONE_LINUX || UNITY_STANDALONE_OSX || STEAMWORKS_WIN || STEAMWORKS_LIN_OSX
using Steamworks;
#endif
using UnityEngine;
using UnityEngine.UI;
@@ -591,6 +593,11 @@ public class UI_Player : MonoBehaviour
private IEnumerator LoadSteamProfileAsync(bool isSteamOnline)
{
#if !(UNITY_STANDALONE_WIN || UNITY_STANDALONE_LINUX || UNITY_STANDALONE_OSX || STEAMWORKS_WIN || STEAMWORKS_LIN_OSX)
// 非 Steam 平台(如 Android):无 Steam 资料,直接显示不可用。
ApplySteamUnavailable();
yield break;
#else
int initRetry = 0;
while (initRetry < 25 && !SteamManager.Initialized)
{
@@ -617,6 +624,7 @@ public class UI_Player : MonoBehaviour
}
ApplySteamUnavailable();
#endif
}
private void ApplySteamUnavailable()
@@ -640,6 +648,9 @@ public class UI_Player : MonoBehaviour
private static bool IsSteamOnline()
{
#if !(UNITY_STANDALONE_WIN || UNITY_STANDALONE_LINUX || UNITY_STANDALONE_OSX || STEAMWORKS_WIN || STEAMWORKS_LIN_OSX)
return false;
#else
if (!SteamManager.Initialized)
{
return false;
@@ -653,8 +664,10 @@ public class UI_Player : MonoBehaviour
{
return false;
}
#endif
}
#if UNITY_STANDALONE_WIN || UNITY_STANDALONE_LINUX || UNITY_STANDALONE_OSX || STEAMWORKS_WIN || STEAMWORKS_LIN_OSX
private bool TryPopulateSteamProfile(bool isSteamOnline)
{
try
@@ -746,6 +759,7 @@ public class UI_Player : MonoBehaviour
return true;
}
#endif
private struct UserInfoSnapshot
{