port(m1): wave 6i — Networking/Facebook/BestHTTP CS0103 statics (210->198)
- 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 <noreply@anthropic.com>
This commit is contained in:
@@ -126,6 +126,7 @@ namespace Facebook.Unity
|
||||
string RawResult { get; }
|
||||
}
|
||||
public delegate void FacebookDelegate<T>(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;
|
||||
|
||||
6
SVSim.BattleEngine/Shim/External/SdkStubs.cs
vendored
6
SVSim.BattleEngine/Shim/External/SdkStubs.cs
vendored
@@ -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; }
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user