From 6e9c5c059fc139fa35a8e66ed94038e32450ceea Mon Sep 17 00:00:00 2001 From: gamer147 Date: Sat, 6 Jun 2026 00:20:22 -0400 Subject: [PATCH] =?UTF-8?q?port(m1):=20wave=206i=20=E2=80=94=20Networking/?= =?UTF-8?q?Facebook/BestHTTP=20CS0103=20statics=20(210->198)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - UnityEngine.Networking: UnityWebRequestTexture, DownloadHandlerTexture, DownloadHandlerAssetBundle. - Facebook.Unity.AccessToken (CurrentAccessToken/TokenString/UserId). - BestHTTP.Decompression.Zlib.GZipStream.UncompressBuffer; global DllCheck.Test. Co-Authored-By: Claude Opus 4.8 --- SVSim.BattleEngine/Shim/External/LooseEnds.cs | 1 + SVSim.BattleEngine/Shim/External/SdkStubs.cs | 6 ++++++ SVSim.BattleEngine/Shim/UnityEngine/UnityShimExt.cs | 3 +++ 3 files changed, 10 insertions(+) diff --git a/SVSim.BattleEngine/Shim/External/LooseEnds.cs b/SVSim.BattleEngine/Shim/External/LooseEnds.cs index f906e8d..74a9554 100644 --- a/SVSim.BattleEngine/Shim/External/LooseEnds.cs +++ b/SVSim.BattleEngine/Shim/External/LooseEnds.cs @@ -126,6 +126,7 @@ namespace Facebook.Unity string RawResult { get; } } public delegate void FacebookDelegate(T result); + public class AccessToken { public string TokenString => ""; public string UserId => ""; public static AccessToken CurrentAccessToken => null; } public static class FB { public static bool IsLoggedIn => false; diff --git a/SVSim.BattleEngine/Shim/External/SdkStubs.cs b/SVSim.BattleEngine/Shim/External/SdkStubs.cs index 2308042..7720709 100644 --- a/SVSim.BattleEngine/Shim/External/SdkStubs.cs +++ b/SVSim.BattleEngine/Shim/External/SdkStubs.cs @@ -90,6 +90,12 @@ namespace com.adjust.sdk namespace BestHTTP.Decompression { internal class _ShimAnchor { } } namespace BestHTTP.SocketIO.Transports { internal class _ShimAnchor { } } +namespace BestHTTP.Decompression.Zlib +{ + public static class GZipStream { public static byte[] UncompressBuffer(byte[] data) => data; } +} + // Native plugins (no decomp source) referenced unqualified from global scope. public static class TimeNativePlugin { public static float GetDeviceOperatingTime() => 0f; } public static class Packsize { public static void Test() { } } +public static class DllCheck { public static bool Test() => true; } diff --git a/SVSim.BattleEngine/Shim/UnityEngine/UnityShimExt.cs b/SVSim.BattleEngine/Shim/UnityEngine/UnityShimExt.cs index 9c6c0c8..9c19b81 100644 --- a/SVSim.BattleEngine/Shim/UnityEngine/UnityShimExt.cs +++ b/SVSim.BattleEngine/Shim/UnityEngine/UnityShimExt.cs @@ -224,6 +224,9 @@ namespace UnityEngine.Networking public class UploadHandlerRaw : UploadHandler { public UploadHandlerRaw(byte[] data) { } } public class DownloadHandlerBuffer : DownloadHandler { } public class UnityWebRequestAsyncOperation : AsyncOperation { } + public static class UnityWebRequestTexture { public static UnityWebRequest GetTexture(string uri) => new UnityWebRequest(); } + public class DownloadHandlerTexture : DownloadHandler { public UnityEngine.Texture2D texture => null; public static UnityEngine.Texture2D GetContent(UnityWebRequest www) => null; } + public class DownloadHandlerAssetBundle : DownloadHandler { public UnityEngine.AssetBundle assetBundle => null; public static UnityEngine.AssetBundle GetContent(UnityWebRequest www) => null; } } namespace UnityEngine