[trim] fully-unreachable files deleted: 6 [trim] files edited: 55, files deleted: 0, nodes removed: 244 [type-trim] files edited: 1, types removed: 1 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
25 lines
942 B
C#
25 lines
942 B
C#
using System;
|
|
using System.Collections;
|
|
using UnityEngine;
|
|
using Wizard.Battle.UI;
|
|
|
|
// Post-Phase-5b (2026-07-03) UI stub. BattleControl handles UI-side end-of-battle
|
|
// scene-change cleanup (DestroyBattleEffectContainer, ResetEnemyData, UIContainer
|
|
// visibility, iTween tear-down). Every method is only invoked from UI code paths
|
|
// (DialogBase.OnClose, MyPageBannerBase, FreeAndRankMatchDeckSelectConfirmDialog,
|
|
// RecoveryManagerBase, SceneTransition) that don't run headless. The type stays
|
|
// because GameMgr.GetBattleCtrl() lazy-inits it; the method bodies are no-ops.
|
|
public class BattleControl : MonoBehaviour
|
|
{
|
|
public void BattleEnd(UIManager.ViewScene MoveTo, Action callback = null, Action<UIManager.ChangeViewSceneParam> paramCustomize = null, object sceneParam = null)
|
|
{
|
|
callback?.Invoke();
|
|
}
|
|
|
|
public IEnumerator BattleEnd(Action callback = null)
|
|
{
|
|
yield return null;
|
|
callback?.Invoke();
|
|
}
|
|
}
|