- Regenerate 31 VFX/View/UI/Touch stubs to keep their decomp ': base(...)' / ': this(...)' ctor initializers (m1_stub_gen was dropping them -> CS7036/CS1729 when the copied base has no parameterless ctor). Whole base-ctor cluster cleared. - UnityEngine.Event: add rawType/keyCode/modifiers/Use() + EventType enum (NGUI UIInput/UIInputOnGUI legacy IMGUI path). - Reward: copy the real Wizard.Scripts.Network.Data.TaskData.Arena.Reward verbatim (was an empty ambiguous-name shim in LooseEnds); deps (UserGoods/JsonData) present. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
72 lines
3.2 KiB
C#
72 lines
3.2 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 { } }
|
|
|
|
// 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> { }
|
|
// Microtransaction auth response struct (referenced as a callback type arg).
|
|
public struct MicroTxnAuthorizationResponse_t { }
|
|
// Steam warning-message hook delegate (referenced as a type only).
|
|
public delegate void SteamAPIWarningMessageHook_t(int severity, System.Text.StringBuilder debugText);
|
|
}
|
|
|
|
// AOT P/Invoke callback attribute (IL2CPP) + StandaloneFileBrowser anchor.
|
|
namespace AOT
|
|
{
|
|
public sealed class MonoPInvokeCallbackAttribute : System.Attribute
|
|
{
|
|
public MonoPInvokeCallbackAttribute(System.Type type) { }
|
|
}
|
|
}
|
|
namespace SFB { internal class _ShimAnchor { } }
|
|
|
|
// ---- third-party SDK namespace anchors (referenced via `using`) ----
|
|
namespace Facebook { internal class _ShimAnchor { } }
|
|
namespace Facebook.Unity { internal class _ShimAnchor { } }
|
|
namespace RedShellSDK { internal class _ShimAnchor { } }
|
|
namespace ZXing { internal class _ShimAnchor { } }
|
|
namespace ZXing.QrCode { internal class _ShimAnchor { } }
|
|
namespace ZXing.QrCode.Internal { internal class _ShimAnchor { } }
|