From e98f7e77e8365b08997e1304641b8c5d67f6ded3 Mon Sep 17 00:00:00 2001 From: Natalie Bunduwongse Date: Fri, 29 Nov 2024 11:28:52 +1300 Subject: [PATCH] feat: add compilation flags around all uwb files --- .../Passport/Runtime/Resources/index.html | 4 +- .../Runtime/Scripts/Public/Passport.cs | 1 - .../Runtime/NativeArrayExtensions.cs | 6 +- .../Runtime/NativeSliceExtensions.cs | 6 +- .../Runtime/SpanExtensions.cs | 5 ++ .../Runtime/Utils.cs | 6 +- ...roStudios.NativeArraySpanExtensions.asmdef | 27 ++++---- ...troStudios.UnityWebBrowser.Shared.dll.meta | 63 ++++++++++++++++++- .../Runtime/AssemblyInfo.cs | 5 ++ .../Communication/CommunicationLayer.cs | 6 +- .../Communication/TCPCommunicationLayer.cs | 6 +- .../Runtime/Core/BaseUwbClientManager.cs | 6 +- .../Runtime/Core/Engines/Engine.cs | 6 +- .../Core/Engines/EngineConfiguration.cs | 6 +- .../Runtime/Core/Engines/EngineProcess.cs | 6 +- .../Runtime/Core/Engines/Process/IProcess.cs | 6 +- .../Core/Engines/Process/LinuxProcess.cs | 4 ++ .../Core/Engines/Process/MacOsProcess.cs | 5 ++ .../Core/Engines/Process/WindowProcess.cs | 4 ++ .../Runtime/Core/FullscreenHandler.cs | 6 +- .../Core/Js/InvalidArgumentsException.cs | 6 +- .../Runtime/Core/Js/JsMethodManager.cs | 6 +- .../Core/Js/MethodNotFoundException.cs | 6 +- .../Runtime/Core/Js/NotEnabledException.cs | 6 +- .../Core/Js/UnsupportedTypeException.cs | 6 +- .../Runtime/Core/PixelsEventTypeReader.cs | 6 +- .../Core/Popups/WebBrowserPopupInfo.cs | 6 +- .../Core/Popups/WebBrowserPopupService.cs | 6 +- .../Core/RawImageUwbClientInputHandler.cs | 6 +- .../Runtime/Core/RawImageUwbClientManager.cs | 6 +- .../Runtime/Core/WebBrowserArgsBuilder.cs | 6 +- .../Runtime/Core/WebBrowserClient.cs | 6 +- .../Core/WebBrowserCommunicationsManager.cs | 6 +- .../Editor/Drawers/ResolutionDrawer.cs | 4 ++ .../Runtime/Editor/EditorHelper.cs | 4 ++ .../Editor/EngineManagement/EngineManager.cs | 4 ++ .../EngineManagerPostprocess.cs | 4 ++ .../Runtime/Events/OnClientConnected.cs | 6 +- .../Runtime/Events/OnClientInitialized.cs | 6 +- .../Runtime/Events/OnFullscreenChange.cs | 6 +- .../Runtime/Events/OnInputFocus.cs | 6 +- .../Runtime/Events/OnLoadFinish.cs | 6 +- .../Runtime/Events/OnLoadStart.cs | 6 +- .../Runtime/Events/OnLoadingProgressChange.cs | 6 +- .../Runtime/Events/OnPopup.cs | 6 +- .../Runtime/Events/OnTitleChange.cs | 6 +- .../Runtime/Events/OnUrlChange.cs | 6 +- .../Runtime/Helper/ProcessExtensions.cs | 6 +- .../Runtime/Helper/WebBrowserUtils.cs | 12 ++-- .../Runtime/Input/WebBrowserInputHandler.cs | 6 +- .../Runtime/Input/WebBrowserInputHelper.cs | 6 +- .../Input/WebBrowserInputSystemHandler.cs | 4 ++ .../Input/WebBrowserOldInputHandler.cs | 6 +- .../Logging/DefaultUnityWebBrowserLogger.cs | 6 +- .../Runtime/Logging/IWebBrowserLogger.cs | 6 +- .../Logging/JsonLogSeverityConverter.cs | 6 +- .../Runtime/Logging/JsonLogStructure.cs | 6 +- .../Runtime/Logging/ProcessLogHandler.cs | 6 +- .../Runtime/UwbHasInitializedException.cs | 6 +- .../Runtime/UwbIsConnectedException.cs | 6 +- .../Runtime/UwbIsNotConnectedException.cs | 6 +- .../Runtime/UwbIsNotReadyException.cs | 6 +- .../Runtime/UwbWebView.cs | 12 +++- .../VoltstroStudios.UnityWebBrowser.asmdef | 20 +----- .../Runtime/WebBrowserNoUi.cs | 6 +- .../Runtime/WebBrowserUIBasic.cs | 6 +- .../Runtime/WebBrowserUIControls.cs | 6 +- .../Runtime/WebBrowserUIControlsTMP.cs | 4 ++ .../Runtime/WebBrowserUIFull.cs | 6 +- .../Samples~/Runtime/Scripts/UWBRuntime.cs | 5 ++ .../org.nuget.voltrpc@3.2.1/VoltRpc.dll.meta | 60 +++++++++++++++++- 71 files changed, 460 insertions(+), 97 deletions(-) diff --git a/src/Packages/Passport/Runtime/Resources/index.html b/src/Packages/Passport/Runtime/Resources/index.html index 8ff35e1b..ea0e5fdf 100644 --- a/src/Packages/Passport/Runtime/Resources/index.html +++ b/src/Packages/Passport/Runtime/Resources/index.html @@ -1,4 +1,4 @@ -GameSDK Bridge