Files
SVSimServer/SVSim.BattleEngine/Shim/View/SettingsUiStubs.cs
gamer147 4be630bd09 feat(battle-engine): full-surface app-type god-object/manager stubs (1692->1586 true)
Make the minimal hand shims partial + generate full member surface for the manager/
task/controller god-objects (LoadingViewManager/DeckUpdateTask/MyPageTask/ReplayController/
PlayerControllerForWatching/WatchDataHandler/EvolutionTouchProcessor/StoryChapterSelection
Utility/NonDialogPopup). NonDialogPopup given MonoBehaviour base + hand Close() removed
(superseded by full surface). LoadTask dup deleted (already copied verbatim). RoomMatch
watch/replay closure types stubbed. Copied 8 more closure files.

CS0246-in-generated-signature masking note: 4 such errors were hiding ~1582 — generated
CS0246 masks as hard as header CS0246; the real frontier is 1586 (CS7036 base-ctor +
member-level), 0 structural.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 22:33:37 -04:00

124 lines
4.3 KiB
C#

// AUTHORED SHIM (not copied). Non-battle game types (settings widgets, error-dialog
// data, login-bonus, deck-builder, story chapter-selection, room-match, socket.io)
// swept into the copy closure but never driven headless. Stubbed in their ORIGINAL
// namespaces so the copied engine resolves their type references. Enums are replicated
// VERBATIM from decomp (integer values can be cast); classes are empty until the loop
// demands a member.
using UnityEngine;
namespace Wizard.Dialog.Setting
{
// Real base of ItemButton/ItemToggle/... (copied). Abstract methods the copied
// subclasses override -- without this base they fall back to the unrelated
// Wizard.Item data class and CS0115 ("no method to override").
public abstract class Item : MonoBehaviour
{
public abstract void AddChangeCallback(EventDelegate.Callback callback);
public abstract void SetActive_SeparatorLine(bool isActive);
}
}
namespace Wizard.ErrorDialog
{
// Real Wizard.ErrorDialog.Data; without it Dialog.cs's unqualified `Data` falls
// back to the static Wizard.Data god-object (CS0718/0722/0723 + missing ButtonType).
public class Data
{
public enum ContactDisplayType { _NONE_, , MAX }
public enum ButtonType { _NONE_, OK, , , , , , , MAX }
public string TitleId { get; private set; }
public string BodyId { get; private set; }
public bool IsDisplayContact { get; private set; }
public ButtonType MainButton { get; private set; }
public ButtonType SubButton { get; private set; }
public int PanelDepth { get; private set; }
public Data(string id, string titleId, string bodyId, string contactDisplay,
string mainButton, string subButton, string panelDepth) { }
}
}
namespace Wizard.Battle.UI
{
public enum CantAttackType { Null, All, Class, NotHasGuard, Unit, Max }
}
namespace Wizard.Battle.View
{
public abstract class ClassBattleCardViewBase { }
public class NullBattleCardView { }
}
namespace Wizard.Battle.View.Vfx
{
// Base of the copied PuzzleBattleManager.PuzzleOpeningVfx (ctor + abstract override).
public abstract partial class OpeningVfx : SequentialVfxPlayer
{
protected OpeningVfx(BackGroundBase backGround) { }
public abstract void RegisterOpeningVfx(ClassBattleCardBase playerClass, ClassBattleCardBase enemyClass);
}
}
namespace AnimationOrTween
{
public enum DisableCondition { DisableAfterReverse = -1, DoNotDisable, DisableAfterForward }
public enum EnableCondition { DoNothing, EnableThenPlay, IgnoreDisabledState }
}
namespace Wizard.UI.LoginBonus
{
public class ContinuousData { }
public class NormalData { }
public class SpecialData { }
public class FreeCardPackBoxData { }
}
namespace DeckBuilder
{
public class GenerateDeckCode { }
public partial class GetDeckDataFromCode { }
}
namespace Wizard.Story.ChapterSelection.SelectionProcessing.BattleResult
{
public interface IProcessing { }
public class Parameter { }
}
namespace Wizard.RoomMatch
{
public partial class PlayerControllerForWatching { }
public partial class RoomRuleSetting { }
}
namespace Cute
{
public class SceneManager { }
}
namespace Wizard.Story
{
public enum StoryApiType { None, MainStory, LimitedStory, EventStory }
public partial class SelectedStoryInfo { }
public sealed class StoryWorldDataManager { }
}
namespace BestHTTP.SocketIO
{
public sealed class Packet { }
public sealed class Socket { }
// SocketManager is a BestHTTP SDK type — minimal hand shim (full-surface would pull
// the whole SocketIO SDK closure). Members filled on demand as the frontier needs them.
public sealed class SocketManager
{
public enum States { Initial, Opening, Open, Paused, Reconnecting, Closed }
}
}
// ---- namespace anchors (referenced via `using`/qualified path; no type used yet) ----
namespace Wizard.Scripts.Network.Task { internal class _ShimAnchor { } }
namespace Wizard.Scripts.Network.Task.Arena { internal class _ShimAnchor { } }
namespace Wizard.Scripts.Network.Task.Arena.TwoPick { internal class _ShimAnchor { } }
namespace BestHTTP.Decompression.Zlib { internal class _ShimAnchor { } }