port(m1): wave 7g — Unity coroutine/overload + app-member tail (88->56)

- MonoBehaviour.StopCoroutine(string) (iTween/NGUI StopCoroutine("name")),
  Object.DestroyImmediate(o, bool), GetComponentInParent<T>(bool includeInactive).
- App members: TitlePanelBase (:MonoBehaviour + IsFinishInit), PlayerController.Target,
  DialogManager.CreateDialogBaseOpenCardDetail, BattleLogWindow.HideCardListPanel,
  DetailPanelTouchProcessor.StopAttackTarget, StoryRecoveryData.ChapterCharaId +
  (SelectedStoryInfo) ctor overload.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-06-06 00:52:18 -04:00
parent 5c5a58af3c
commit 3a88b27752
6 changed files with 15 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ namespace Wizard
namespace Wizard.RoomMatch
{
public partial class PlayerController { }
public partial class PlayerController { public Player Target { get; } }
public partial class RoomBase { }
public partial class RoomFormatEventHandler { }
public partial class RoomWatchEventDispatch { }

View File

@@ -160,6 +160,6 @@ namespace Wizard
// UIManager no-op return types (empty stubs; methods returning them return null)
public partial class LoadingViewManager { }
public partial class AccountTransferHelper { }
public class DialogManager { }
public class DialogManager { public DialogBase CreateDialogBaseOpenCardDetail(CardDetailUI detailUI) => default!; }
public partial class ApplicationFinishManager { }
}

View File

@@ -63,6 +63,7 @@ namespace UnityEngine
public static void Destroy(Object o) { }
public static void Destroy(Object o, float t) { }
public static void DestroyImmediate(Object o) { }
public static void DestroyImmediate(Object o, bool allowDestroyingAssets) { }
public static void DontDestroyOnLoad(Object o) { }
public static T Instantiate<T>(T original) where T : Object => original;
public static T Instantiate<T>(T original, Transform parent) where T : Object => original;
@@ -95,6 +96,7 @@ namespace UnityEngine
public T[] GetComponentsInChildren<T>() => new T[0];
public T[] GetComponentsInChildren<T>(bool includeInactive) => new T[0];
public T GetComponentInParent<T>() => default;
public T GetComponentInParent<T>(bool includeInactive) => default;
public T[] GetComponentsInParent<T>() => new T[0];
public T[] GetComponents<T>() => new T[0];
public Component[] GetComponents(System.Type t) => new Component[0];
@@ -117,6 +119,7 @@ namespace UnityEngine
public Coroutine StartCoroutine(string methodName) => null;
public void StopCoroutine(IEnumerator routine) { }
public void StopCoroutine(Coroutine routine) { }
public void StopCoroutine(string methodName) { }
public void StopAllCoroutines() { }
public void Invoke(string methodName, float time) { }
public void CancelInvoke() { }
@@ -190,6 +193,7 @@ namespace UnityEngine
public T[] GetComponentsInChildren<T>() => new T[0];
public T[] GetComponentsInChildren<T>(bool includeInactive) => new T[0];
public T GetComponentInParent<T>() => default;
public T GetComponentInParent<T>(bool includeInactive) => default;
public T[] GetComponents<T>() => new T[0];
public Component[] GetComponents(Type t) => new Component[0];
public T AddComponent<T>() where T : Component => default;

View File

@@ -11,7 +11,7 @@ namespace Wizard.Story
namespace Wizard.Story.ChapterSelection
{
public partial class CommonPrefabContainer { }
public class TitlePanelBase { }
public class TitlePanelBase : UnityEngine.MonoBehaviour { public bool IsFinishInit { get; } }
}
namespace Wizard.Story.ChapterSelection.SelectionProcessing.Main

View File

@@ -68,6 +68,7 @@ namespace Wizard.Battle.Touch
public partial class DetailPanelTouchProcessor : ITouchProcessor
{
public DetailPanelTouchProcessor(BattleManagerBase battleMgr, BattleCardBase touchCard, InputMgr inputMgr, Prediction prediction, EvolutionSimpleProcessor evolutionProcessor) { }
public void StopAttackTarget() { }
public VfxBase Start() => NullVfx.GetInstance();
public VfxBase Update(float dt, Camera camera) => NullVfx.GetInstance();
public VfxWith<ITouchProcessor> End() => default!;

View File

@@ -36,6 +36,7 @@ namespace Wizard.Battle.UI
public partial class BattleLogWindow : UnityEngine.MonoBehaviour
{
public enum BattleLogType { Battle, PlayCardLog, Destruction, Information }
public void HideCardListPanel() { }
}
public partial class AvatarBattleTitleItem : UnityEngine.MonoBehaviour { }
public partial class AvatarBattlePassiveBonusItem : UnityEngine.MonoBehaviour { }
@@ -91,7 +92,12 @@ namespace Wizard.RoomMatch
namespace Wizard.Story
{
public class StoryRecoveryData { public StoryRecoveryData(LitJson.JsonData jsonData) { } }
public class StoryRecoveryData
{
public StoryRecoveryData(LitJson.JsonData jsonData) { }
public StoryRecoveryData(SelectedStoryInfo data) { }
public int ChapterCharaId { get; }
}
}
namespace Wizard.UI.Common