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

This commit is contained in:
2026-07-14 01:43:49 +08:00
parent fd22501f71
commit f8985d91d2
682 changed files with 4595 additions and 11216 deletions
@@ -46,7 +46,7 @@ public class budeff_appr : MonoBehaviour
private IEnumerator Animate()
{
float delay = Mathf.Max(0f, floatDelay);
if (delay > 0f) yield return new WaitForSeconds(delay);
if (delay > 0f) yield return GameplayClock.WaitForSeconds(delay);
float duration = Mathf.Max(0.0001f, fadeDuration);
bool useAnchored = _rectTransform != null;
@@ -7,6 +7,8 @@ using UnityEngine.UI;
[DefaultExecutionOrder(-1000)]
public class iBudeffPrefabController : MonoBehaviour
{
private static float GameplayNow => Application.isPlaying ? GameplayClock.NowSongTime : Time.realtimeSinceStartup;
public static iBudeffPrefabController Instance { get; private set; }
[Header("budeff Icons Prefab")]
@@ -129,7 +131,7 @@ public class iBudeffPrefabController : MonoBehaviour
if (ally == null || buff == null) return;
if (!Application.isPlaying) return;
if (!IsTrackableBuff(buff)) return;
RegisterEntry(ally, GetGroupForBuff(buff), buff.buffId, 0f, Time.time);
RegisterEntry(ally, GetGroupForBuff(buff), buff.buffId, 0f, GameplayNow);
}
public void NotifyBuffRemoved(AllyCombatant ally, Buff buff)
@@ -170,7 +172,7 @@ public class iBudeffPrefabController : MonoBehaviour
if (!Application.isPlaying) return;
if (!IsTrackableEnemyBuff(buff)) return;
Debug.LogWarning($"[iBudeffPrefabController] Enemy buff applied: enemy={enemy.name} id={enemy.GetInstanceID()} buffId={buff.buffId} desc={buff.description} atkMult={buff.attackMultiplier} healMult={buff.healReceivedMultiplier} scoreMult={buff.scoreMultiplier}");
RegisterEnemyEntry(enemy, GetGroupForEnemyBuff(buff), buff.buffId, 0f, Time.time);
RegisterEnemyEntry(enemy, GetGroupForEnemyBuff(buff), buff.buffId, 0f, GameplayNow);
}
public void NotifyEnemyBuffRemoved(EnemyCombatant enemy, Buff buff)
@@ -188,7 +190,7 @@ public class iBudeffPrefabController : MonoBehaviour
var group = GetGroupForIconType(type);
string id = Guid.NewGuid().ToString();
Debug.LogWarning($"[iBudeffPrefabController] Enemy timed effect: enemy={enemy.name} id={enemy.GetInstanceID()} type={type} value={value} duration={duration} group={group}");
RegisterEnemyEntry(enemy, group, id, value, Time.time);
RegisterEnemyEntry(enemy, group, id, value, GameplayNow);
return id;
}
@@ -206,7 +208,7 @@ public class iBudeffPrefabController : MonoBehaviour
var group = GetGroupForIconType(type);
string id = Guid.NewGuid().ToString();
RegisterEntry(ally, group, id, value, Time.time, duration);
RegisterEntry(ally, group, id, value, GameplayNow, duration);
return id;
}
@@ -1291,7 +1293,7 @@ public class iBudeffPrefabController : MonoBehaviour
{
if (go == null || cg == null) yield break;
cg.alpha = (i % 2 == 0) ? 1f : 0.08f;
yield return new WaitForSeconds(step);
yield return GameplayClock.WaitForSeconds(step);
}
if (go != null && cg != null) cg.alpha = 1f;
@@ -1310,7 +1312,7 @@ public class iBudeffPrefabController : MonoBehaviour
{
if (go == null || cg == null) yield break;
cg.alpha = (i % 2 == 0) ? 0.08f : 1f;
yield return new WaitForSeconds(step);
yield return GameplayClock.WaitForSeconds(step);
}
if (go != null && cg != null) cg.alpha = 0f;