Files
SVSimServer/SVSim.BattleEngine/Shim/External/SdkStubs.cs
gamer147 a00e90c74a feat(battle-engine): clear header frontier (Item/ErrorDialog/SDK shims + infra copies)
Resolves the 268-error header frontier: settings Item base, ErrorDialog.Data,
RoomConnectController nested types, Unity asset/light/collider types, CriWare/
CodeStage/Spine SDK surface, and copies INetworkLogger + SingletonMonoBehaviour
verbatim. Per F3 this unmasks the type bodies (~26.5k member-level errors now
visible) -- the real M1 bulk, attacked in following waves.
2026-06-05 20:11:08 -04:00

51 lines
2.2 KiB
C#

// AUTHORED SHIM (not copied). Third-party SDK surface swept into the copy closure by
// non-battle files (audio/movie/anti-cheat/analytics/spine). None is on the battle-
// resolution path. Namespaces must merely exist (anchors); the few types referenced
// by member get a minimal no-op surface. Members grow only as the compile loop demands.
// ---- CriWare audio + movie ----
namespace CriWare
{
public class CriAtomExAcb { }
public class CriAtomExPlayback { }
internal class _ShimAnchor { }
}
namespace CriWare.CriMana
{
public class CriManaMovieMaterial
{
public enum MaxFrameDrop { Disable, One, Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten }
}
internal class _ShimAnchor { }
}
// ---- CodeStage anti-cheat obscured prefs (static k/v facade; no persistence headless) ----
namespace CodeStage.AntiCheat.ObscuredTypes
{
public static class ObscuredPrefs
{
public static bool HasKey(string key) => false;
public static void DeleteKey(string key) { }
public static void DeleteAll() { }
public static void Save() { }
public static int GetInt(string key, int defaultValue = 0) => defaultValue;
public static float GetFloat(string key, float defaultValue = 0f) => defaultValue;
public static string GetString(string key, string defaultValue = "") => defaultValue;
public static void SetInt(string key, int value) { }
public static void SetFloat(string key, float value) { }
public static void SetString(string key, string value) { }
}
}
// ---- Spine animation ----
namespace Spine { public class Bone { } internal class _ShimAnchor { } }
namespace Spine.Unity { public class SkeletonMecanim { } internal class _ShimAnchor { } }
// ---- misc third-party namespaces (anchors) ----
namespace RedShellUnity { internal class _ShimAnchor { } }
namespace PlatformSupport.Collections.ObjectModel { internal class _ShimAnchor { } }
namespace Convention { internal class _ShimAnchor { } }
namespace com.adjust.sdk { internal class _ShimAnchor { } }
namespace BestHTTP.Decompression { internal class _ShimAnchor { } }
namespace BestHTTP.SocketIO.Transports { internal class _ShimAnchor { } }