Files
SVSimServer/SVSim.BattleEngine/Shim/External/ThirdParty.cs
gamer147 d01e3da869 feat(battle-engine): UnityEngine member + static-class shims (3526->2706)
Extend the UnityEngine value/component shims with no-op members surfaced by the compile
loop (UnityWebRequest/Font/Mesh/LODGroup/AudioSource/Rigidbody/Camera/Sprite/Animation/
Transform/Material/Texture2D/Light/Input/Resources + CharacterInfo/Vector4), via partial
declarations + UnityShimExt.cs. Add the missing UnityEngine static classes (PlayerPrefs/
Physics/GUI/SystemInfo/Graphics/QualitySettings/StackTraceUtility) + enums (TextureFormat/
ColorSpace/EventModifiers/RenderTextureReadWrite) + Experimental.Rendering.GraphicsFormat*
in UnityStatics.cs. All cosmetic, off the battle path.

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

40 lines
1.1 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 reads Event.current (legacy IMGUI event).
public class Event { public static Event current => null; }
}
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 { }
}