Files
SVSimServer/SVSim.BattleEngine/Shim/External/ThirdParty.cs
gamer147 9376b35db2 port(m1): wave 6c — Unity + Steam/FB/Adjust static-class shims (696->572)
Off-battle-path static surfaces (CS0103 cluster):
- UnityStatics: Gizmos, Physics2D, Caching, GUIUtility, Cursor, ColorUtility,
  ScreenCapture, RenderSettings, JsonUtility, Social + CursorLockMode enum.
- RaycastHit2D implicit-bool operator; ILocalUser in SocialPlatforms.
- Steamworks: Callback<T>.Create, AppId_t/CSteamID/HAuthTicket/SteamNetworkingIdentity,
  MicroTxn/GetAuthSessionTicket response structs, SteamAPI/User/Utils/Client statics.
  Removed empty dup GetAuthSessionTicketResponse_t from ThirdParty.cs.
- Facebook.Unity: FB + ILoginResult + FacebookDelegate<T>; com.adjust.sdk.Adjust;
  global TimeNativePlugin/Packsize native-plugin stubs.

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

50 lines
1.5 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 ----
// ---- BestHTTP Socket.IO ----
namespace BestHTTP.SocketIO
{
public interface IManager { }
}
// ---- Google Play Games ----
namespace GooglePlayGames.BasicApi.Events
{
public class Event { }
}