Files
SVSimServer/SVSim.BattleEngine/Shim/View/ClosureStubs.cs
gamer147 755f7fd148 port(m1): wave 6b — View base members + app-type stubs (772->696)
- BattleCardView shim: GameObject, HandFrameEffect, GetCurrentIconLayout (fixes Player/EnemyClassBattleCardView.GameObject inheritance).
- BattlePlayerViewBase.AlwaysShowStatusPanel; NullBattleCardView.ReleaseSharedDummy.
- EvolutionTouchProcessor: 4 events (OnFocus/Unfocus/Select/NotSelect Target) hand-added — m1_stub_gen drops `event` decls.
- Generated full-surface stubs: StoryWorldDataManager, GenerateDeckCode, GameSetup, CommonPrefabContainer, ApplicationFinishManager, EvolutionConfirmation, ReplayDataHandler (hand stubs -> partial).
- Closure pulled by StoryWorldDataManager full-surface: 4 verbatim copies (StoryChapter/Summary/LeaderSelect dialogs, ClassIconName) + empty stubs StoryWorldData/BattleRecovery/ResourceDownloader/TemporaryAssetDeleter (non-battle, signature-only).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 23:50:10 -04:00

43 lines
1.8 KiB
C#

// AUTHORED SHIM (not copied). Closure stubs for NESTED types whose unqualified
// references survive in net-new generated no-op shells. The generator emits each
// shell as a base-less `partial class` (it never re-emits the decomp base clause),
// so a derived view that referenced an inherited nested type (e.g. UnitBattleCardView
// using BattleCardView.BuildInfo) loses the inheritance path and the name resolves
// only at NAMESPACE scope. Declaring these top-level in the decomp namespace lets the
// shell's signatures resolve. Safe because nothing crosses the engine boundary with
// these types (zero CS0029 mismatches) — they exist purely so the no-op shells compile.
namespace Wizard.Battle.View
{
// nested in BattlePlayerViewBase (decomp); referenced unqualified by BattlePlayerView shell.
public class BattleDialog { }
public enum BattleDialogItem { Menu, Retire }
// nested in BattleCardView/BattleCardBase (decomp); referenced unqualified by *BattleCardView shells.
public class BuildInfo { }
}
namespace Wizard.Battle.UI
{
// private delegate nested in BattleLogUtility (decomp); referenced by its generated partial.
public delegate string FuncGetCantAttackText();
}
namespace Wizard.RoomMatch
{
// nested enum in PlayerController (decomp); referenced by PlayerControllerForOwn shell.
public enum ROOM_URI { }
}
namespace Wizard.RoomMatch
{
// referenced as field/param types by the watch/replay controller shells (off battle path).
public class TwoPickWatchData { }
public partial class ReplayDataHandler { }
}
namespace Wizard.Battle.View.Vfx
{
// VfxBase subclass declared in StartPickCardVfx.cs (decomp); referenced as a type by StartSummonCardVfx shell.
public class WaitUntilCardIsQueuedToBePlayedVfx { }
}