Authored Unity primitive/object-model shim, VFX layer (control-flow-preserving, InstantVfx never invokes its action -- headless suppression), god-object stubs (GameMgr/EffectMgr/UIManager with faithfully-extracted nested enums), View/UI/Touch tree, LitJson+BetterList+Tuple copied, third-party stubs. Discovered Roslyn header-error masking: fixing class-header type errors unmasks body references, so the true copy closure is ~2570 files (was 782 under masking). Errors: masked-25720 -> 268; our shim files compile clean. Remaining: ~50 residual shim/external types, 24 NGUI UI-base overrides, static-type fixes, plus likely 1-2 more unmask waves.
51 lines
2.3 KiB
C#
51 lines
2.3 KiB
C#
// AUTHORED SHIM (not copied). Final loose ends for the M1 compile: (1) namespace
|
|
// "anchors" -- empty `using` targets in tangentially-copied files reference these
|
|
// namespaces, which must merely exist; a single internal anchor type declares them.
|
|
// (2) a few concrete tangential types referenced directly. (3) minimal third-party
|
|
// serialization/SDK surface. None is on the battle-resolution path.
|
|
|
|
namespace Wizard.AutoTest { internal class _ShimAnchor { } }
|
|
namespace Wizard.Title { internal class _ShimAnchor { } }
|
|
namespace Wizard.ErrorDialog { internal class _ShimAnchor { } }
|
|
namespace Wizard.Bingo { internal class _ShimAnchor { } }
|
|
namespace Wizard.Scripts.Network.Data.TaskData.BuildDeckPurchase { internal class _ShimAnchor { } }
|
|
namespace Wizard.Scripts.Network.Data.TaskData.ItemPurchase { internal class _ShimAnchor { } }
|
|
namespace Wizard.Scripts.Network.Data.TaskData.SkinPurchase { internal class _ShimAnchor { } }
|
|
namespace Wizard.Scripts.Network.Data.TaskData.SpotCardExchange { internal class _ShimAnchor { } }
|
|
|
|
// These are NAMESPACES (used as `using` targets in copied files), not types.
|
|
namespace Wizard.DeckSelect.FirstDisplayPageIndexGetter { internal class _ShimAnchor { } }
|
|
namespace Wizary.StorySelectionWorld { internal class _ShimAnchor { } }
|
|
namespace Wizard.Scripts.Network.Data.TableData.Arena.TwoPick { internal class _ShimAnchor { } }
|
|
namespace Wizard.Scripts.Network.Data.TaskData.Arena { public class Reward { } }
|
|
|
|
// IManager: a Cute manager interface implemented by NetworkManager/ResourcesManager.
|
|
namespace Cute { public interface IManager { } }
|
|
|
|
// ---- third-party serialization / SDK (minimal surface) ----
|
|
namespace MessagePack
|
|
{
|
|
public static class MessagePackSerializer
|
|
{
|
|
public static byte[] Serialize<T>(T obj) => new byte[0];
|
|
public static T Deserialize<T>(byte[] bytes) => default;
|
|
public static string ToJson(byte[] bytes) => "";
|
|
public static byte[] FromJson(string json) => new byte[0];
|
|
}
|
|
}
|
|
|
|
namespace MiniJSON
|
|
{
|
|
public static class Json
|
|
{
|
|
public static object Deserialize(string json) => null;
|
|
public static string Serialize(object obj) => "";
|
|
}
|
|
}
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Steam callback wrapper (engine only references the type).
|
|
public sealed class Callback<T> { }
|
|
}
|