Files
SVSimServer/SVSim.BattleEngine/Shim/External/ThirdParty.cs
gamer147 795f7a6bc8 feat(battle-engine): preserve ctor base-initializers + Event/Reward shims (1386->1226)
- 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>
2026-06-05 23:10:52 -04:00

56 lines
1.6 KiB
C#

// AUTHORED SHIM (not copied). Third-party / platform SDK surface referenced by
// tangentially-pulled engine files (audio, Steam, networking, serialization).
// Stubbed minimally in their original namespaces; none is on the battle-resolution
// path. Members grow only if the compile loop demands them.
using System;
// ---- remaining UnityEngine types ----
namespace UnityEngine
{
public partial class Font : Object { }
public enum Space { World, Self }
// NGUI's UIInputOnGUI / UIInput read the legacy IMGUI Event.
public enum EventType
{
MouseDown, MouseUp, MouseMove, MouseDrag, KeyDown, KeyUp,
ScrollWheel, Repaint, Layout, DragUpdated, DragPerform, DragExited,
Ignore, Used, ValidateCommand, ExecuteCommand, ContextClick,
MouseEnterWindow, MouseLeaveWindow, TouchDown, TouchUp, TouchMove,
TouchEnter, TouchLeave, TouchStationary
}
public class Event
{
public static Event current => null;
public EventType type;
public EventType rawType => type;
public KeyCode keyCode;
public EventModifiers modifiers;
public void Use() { }
}
}
namespace UnityEngine.Networking
{
public partial class UnityWebRequest : IDisposable { public void Dispose() { } }
}
// ---- CRI Atom/Mana audio+movie middleware: see External/CriShim.cs ----
// ---- Steamworks.NET ----
namespace Steamworks
{
public struct GetAuthSessionTicketResponse_t { }
}
// ---- BestHTTP Socket.IO ----
namespace BestHTTP.SocketIO
{
public interface IManager { }
}
// ---- Google Play Games ----
namespace GooglePlayGames.BasicApi.Events
{
public class Event { }
}