diff --git a/README.md b/README.md index 9f93b57d4..04912fbfc 100644 --- a/README.md +++ b/README.md @@ -1018,28 +1018,40 @@ MagicOnion supports from Unity version 2021.3.0f1 (LTS) and above, which is avai Using MagicOnion with Unity client requires the following things: -- MagicOnion.Client.Unity.package (Unity asset package for MagicOnion library) -- gRPC library for Unity client (gRPC official) +- gRPC library - MessagePack for C# +- MagicOnion.Client for Unity -### MagicOnion.Client.Unity.package (Unity asset package for MagicOnion library) -`MagicOnion.Client.Unity.package` is available for download from [Releases](https://github.com/cysharp/MagicOnion/releases) page of this repository. +### Install gRPC library +There are two ways to use the gRPC library in Unity: -The package contains the code to use MagicOnion with Unity. It consists of several extensions for Unity in addition to MagicOnion.Client NuGet package. +- Using [YetAnotherHttpHandler](https://github.com/Cysharp/YetAnotherHttpHandler) and grpc-dotnet (recommended) +- Using gRPC's C-core (not recommended) -### gRPC library for Unity client (gRPC official) -gRPC library is not included in MagicOnion package. You need to download and install separately. +Since the maintenance of the C-core based library has ended in the gRPC project, we recommend using [YetAnotherHttpHandler](https://github.com/Cysharp/YetAnotherHttpHandler) . Please refer to the [README of YetAnotherHttpHandler](https://github.com/Cysharp/YetAnotherHttpHandler) for installation instructions. -gRPC library can be found at [gRPC daily builds](https://packages.grpc.io/), click `Build ID`, then click `grpc_unity_package.*.*.*-dev.zip` to download the library. See [gRPC C# - experimental support for Unity](https://github.com/grpc/grpc/tree/master/src/csharp/experimental#unity) for details. +If you are using the C-core gRPC library, please define `USE_GRPC_CCORE` symbol in "Scripting Define Symbols". -> **NOTE**: If you encounter error about `Google.Protobuf.dll`, you can remove the library. MagicOnion does not depend `Google.Protobuf.dll`. ([Issue#296](https://github.com/Cysharp/MagicOnion/issues/296)) +### Install MessagePack for C# +MessagePack for C# is not included in MagicOnion package. You need to download and install separately. -> **NOTE**: gRPC native library for iOS has a file size of over 100MB, which may cause problems when pushing to GitHub or others. For more information on solutions, see [Stripping debug symbols from ios/libgrpc.a](#stripping-debug-symbols-from-ioslibgrpca). +See [MessagePack for C# installation for Unity](https://github.com/MessagePack-CSharp/MessagePack-CSharp#unity) for details. -### MessagePack for C# -MessagePack for C# is not included in MagicOnion package. You need to download and install separately. +### Install MagicOnion.Client +There are two methods to install the MagicOnion.Client package: + +- Using the Unity package manager from git (recommended) +- Using a .unitypackage. + +To install using the Unity package manager, please specify the following URL in "Add package from git URL...". Specify the version tag as needed. + +``` +https://github.com/Cysharp/MagicOnion.git?path=src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion#6.0.0 +``` -See [MessagePack for C# installation for Unity](https://github.com/neuecc/MessagePack-CSharp#unity) for details. +`MagicOnion.Client.Unity.package` is available for download from [Releases](https://github.com/cysharp/MagicOnion/releases) page of this repository. + +The package contains the code to use MagicOnion with Unity. It consists of several extensions for Unity in addition to MagicOnion.Client NuGet package. ### Works with IL2CPP @@ -1110,152 +1122,12 @@ var hubClient = StreamingHubClient.ConnectAsync - /// Handle libgrpc project settings. - /// - /// - /// - [PostProcessBuild(1)] - public static void OnPostProcessBuild(BuildTarget target, string path) - { - var projectPath = PBXProject.GetPBXProjectPath(path); - var project = new PBXProject(); - project.ReadFromString(File.ReadAllText(projectPath)); - var targetGuid = project.TargetGuidByName(PBXProject.GetUnityTargetName()); - - // libz.tbd for grpc ios build - project.AddFrameworkToProject(targetGuid, "libz.tbd", false); - - // libgrpc_csharp_ext missing bitcode. as BITCODE exand binary size to 250MB. - project.SetBuildProperty(targetGuid, "ENABLE_BITCODE", "NO"); - - File.WriteAllText(projectPath, project.WriteToString()); - } -} -#endif -``` - -## Stripping debug symbols from ios/libgrpc.a -When you download gRPC daily build and extract Native Libraries for Unity, you will find file size of Plugins/Grpc.Core/runtime/ios/libgrpc.a beyonds 100MB. GitHub will reject commit when file size is over 100MB, therefore libgrpc.a often become unwelcome for gif-low. -The reason of libgrpc.a file size is because it includes debug symbols for 3 architectures, arm64, armv7 and x86_64. - -We introduce strip debug symbols and generate reduced size `libgrpc_stripped.a`, it's about 17MB. -This may useful for whom want commit `libgrpc.a` to GitHub, and understanding stripped library missing debug symbols. - -**How to strip** - -Download gRPC lib `grpc_unity_package.*.*.*-dev.zip` from [gRPC daily builds](https://packages.grpc.io/) and extract it, copy Plugins folder to Unity's Assets path. - -Open terminal on `Plugins/Grpc.Core/runtimes/ios/` and execute following will generate `libgrpc_stripped.a` and replace original libgrpc.a with stripped version. - -```shell -$ cd ${UNITY_PATH}/Plugins/Grpc.Core/runtimes/ios -$ strip -S -x libgrpc.a -o libgrpc_stripped.a -$ rm libgrpc.a && mv libgrpc_stripped.a libgrpc.a -``` - -Make sure you can build app with iOS and works fine. - -## Stripping debug symbols from libgrpc_csharp_ext.so -Plugins/Grpc.Core/runtime/android/[arch]/libgrpc_csharp_ext.so file size is big because its includes debug symbols. - -You can reduce its size using strip (this command is includes in the NDK). - -```shell -$ cd ${UNITY_PATH}/Plugins/Grpc.Core/runtime/android/${TARGET_ARCH} -$ strip.exe libgrpc_csharp_ext.so -``` - -## Workaround for il2cpp + Windows/Linux Build failure -If you do a Windows/Linux il2cpp build with the gRPC daily build, the build may fail with following error messages. - -``` -20AAB1A42EE7F9CA535031CD347327DE.obj : error LNK2019: unresolved external symbol dlopen referenced in function Mono_dlopen_m7F2DE2CD0870AB15EEA4E0A0BA6C47044E74BB67 -20AAB1A42EE7F9CA535031CD347327DE.obj : error LNK2019: unresolved external symbol dlerror referenced in function Mono_dlerror_m359ABCFD23D0EB5314DE2DFF8AB58CFE949BBABD -20AAB1A42EE7F9CA535031CD347327DE.obj : error LNK2019: unresolved external symbol dlsym referenced in function Mono_dlsym_m31A00C09F598C9D552A94628C2C28B3C7B04C2DD -C:\Path\To\MyProject\Library\il2cpp_cache\linkresult_C1E926E002526A4D380E4B12B6BD0522\GameAssembly.dll : fatal error LNK1120: 3 unresolved externals -``` - -The reason is because some native function (but not nessessary at the runtime) not found on Windows il2cpp build. -You can avoid this problem by adding the following code to `Assets/Pugins/Grpc.Core/runtimes/grpc_csharp_ext_dummy_stubs.c`. Then enable platform you needed, `Windows x86/x64` and/or `Linux x64`. - -```c -void* dlopen(const char* filename, int flags) { - fprintf(stderr, "Should never reach here"); - abort(); -} -char* dlerror(void) { - fprintf(stderr, "Should never reach here"); - abort(); -} -void* dlsym(void* handle, const char* symbol) { - fprintf(stderr, "Should never reach here"); - abort(); -} -``` - ## gRPC Keepalive When you want detect network termination on Client or vice-versa, you can configure gRPC Keepalive. -### Applied to .NET Standard 2.1 platforms (Grpc.Net.Client) +### Applied to .NET Standard 2.1 or .NET 6+ platforms (Grpc.Net.Client) See [keep alive pings | Performance best practices with gRPC | Microsoft Docs](https://docs.microsoft.com/en-us/aspnet/core/grpc/performance?view=aspnetcore-5.0#keep-alive-pings) for information on setting up keepalive for Grpc.Net.Client. -### Applied to .NET Standard 2.0 or Unity platforms (Grpc.Core) -Follow to the [Keepalive UserGuide for gRPC Core](https://github.com/grpc/grpc/blob/master/doc/keepalive.md) but let's see how in actual. - -**ChannelOption** - -ChannelOptions is primitive way to configure options. -Below uses `ChannelOption` and offer keepalive for every 10 second even RPC is not called. - -```csharp -// If you want configure KEEP_ALIVE interval, then.... -// * set same value for `grpc.keepalive_time_ms` and `grpc.http2.min_time_between_pings_ms` -// * keep `grpc.http2.min_ping_interval_without_data_ms < grpc.http2.min_time_between_pings_ms` -var options = new[] -{ - // send keepalive ping every 10 second, default is 2 hours - new ChannelOption("grpc.keepalive_time_ms", 10000), - // keepalive ping time out after 5 seconds, default is 20 seconds - new ChannelOption("grpc.keepalive_timeout_ms", 5000), - // allow grpc pings from client every 10 seconds - new ChannelOption("grpc.http2.min_time_between_pings_ms", 10000), - // allow unlimited amount of keepalive pings without data - new ChannelOption("grpc.http2.max_pings_without_data", 0), - // allow keepalive pings when there's no gRPC calls - new ChannelOption("grpc.keepalive_permit_without_calls", 1), - // allow grpc pings from client without data every 5 seconds - new ChannelOption("grpc.http2.min_ping_interval_without_data_ms", 5000), -}; -``` - -Pass this options to Channel on Client will configure Keepalive. - -```csharp -// Client -this.channel = new Channel("localhost", 12345, ChannelCredentials.Insecure, options); -``` - -Now you can detect client network disconnection on serverside, let's override `OnDisconnected` and set debugger, disconnect Client network and wait for interval sec! - ## HTTPS (TLS) MagicOnion supports TLS encrypted connection. @@ -1267,12 +1139,12 @@ In general, HTTPS encryption settings on the server follow ASP.NET Core. For mor ### Client-side Depending on whether the client supports .NET Standard 2.1 or .NET Standard 2.1 (including Unity), the configuration is different. -#### .NET Standard 2.1 (.NET Core 3.x, .NET 5, Xamarin) +#### .NET Standard 2.1 or .NET 6+ If the client supports .NET Standard 2.1 or newer, MagicOnion uses `Grpc.Net.Client` (a pure C# implementation) for gRPC connection. Grpc.Net.Client uses `HttpClient` internally, so it handles certificates the same way as `HttpClient`. For example, on Windows, it uses Windows's certificate store to validate certificates. -#### .NET Standard 2.0 (.NET Core 2.x, .NET Framework 4.6.1+) / Unity +#### .NET Standard 2.0 (.NET Framework 4.6.1+) If the client supports .NET Standard 2.0, MagicOnion uses `Grpc.Core` (C-library binding) for gRPC connection. Grpc.Core has its [own certificate store built into the library](https://github.com/grpc/grpc/blob/master/etc/roots.pem) and uses it unless you specify a certificate. This certificate store contains common CAs and is rarely a problem in production environment. @@ -1333,29 +1205,15 @@ webBuilder .UseStartup(); ``` -#### Client-side (.NET Standard 2.1; Grpc.Net.Client) +#### Client-side (.NET Standard 2.1 or .NET 6+; Grpc.Net.Client) When calling `GrpcChannel.ForAddress`, change the URL scheme to HTTP and the port to an unencrypted port. ```csharp var channel = GrpcChannel.ForAddress("http://localhost:5000"); ``` -Enable AppSwitch to allow HTTP/2 without encryption. - -```csharp -// WORKAROUND: Use insecure HTTP/2 connections during development. -AppContext.SetSwitch("System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport", true); -``` - See also [Call insecure gRPC services with .NET Core client | Troubleshoot gRPC on .NET Core | Microsoft Docs](https://docs.microsoft.com/en-us/aspnet/core/grpc/troubleshoot#call-insecure-grpc-services-with-net-core-client) for details. -#### Client-side (.NET Standard 2.0/Unity; Grpc.Core) -When creating `Channel`, specify the unencrypted port and pass `ChannelCredentials.Insecure`. - -```csharp -var channel = new Channel("localhost", 5000, ChannelCredentials.Insecure); -``` - #### Limitations If unencrypted HTTP/2 connection is accepted, HTTP/1 and HTTP/2 cannot be served on the same port. When TLS is enabled, ALPN is used for HTTP/2 negotiation, but with non-TLS, this is not possible. diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api.meta index d3c1a319c..402612a6d 100644 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api.meta +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api.meta @@ -1,10 +1,8 @@ -fileFormatVersion: 2 -guid: 9b4ba511bab164bf9a5d0db8bb681b05 -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: +fileFormatVersion: 2 +guid: d9b6def6c07baa3449dff0225edf6a20 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0.meta similarity index 77% rename from src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.meta rename to samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0.meta index 2057cf624..d9835e963 100644 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.meta +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: e28eaddc034fe664591e93e8816968aa +guid: d96c0af301b3aed4b9c01e07b0858733 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/GrpcCoreWinIl2cppStubs/Windows.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib.meta similarity index 77% rename from samples/ChatApp/ChatApp.Unity/Assets/Plugins/GrpcCoreWinIl2cppStubs/Windows.meta rename to samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib.meta index f5c409923..127addb18 100644 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/GrpcCoreWinIl2cppStubs/Windows.meta +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: bb5630f0b5c828f4cb8f2fff8d6bf524 +guid: 0174a74c5e732c345b29d757e21ededd folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/GrpcCoreWinIl2cppStubs.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1.meta similarity index 77% rename from samples/ChatApp/ChatApp.Unity/Assets/Plugins/GrpcCoreWinIl2cppStubs.meta rename to samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1.meta index 4ace7671f..d353a5767 100644 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/GrpcCoreWinIl2cppStubs.meta +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 482939e383369e64dbe96980cf041f74 +guid: 8c9dbf7e093c47d4e94f651cc23d4ff9 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1/Grpc.Core.Api.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1/Grpc.Core.Api.dll new file mode 100644 index 000000000..ea7532d3a Binary files /dev/null and b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1/Grpc.Core.Api.dll differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1/Grpc.Core.Api.dll.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1/Grpc.Core.Api.dll.meta new file mode 100644 index 000000000..de74dc6d0 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1/Grpc.Core.Api.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: f4eee136ad047c244b8b2675557c3bdd +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib.meta deleted file mode 100644 index 2391d51a6..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 21a3894045fc74e85a09ab84c0e35c3a -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45.meta deleted file mode 100644 index 142c90ba8..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 9fd1c7cd7b6ed4d5285de90a332fb93e -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.dll deleted file mode 100755 index f4da3b447..000000000 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.dll and /dev/null differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.dll.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.dll.meta deleted file mode 100644 index 6e87df0b1..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.dll.meta +++ /dev/null @@ -1,32 +0,0 @@ -fileFormatVersion: 2 -guid: c9bf7237d50ec4e99ba7d2c153b80e8f -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 1 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 0 - settings: - CPU: AnyCPU - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.xml b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.xml deleted file mode 100644 index 4a57d9e3f..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.xml +++ /dev/null @@ -1,2556 +0,0 @@ - - - - Grpc.Core.Api - - - - - Asynchronous authentication interceptor for . - - The interceptor context. - Metadata to populate with entries that will be added to outgoing call's headers. - - - - - Context for an RPC being intercepted by . - - - - - Initializes a new instance of AuthInterceptorContext. - - - - - The fully qualified service URL for the RPC being called. - - - - - The method name of the RPC being called. - - - - - Provides an abstraction over the callback providers - used by AsyncUnaryCall, AsyncDuplexStreamingCall, etc - - - - - Return type for client streaming calls. - - Request message type for this call. - Response message type for this call. - - - - Creates a new AsyncClientStreamingCall object with the specified properties. - - Stream of request values. - The response of the asynchronous call. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - - - - Creates a new AsyncClientStreamingCall object with the specified properties. - - Stream of request values. - The response of the asynchronous call. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - State object for use with the callback parameters. - - - - Asynchronous call result. - - - - - Asynchronous access to response headers. - - - - - Async stream to send streaming requests. - - - - - Allows awaiting this object directly. - - - - - - Gets the call status if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Gets the call trailing metadata if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Provides means to cleanup after the call. - If the call has already finished normally (request stream has been completed and call result has been received), doesn't do anything. - Otherwise, requests cancellation of the call which should terminate all pending async operations associated with the call. - As a result, all resources being used by the call should be released eventually. - - - Normally, there is no need for you to dispose the call unless you want to utilize the - "Cancel" semantics of invoking Dispose. - - - - - Return type for bidirectional streaming calls. - - Request message type for this call. - Response message type for this call. - - - - Creates a new AsyncDuplexStreamingCall object with the specified properties. - - Stream of request values. - Stream of response values. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - - - - Creates a new AsyncDuplexStreamingCall object with the specified properties. - - Stream of request values. - Stream of response values. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - State object for use with the callback parameters. - - - - Async stream to read streaming responses. - - - - - Async stream to send streaming requests. - - - - - Asynchronous access to response headers. - - - - - Gets the call status if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Gets the call trailing metadata if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Provides means to cleanup after the call. - If the call has already finished normally (request stream has been completed and response stream has been fully read), doesn't do anything. - Otherwise, requests cancellation of the call which should terminate all pending async operations associated with the call. - As a result, all resources being used by the call should be released eventually. - - - Normally, there is no need for you to dispose the call unless you want to utilize the - "Cancel" semantics of invoking Dispose. - - - - - Return type for server streaming calls. - - Response message type for this call. - - - - Creates a new AsyncDuplexStreamingCall object with the specified properties. - - Stream of response values. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - - - - Creates a new AsyncDuplexStreamingCall object with the specified properties. - - Stream of response values. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - State object for use with the callback parameters. - - - - Async stream to read streaming responses. - - - - - Asynchronous access to response headers. - - - - - Gets the call status if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Gets the call trailing metadata if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Provides means to cleanup after the call. - If the call has already finished normally (response stream has been fully read), doesn't do anything. - Otherwise, requests cancellation of the call which should terminate all pending async operations associated with the call. - As a result, all resources being used by the call should be released eventually. - - - Normally, there is no need for you to dispose the call unless you want to utilize the - "Cancel" semantics of invoking Dispose. - - - - - Extension methods for . - - - - - Advances the stream reader to the next element in the sequence, returning the result asynchronously. - - The message type. - The stream reader. - - Task containing the result of the operation: true if the reader was successfully advanced - to the next element; false if the reader has passed the end of the sequence. - - - - - Return type for single request - single response call. - - Response message type for this call. - - - - Creates a new AsyncUnaryCall object with the specified properties. - - The response of the asynchronous call. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - - - - Creates a new AsyncUnaryCall object with the specified properties. - - The response of the asynchronous call. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - State object for use with the callback parameters. - - - - Asynchronous call result. - - - - - Asynchronous access to response headers. - - - - - Allows awaiting this object directly. - - - - - Gets the call status if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Gets the call trailing metadata if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Provides means to cleanup after the call. - If the call has already finished normally (request stream has been completed and call result has been received), doesn't do anything. - Otherwise, requests cancellation of the call which should terminate all pending async operations associated with the call. - As a result, all resources being used by the call should be released eventually. - - - Normally, there is no need for you to dispose the call unless you want to utilize the - "Cancel" semantics of invoking Dispose. - - - - - Authentication context for a call. - AuthContext is the only reliable source of truth when it comes to authenticating calls. - Using any other call/context properties for authentication purposes is wrong and inherently unsafe. - Note: experimental API that can change or be removed without any prior notice. - - - - - Initializes a new instance of the class. - - Peer identity property name. - Multimap of auth properties by name. - - - - Returns true if the peer is authenticated. - - - - - Gets the name of the property that indicates the peer identity. Returns null - if the peer is not authenticated. - - - - - Gets properties that represent the peer identity (there can be more than one). Returns an empty collection - if the peer is not authenticated. - - - - - Gets the auth properties of this context. - - - - - Returns the auth properties with given name (there can be more than one). - If no properties of given name exist, an empty collection will be returned. - - - - - A property of an . - Note: experimental API that can change or be removed without any prior notice. - - - - - Gets the name of the property. - - - - - Gets the string value of the property. - - - - - Gets the binary value of the property. - - - - - Creates an instance of AuthProperty. - - the name - the binary value of the property - - - - Gets the binary value of the property (without making a defensive copy). - - - - - Creates and instance of AuthProperty without making a defensive copy of valueBytes. - - - - - Specifies the location of the service bind method for a gRPC service. - The bind method is typically generated code and is used to register a service's - methods with the server on startup. - - The bind method signature takes a and an optional - instance of the service base class, e.g. static void BindService(ServiceBinderBase, GreeterService). - - - - - Initializes a new instance of the class. - - The type the service bind method is defined on. - The name of the service bind method. - - - - Gets the type the service bind method is defined on. - - - - - Gets the name of the service bind method. - - - - - Client-side call credentials. Provide authorization with per-call granularity. - - - - - Composes multiple CallCredentials objects into - a single CallCredentials object. - - credentials to compose - The new CompositeCallCredentials - - - - Creates a new instance of CallCredentials class from an - interceptor that can attach metadata to outgoing calls. - - authentication interceptor - - - - Populates call credentials configurator with this instance's configuration. - End users never need to invoke this method as it is part of internal implementation. - - - - - Base class for objects that can consume configuration from CallCredentials objects. - Note: experimental API that can change or be removed without any prior notice. - - - - - Consumes configuration for composite call credentials. - - - - - Consumes configuration for call credentials created from AsyncAuthInterceptor - - - - - Flags to enable special call behaviors (client-side only). - - - - - The call is idempotent (retrying the call doesn't change the outcome of the operation). - - - - - If channel is in ChannelState.TransientFailure, attempt waiting for the channel to recover - instead of failing the call immediately. - - - - - The call is cacheable. gRPC is free to use GET verb */ - - - - - Call invoker that throws NotImplementedException for all requests. - - - - - Abstraction of client-side RPC invocation. - - - - - Invokes a simple remote call in a blocking fashion. - - - - - Invokes a simple remote call asynchronously. - - - - - Invokes a server streaming call asynchronously. - In server streaming scenario, client sends on request and server responds with a stream of responses. - - - - - Invokes a client streaming call asynchronously. - In client streaming scenario, client sends a stream of requests and server responds with a single response. - - - - - Invokes a duplex streaming call asynchronously. - In duplex streaming scenario, client sends a stream of requests and server responds with a stream of responses. - The response stream is completely independent and both side can be sending messages at the same time. - - - - - Options for calls made by client. - - - - - Creates a new instance of CallOptions struct. - - Headers to be sent with the call. - Deadline for the call to finish. null means no deadline. - Can be used to request cancellation of the call. - Write options that will be used for this call. - Context propagation token obtained from . - Credentials to use for this call. - - - - Headers to send at the beginning of the call. - - - - - Call deadline. - - - - - Token that can be used for cancelling the call on the client side. - Cancelling the token will request cancellation - of the remote call. Best effort will be made to deliver the cancellation - notification to the server and interaction of the call with the server side - will be terminated. Unless the call finishes before the cancellation could - happen (there is an inherent race), - the call will finish with StatusCode.Cancelled status. - - - - - Write options that will be used for this call. - - - - - Token for propagating parent call context. - - - - - Credentials to use for this call. - - - - - If true and channel is in ChannelState.TransientFailure, the call will attempt waiting for the channel to recover - instead of failing immediately (which is the default "FailFast" semantics). - Note: experimental API that can change or be removed without any prior notice. - - - - - Flags to use for this call. - - - - - Returns new instance of with - Headers set to the value provided. Values of all other fields are preserved. - - The headers. - - - - Returns new instance of with - Deadline set to the value provided. Values of all other fields are preserved. - - The deadline. - - - - Returns new instance of with - CancellationToken set to the value provided. Values of all other fields are preserved. - - The cancellation token. - - - - Returns new instance of with - WriteOptions set to the value provided. Values of all other fields are preserved. - - The write options. - - - - Returns new instance of with - PropagationToken set to the value provided. Values of all other fields are preserved. - - The context propagation token. - - - - Returns new instance of with - Credentials set to the value provided. Values of all other fields are preserved. - - The call credentials. - - - - Returns new instance of with "WaitForReady" semantics enabled/disabled. - . - Note: experimental API that can change or be removed without any prior notice. - - - - - Returns new instance of with - Flags set to the value provided. Values of all other fields are preserved. - - The call flags. - - - - Base class for gRPC channel. Channels are an abstraction of long-lived connections to remote servers. - - - - - Initializes a new instance of class that connects to a specific host. - - Target of the channel. - - - The original target used to create the channel. - - - - Create a new for the channel. - - A new . - - - - Shuts down the channel cleanly. It is strongly recommended to shutdown - the channel once you stopped using it. - - - Guidance for implementors: - This method doesn't wait for all calls on this channel to finish (nor does - it have to explicitly cancel all outstanding calls). It is user's responsibility to make sure - all the calls on this channel have finished (successfully or with an error) - before shutting down the channel to ensure channel shutdown won't impact - the outcome of those remote calls. - - - - Provides implementation of a non-virtual public member. - - - - Client-side channel credentials. Used for creation of a secure channel. - - - - - Creates a new instance of channel credentials - - - - - Returns instance of credentials that provides no security and - will result in creating an unsecure channel with no encryption whatsoever. - - - - - Creates a new instance of ChannelCredentials class by composing - given channel credentials with call credentials. - - Channel credentials. - Call credentials. - The new composite ChannelCredentials - - - - Populates channel credentials configurator with this instance's configuration. - End users never need to invoke this method as it is part of internal implementation. - - - - - Returns true if this credential type allows being composed by CompositeCredentials. - - - - - Credentials that allow composing one object and - one or more objects into a single . - - - - - Initializes a new instance of CompositeChannelCredentials class. - The resulting credentials object will be composite of all the credentials specified as parameters. - - channelCredentials to compose - channelCredentials to compose - - - - Base class for objects that can consume configuration from CallCredentials objects. - Note: experimental API that can change or be removed without any prior notice. - - - - - Configures the credentials to use insecure credentials. - - - - - Configures the credentials to use SslCredentials. - - - - - Configures the credentials to use composite channel credentials (a composite of channel credentials and call credentials). - - - - - Generic base class for client-side stubs. - - - - - Initializes a new instance of ClientBase class that - throws NotImplementedException upon invocation of any RPC. - This constructor is only provided to allow creation of test doubles - for client classes (e.g. mocking requires a parameterless constructor). - - - - - Initializes a new instance of ClientBase class. - - The configuration. - - - - Initializes a new instance of ClientBase class. - - The channel to use for remote call invocation. - - - - Initializes a new instance of ClientBase class. - - The CallInvoker for remote call invocation. - - - - Creates a new client that sets host field for calls explicitly. - gRPC supports multiple "hosts" being served by a single server. - By default (if a client was not created by calling this method), - host null with the meaning "use default host" is used. - - - - - Creates a new instance of client from given ClientBaseConfiguration. - - - - - Base class for client-side stubs. - - - - - Initializes a new instance of ClientBase class that - throws NotImplementedException upon invocation of any RPC. - This constructor is only provided to allow creation of test doubles - for client classes (e.g. mocking requires a parameterless constructor). - - - - - Initializes a new instance of ClientBase class. - - The configuration. - - - - Initializes a new instance of ClientBase class. - - The channel to use for remote call invocation. - - - - Initializes a new instance of ClientBase class. - - The CallInvoker for remote call invocation. - - - - Gets the call invoker. - - - - - Gets the configuration. - - - - - Represents configuration of ClientBase. The class itself is visible to - subclasses, but contents are marked as internal to make the instances opaque. - The verbose name of this class was chosen to make name clash in generated code - less likely. - - - - - Creates a new instance of ClientBaseConfigurationInterceptor given the specified header and host interceptor function. - - - - - Options for . - - - - - The context propagation options that will be used by default. - - - - - Creates new context propagation options. - - If set to true parent call's deadline will be propagated to the child call. - If set to true parent call's cancellation token will be propagated to the child call. - - - true if parent call's deadline should be propagated to the child call. - - - true if parent call's cancellation token should be propagated to the child call. - - - - Token for propagating context of server side handlers to child calls. - In situations when a backend is making calls to another backend, - it makes sense to propagate properties like deadline and cancellation - token of the server call to the child call. - Underlying gRPC implementation may provide other "opaque" contexts (like tracing context) that - are not explicitly accesible via the public C# API, but this token still allows propagating them. - - - - - Provides access to the payload being deserialized when deserializing messages. - - - - - Get the total length of the payload in bytes. - - - - - Gets the entire payload as a newly allocated byte array. - Once the byte array is returned, the byte array becomes owned by the caller and won't be ever accessed or reused by gRPC again. - NOTE: Obtaining the buffer as a newly allocated byte array is the simplest way of accessing the payload, - but it can have important consequences in high-performance scenarios. - In particular, using this method usually requires copying of the entire buffer one extra time. - Also, allocating a new buffer each time can put excessive pressure on GC, especially if - the payload is more than 86700 bytes large (which means the newly allocated buffer will be placed in LOH, - and LOH object can only be garbage collected via a full ("stop the world") GC run). - NOTE: Deserializers are expected not to call this method (or other payload accessor methods) more than once per received message - (as there is no practical reason for doing so) and DeserializationContext implementations are free to assume so. - - byte array containing the entire payload. - - - - Gets the entire payload as a ReadOnlySequence. - The ReadOnlySequence is only valid for the duration of the deserializer routine and the caller must not access it after the deserializer returns. - Using the read only sequence is the most efficient way to access the message payload. Where possible it allows directly - accessing the received payload without needing to perform any buffer copying or buffer allocations. - NOTE: When using this method, it is recommended to use C# 7.2 compiler to make it more useful (using Span type directly from your code requires C# 7.2)." - NOTE: Deserializers are expected not to call this method (or other payload accessor methods) more than once per received message - (as there is no practical reason for doing so) and DeserializationContext implementations are free to assume so. - - read only sequence containing the entire payload. - - - - A stream of messages to be read. - Messages can be awaited await reader.MoveNext(), that returns true - if there is a message available and false if there are no more messages - (i.e. the stream has been closed). - - On the client side, the last invocation of MoveNext() either returns false - if the call has finished successfully or throws RpcException if call finished - with an error. Once the call finishes, subsequent invocations of MoveNext() will - continue yielding the same result (returning false or throwing an exception). - - - On the server side, MoveNext() does not throw exceptions. - In case of a failure, the request stream will appear to be finished - (MoveNext will return false) and the CancellationToken - associated with the call will be cancelled to signal the failure. - - - MoveNext() operations can be cancelled via a cancellation token. Cancelling - an individual read operation has the same effect as cancelling the entire call - (which will also result in the read operation returning prematurely), but the per-read cancellation - tokens passed to MoveNext() only result in cancelling the call if the read operation haven't finished - yet. - - - The message type. - - - - Gets the current element in the iteration. - - - - - Advances the reader to the next element in the sequence, returning the result asynchronously. - - Cancellation token that can be used to cancel the operation. - - Task containing the result of the operation: true if the reader was successfully advanced - to the next element; false if the reader has passed the end of the sequence. - - - - A writable stream of messages. - - The message type. - - - - Writes a single asynchronously. Only one write can be pending at a time. - - the message to be written. Cannot be null. - - - - Write options that will be used for the next write. - If null, default options will be used. - Once set, this property maintains its value across subsequent - writes. - - - - - Client-side writable stream of messages with Close capability. - - The message type. - - - - Completes/closes the stream. Can only be called once there is no pending write. No writes should follow calling this. - - - - - Extends the CallInvoker class to provide the interceptor facility on the client side. - - - - - Returns a instance that intercepts - the invoker with the given interceptor. - - The underlying invoker to intercept. - The interceptor to intercept calls to the invoker with. - - Multiple interceptors can be added on top of each other by calling - "invoker.Intercept(a, b, c)". The order of invocation will be "a", "b", and then "c". - Interceptors can be later added to an existing intercepted CallInvoker, effectively - building a chain like "invoker.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Returns a instance that intercepts - the invoker with the given interceptors. - - The channel to intercept. - - An array of interceptors to intercept the calls to the invoker with. - Control is passed to the interceptors in the order specified. - - - Multiple interceptors can be added on top of each other by calling - "invoker.Intercept(a, b, c)". The order of invocation will be "a", "b", and then "c". - Interceptors can be later added to an existing intercepted CallInvoker, effectively - building a chain like "invoker.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Returns a instance that intercepts - the invoker with the given interceptor. - - The underlying invoker to intercept. - - An interceptor delegate that takes the request metadata to be sent with an outgoing call - and returns a instance that will replace the existing - invocation metadata. - - - Multiple interceptors can be added on top of each other by - building a chain like "invoker.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Creates a new instance of MetadataInterceptor given the specified interceptor function. - - - - - Provides extension methods to make it easy to register interceptors on Channel objects. - - - - - Returns a instance that intercepts - the channel with the given interceptor. - - The channel to intercept. - The interceptor to intercept the channel with. - - Multiple interceptors can be added on top of each other by calling - "channel.Intercept(a, b, c)". The order of invocation will be "a", "b", and then "c". - Interceptors can be later added to an existing intercepted channel, effectively - building a chain like "channel.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Returns a instance that intercepts - the channel with the given interceptors. - - The channel to intercept. - - An array of interceptors to intercept the channel with. - Control is passed to the interceptors in the order specified. - - - Multiple interceptors can be added on top of each other by calling - "channel.Intercept(a, b, c)". The order of invocation will be "a", "b", and then "c". - Interceptors can be later added to an existing intercepted channel, effectively - building a chain like "channel.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Returns a instance that intercepts - the invoker with the given interceptor. - - The channel to intercept. - - An interceptor delegate that takes the request metadata to be sent with an outgoing call - and returns a instance that will replace the existing - invocation metadata. - - - Multiple interceptors can be added on top of each other by - building a chain like "channel.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Carries along the context associated with intercepted invocations on the client side. - - - - - Creates a new instance of - with the specified method, host, and call options. - - A object representing the method to be invoked. - The host to dispatch the current call to. - A instance containing the call options of the current call. - - - - Gets the instance - representing the method to be invoked. - - - - - Gets the host that the currect invocation will be dispatched to. - - - - - Gets the structure representing the - call options associated with the current invocation. - - - - - Decorates an underlying to - intercept calls through a given interceptor. - - - - - Creates a new instance of - with the given underlying invoker and interceptor instances. - - - - - Intercepts a simple blocking call with the registered interceptor. - - - - - Intercepts a simple asynchronous call with the registered interceptor. - - - - - Intercepts an asynchronous server streaming call with the registered interceptor. - - - - - Intercepts an asynchronous client streaming call with the registered interceptor. - - - - - Intercepts an asynchronous duplex streaming call with the registered interceptor. - - - - - Serves as the base class for gRPC interceptors. - - - - - Represents a continuation for intercepting simple blocking invocations. - A delegate of this type is passed to the BlockingUnaryCall method - when an outgoing invocation is being intercepted and calling the - delegate will invoke the next interceptor in the chain, or the underlying - call invoker if called from the last interceptor. The interceptor is - allowed to call it zero, one, or multiple times, passing it the appropriate - context and request values as it sees fit. - - Request message type for this invocation. - Response message type for this invocation. - The request value to continue the invocation with. - - The - instance to pass to the next step in the invocation process. - - - The response value of the invocation to return to the caller. - The interceptor can choose to return the return value of the - continuation delegate or an arbitrary value as it sees fit. - - - - - Represents a continuation for intercepting simple asynchronous invocations. - A delegate of this type is passed to the AsyncUnaryCall method - when an outgoing invocation is being intercepted and calling the - delegate will invoke the next interceptor in the chain, or the underlying - call invoker if called from the last interceptor. The interceptor is - allowed to call it zero, one, or multiple times, passing it the appropriate - request value and context as it sees fit. - - Request message type for this invocation. - Response message type for this invocation. - The request value to continue the invocation with. - - The - instance to pass to the next step in the invocation process. - - - An instance of - representing an asynchronous invocation of a unary RPC. - The interceptor can choose to return the same object returned from - the continuation delegate or an arbitrarily constructed instance as it sees fit. - - - - - Represents a continuation for intercepting asynchronous server-streaming invocations. - A delegate of this type is passed to the AsyncServerStreamingCall method - when an outgoing invocation is being intercepted and calling the - delegate will invoke the next interceptor in the chain, or the underlying - call invoker if called from the last interceptor. The interceptor is - allowed to call it zero, one, or multiple times, passing it the appropriate - request value and context as it sees fit. - - Request message type for this invocation. - Response message type for this invocation. - The request value to continue the invocation with. - - The - instance to pass to the next step in the invocation process. - - - An instance of - representing an asynchronous invocation of a server-streaming RPC. - The interceptor can choose to return the same object returned from - the continuation delegate or an arbitrarily constructed instance as it sees fit. - - - - - Represents a continuation for intercepting asynchronous client-streaming invocations. - A delegate of this type is passed to the AsyncClientStreamingCall method - when an outgoing invocation is being intercepted and calling the - delegate will invoke the next interceptor in the chain, or the underlying - call invoker if called from the last interceptor. The interceptor is - allowed to call it zero, one, or multiple times, passing it the appropriate - request value and context as it sees fit. - - Request message type for this invocation. - Response message type for this invocation. - - The - instance to pass to the next step in the invocation process. - - - An instance of - representing an asynchronous invocation of a client-streaming RPC. - The interceptor can choose to return the same object returned from - the continuation delegate or an arbitrarily constructed instance as it sees fit. - - - - - Represents a continuation for intercepting asynchronous duplex invocations. - A delegate of this type is passed to the AsyncDuplexStreamingCall method - when an outgoing invocation is being intercepted and calling the - delegate will invoke the next interceptor in the chain, or the underlying - call invoker if called from the last interceptor. The interceptor is - allowed to call it zero, one, or multiple times, passing it the appropriate - request value and context as it sees fit. - - - The - instance to pass to the next step in the invocation process. - - - An instance of - representing an asynchronous invocation of a duplex-streaming RPC. - The interceptor can choose to return the same object returned from - the continuation delegate or an arbitrarily constructed instance as it sees fit. - - - - - Intercepts a blocking invocation of a simple remote call. - - The request message of the invocation. - - The - associated with the current invocation. - - - The callback that continues the invocation process. - This can be invoked zero or more times by the interceptor. - The interceptor can invoke the continuation passing the given - request value and context arguments, or substitute them as it sees fit. - - - The response message of the current invocation. - The interceptor can simply return the return value of the - continuation delegate passed to it intact, or an arbitrary - value as it sees fit. - - - - - Intercepts an asynchronous invocation of a simple remote call. - - The request message of the invocation. - - The - associated with the current invocation. - - - The callback that continues the invocation process. - This can be invoked zero or more times by the interceptor. - The interceptor can invoke the continuation passing the given - request value and context arguments, or substitute them as it sees fit. - - - An instance of - representing an asynchronous unary invocation. - The interceptor can simply return the return value of the - continuation delegate passed to it intact, or construct its - own substitute as it sees fit. - - - - - Intercepts an asynchronous invocation of a streaming remote call. - - The request message of the invocation. - - The - associated with the current invocation. - - - The callback that continues the invocation process. - This can be invoked zero or more times by the interceptor. - The interceptor can invoke the continuation passing the given - request value and context arguments, or substitute them as it sees fit. - - - An instance of - representing an asynchronous server-streaming invocation. - The interceptor can simply return the return value of the - continuation delegate passed to it intact, or construct its - own substitute as it sees fit. - - - - - Intercepts an asynchronous invocation of a client streaming call. - - - The - associated with the current invocation. - - - The callback that continues the invocation process. - This can be invoked zero or more times by the interceptor. - The interceptor can invoke the continuation passing the given - context argument, or substitute as it sees fit. - - - An instance of - representing an asynchronous client-streaming invocation. - The interceptor can simply return the return value of the - continuation delegate passed to it intact, or construct its - own substitute as it sees fit. - - - - - Intercepts an asynchronous invocation of a duplex streaming call. - - - The - associated with the current invocation. - - - The callback that continues the invocation process. - This can be invoked zero or more times by the interceptor. - The interceptor can invoke the continuation passing the given - context argument, or substitute as it sees fit. - - - An instance of - representing an asynchronous duplex-streaming invocation. - The interceptor can simply return the return value of the - continuation delegate passed to it intact, or construct its - own substitute as it sees fit. - - - - - Server-side handler for intercepting and incoming unary call. - - Request message type for this method. - Response message type for this method. - The request value of the incoming invocation. - - An instance of representing - the context of the invocation. - - - A delegate that asynchronously proceeds with the invocation, calling - the next interceptor in the chain, or the service request handler, - in case of the last interceptor and return the response value of - the RPC. The interceptor can choose to call it zero or more times - at its discretion. - - - A future representing the response value of the RPC. The interceptor - can simply return the return value from the continuation intact, - or an arbitrary response value as it sees fit. - - - - - Server-side handler for intercepting client streaming call. - - Request message type for this method. - Response message type for this method. - The request stream of the incoming invocation. - - An instance of representing - the context of the invocation. - - - A delegate that asynchronously proceeds with the invocation, calling - the next interceptor in the chain, or the service request handler, - in case of the last interceptor and return the response value of - the RPC. The interceptor can choose to call it zero or more times - at its discretion. - - - A future representing the response value of the RPC. The interceptor - can simply return the return value from the continuation intact, - or an arbitrary response value as it sees fit. The interceptor has - the ability to wrap or substitute the request stream when calling - the continuation. - - - - - Server-side handler for intercepting server streaming call. - - Request message type for this method. - Response message type for this method. - The request value of the incoming invocation. - The response stream of the incoming invocation. - - An instance of representing - the context of the invocation. - - - A delegate that asynchronously proceeds with the invocation, calling - the next interceptor in the chain, or the service request handler, - in case of the last interceptor and the interceptor can choose to - call it zero or more times at its discretion. The interceptor has - the ability to wrap or substitute the request value and the response stream - when calling the continuation. - - - - - Server-side handler for intercepting bidirectional streaming calls. - - Request message type for this method. - Response message type for this method. - The request stream of the incoming invocation. - The response stream of the incoming invocation. - - An instance of representing - the context of the invocation. - - - A delegate that asynchronously proceeds with the invocation, calling - the next interceptor in the chain, or the service request handler, - in case of the last interceptor and the interceptor can choose to - call it zero or more times at its discretion. The interceptor has - the ability to wrap or substitute the request and response streams - when calling the continuation. - - - - - A writable stream of messages that is used in server-side handlers. - - - - - Key certificate pair (in PEM encoding). - - - - - Creates a new certificate chain - private key pair. - - PEM encoded certificate chain. - PEM encoded private key. - - - - PEM encoded certificate chain. - - - - - PEM encoded private key. - - - - - Encapsulates the logic for serializing and deserializing messages. - - - - - Initializes a new marshaller from simple serialize/deserialize functions. - - Function that will be used to serialize messages. - Function that will be used to deserialize messages. - - - - Initializes a new marshaller from serialize/deserialize fuctions that can access serialization and deserialization - context. Compared to the simple serializer/deserializer functions, using the contextual version provides more - flexibility and can lead to increased efficiency (and better performance). - Note: This constructor is part of an experimental API that can change or be removed without any prior notice. - - Function that will be used to serialize messages. - Function that will be used to deserialize messages. - - - - Gets the serializer function. - - - - - Gets the deserializer function. - - - - - Gets the serializer function. - Note: experimental API that can change or be removed without any prior notice. - - - - - Gets the serializer function. - Note: experimental API that can change or be removed without any prior notice. - - - - - Utilities for creating marshallers. - - - - - Creates a marshaller from specified serializer and deserializer. - - - - - Creates a marshaller from specified contextual serializer and deserializer. - Note: This method is part of an experimental API that can change or be removed without any prior notice. - - - - - Returns a marshaller for string type. This is useful for testing. - - - - - A collection of metadata entries that can be exchanged during a call. - gRPC supports these types of metadata: - - Request headersare sent by the client at the beginning of a remote call before any request messages are sent. - Response headersare sent by the server at the beginning of a remote call handler before any response messages are sent. - Response trailersare sent by the server at the end of a remote call along with resulting call status. - - - - - - All binary headers should have this suffix. - - - - - An read-only instance of metadata containing no entries. - - - - - To be used in initial metadata to request specific compression algorithm - for given call. Direct selection of compression algorithms is an internal - feature and is not part of public API. - - - - - Initializes a new instance of Metadata. - - - - - Makes this object read-only. - - this object - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Adds a new ASCII-valued metadata entry. See Metadata.Entry constructor for params. - - - - - Adds a new binary-valued metadata entry. See Metadata.Entry constructor for params. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Metadata entry - - - - - Initializes a new instance of the struct with a binary value. - - Metadata key. Gets converted to lowercase. Needs to have suffix indicating a binary valued metadata entry. Can only contain lowercase alphanumeric characters, underscores, hyphens and dots. - Value bytes. - - - - Initializes a new instance of the struct with an ASCII value. - - Metadata key. Gets converted to lowercase. Must not use suffix indicating a binary valued metadata entry. Can only contain lowercase alphanumeric characters, underscores, hyphens and dots. - Value string. Only ASCII characters are allowed. - - - - Gets the metadata entry key. - - - - - Gets the binary value of this metadata entry. - - - - - Gets the string value of this metadata entry. - - - - - Returns true if this entry is a binary-value entry. - - - - - Returns a that represents the current . - - - - - Gets the serialized value for this entry. For binary metadata entries, this leaks - the internal valueBytes byte array and caller must not change contents of it. - - - - - Creates a binary value or ascii value metadata entry from data received from the native layer. - We trust C core to give us well-formed data, so we don't perform any checks or defensive copying. - - - - - Returns true if the key has "-bin" binary header suffix. - - - - - Method types supported by gRPC. - - - - Single request sent from client, single response received from server. - - - Stream of request sent from client, single response received from server. - - - Single request sent from client, stream of responses received from server. - - - Both server and client can stream arbitrary number of requests and responses simultaneously. - - - - A non-generic representation of a remote method. - - - - - Gets the type of the method. - - - - - Gets the name of the service to which this method belongs. - - - - - Gets the unqualified name of the method. - - - - - Gets the fully qualified name of the method. On the server side, methods are dispatched - based on this name. - - - - - A description of a remote method. - - Request message type for this method. - Response message type for this method. - - - - Initializes a new instance of the Method class. - - Type of method. - Name of service this method belongs to. - Unqualified name of the method. - Marshaller used for request messages. - Marshaller used for response messages. - - - - Gets the type of the method. - - - - - Gets the name of the service to which this method belongs. - - - - - Gets the unqualified name of the method. - - - - - Gets the marshaller used for request messages. - - - - - Gets the marshaller used for response messages. - - - - - Gets the fully qualified name of the method. On the server side, methods are dispatched - based on this name. - - - - - Gets full name of the method including the service name. - - - - - Thrown when remote procedure call fails. Every RpcException is associated with a resulting of the call. - - - - - Creates a new RpcException associated with given status. - - Resulting status of a call. - - - - Creates a new RpcException associated with given status and message. - NOTE: the exception message is not sent to the remote peer. Use status.Details to pass error - details to the peer. - - Resulting status of a call. - The exception message. - - - - Creates a new RpcException associated with given status and trailing response metadata. - - Resulting status of a call. - Response trailing metadata. - - - - Creates a new RpcException associated with given status, message and trailing response metadata. - NOTE: the exception message is not sent to the remote peer. Use status.Details to pass error - details to the peer. - - Resulting status of a call. - Response trailing metadata. - The exception message. - - - - Resulting status of the call. - - - - - Returns the status code of the call, as a convenient alternative to Status.StatusCode. - - - - - Gets the call trailing metadata. - Trailers only have meaningful content for client-side calls (in which case they represent the trailing metadata sent by the server when closing the call). - Instances of RpcException thrown by the server-side part of the stack will have trailers always set to empty. - - - - - Provides storage for payload when serializing a message. - - - - - Use the byte array as serialized form of current message and mark serialization process as complete. - Complete(byte[]) can only be called once. By calling this method the caller gives up the ownership of the - payload which must not be accessed afterwards. - - the serialized form of current message - - - - Gets buffer writer that can be used to write the serialized data. Once serialization is finished, - Complete() needs to be called. - - - - - Sets the payload length when writing serialized data into a buffer writer. If the serializer knows the full payload - length in advance, providing that information before obtaining the buffer writer using GetBufferWriter() can improve - serialization efficiency by avoiding copies. The provided payload length must be the same as the data written to the writer. - Calling this method is optional. If the payload length is not set then the length is calculated using the data written to - the buffer writer when Complete() is called. - - The total length of the payload in bytes. - - - - Complete the payload written to the buffer writer. Complete() can only be called once. - - - - - Context for a server-side call. - - - - - Creates a new instance of ServerCallContext. - - - - - Asynchronously sends response headers for the current call to the client. This method may only be invoked once for each call and needs to be invoked - before any response messages are written. Writing the first response message implicitly sends empty response headers if WriteResponseHeadersAsync haven't - been called yet. - - The response headers to send. - The task that finished once response headers have been written. - - - - Creates a propagation token to be used to propagate call context to a child call. - - - - Name of method called in this RPC. - - - Name of host called in this RPC. - - - Address of the remote endpoint in URI format. - - - Deadline for this RPC. The call will be automatically cancelled once the deadline is exceeded. - - - Initial metadata sent by client. - - - Cancellation token signals when call is cancelled. It is also triggered when the deadline is exceeeded or there was some other error (e.g. network problem). - - - Trailers to send back to client after RPC finishes. - - - Status to send back to client after RPC finishes. - - - - Allows setting write options for the following write. - For streaming response calls, this property is also exposed as on IServerStreamWriter for convenience. - Both properties are backed by the same underlying value. - - - - - Gets the AuthContext associated with this call. - Note: Access to AuthContext is an experimental API that can change without any prior notice. - - - - - Gets a dictionary that can be used by the various interceptors and handlers of this - call to store arbitrary state. - - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - - Server-side handler for unary call. - - Request message type for this method. - Response message type for this method. - - - - Server-side handler for client streaming call. - - Request message type for this method. - Response message type for this method. - - - - Server-side handler for server streaming call. - - Request message type for this method. - Response message type for this method. - - - - Server-side handler for bidi streaming call. - - Request message type for this method. - Response message type for this method. - - - - Stores mapping of methods to server call handlers. - Normally, the ServerServiceDefinition objects will be created by the BindService factory method - that is part of the autogenerated code for a protocol buffers service definition. - - - - - Forwards all the previously stored AddMethod calls to the service binder. - - - - - Creates a new builder object for ServerServiceDefinition. - - The builder object. - - - - Builder class for . - - - - - Creates a new instance of builder. - - - - - Adds a definition for a single request - single response method. - - The request message class. - The response message class. - The method. - The method handler. - This builder instance. - - - - Adds a definition for a client streaming method. - - The request message class. - The response message class. - The method. - The method handler. - This builder instance. - - - - Adds a definition for a server streaming method. - - The request message class. - The response message class. - The method. - The method handler. - This builder instance. - - - - Adds a definition for a bidirectional streaming method. - - The request message class. - The response message class. - The method. - The method handler. - This builder instance. - - - - Creates an immutable ServerServiceDefinition from this builder. - - The ServerServiceDefinition object. - - - - Allows binding server-side method implementations in alternative serving stacks. - Instances of this class are usually populated by the BindService method - that is part of the autogenerated code for a protocol buffers service definition. - - - - - Adds a definition for a single request - single response method. - - The request message class. - The response message class. - The method. - The method handler. - - - - Adds a definition for a client streaming method. - - The request message class. - The response message class. - The method. - The method handler. - - - - Adds a definition for a server streaming method. - - The request message class. - The response message class. - The method. - The method handler. - - - - Adds a definition for a bidirectional streaming method. - - The request message class. - The response message class. - The method. - The method handler. - - - - Callback invoked with the expected targetHost and the peer's certificate. - If false is returned by this callback then it is treated as a - verification failure and the attempted connection will fail. - Invocation of the callback is blocking, so any - implementation should be light-weight. - Note that the callback can potentially be invoked multiple times, - concurrently from different threads (e.g. when multiple connections - are being created for the same credentials). - - The associated with the callback - true if verification succeeded, false otherwise. - Note: experimental API that can change or be removed without any prior notice. - - - - Client-side SSL credentials. - - - - - Creates client-side SSL credentials loaded from - disk file pointed to by the GRPC_DEFAULT_SSL_ROOTS_FILE_PATH environment variable. - If that fails, gets the roots certificates from a well known place on disk. - - - - - Creates client-side SSL credentials from - a string containing PEM encoded root certificates. - - - - - Creates client-side SSL credentials. - - string containing PEM encoded server root certificates. - a key certificate pair. - - - - Creates client-side SSL credentials. - - string containing PEM encoded server root certificates. - a key certificate pair. - a callback to verify peer's target name and certificate. - Note: experimental API that can change or be removed without any prior notice. - - - - PEM encoding of the server root certificates. - - - - - Client side key and certificate pair. - If null, client will not use key and certificate pair. - - - - - Populates channel credentials configurator with this instance's configuration. - End users never need to invoke this method as it is part of internal implementation. - - - - - Represents RPC result, which consists of and an optional detail string. - - - - - Default result of a successful RPC. StatusCode=OK, empty details message. - - - - - Default result of a cancelled RPC. StatusCode=Cancelled, empty details message. - - - - - Creates a new instance of Status. - - Status code. - Detail. - - - - Gets the gRPC status code. OK indicates success, all other values indicate an error. - - - - - Gets the detail. - - - - - Returns a that represents the current . - - - - - Result of a remote procedure call. - Based on grpc_status_code from grpc/status.h - - - - Not an error; returned on success. - - - The operation was cancelled (typically by the caller). - - - - Unknown error. An example of where this error may be returned is - if a Status value received from another address space belongs to - an error-space that is not known in this address space. Also - errors raised by APIs that do not return enough error information - may be converted to this error. - - - - - Client specified an invalid argument. Note that this differs - from FAILED_PRECONDITION. INVALID_ARGUMENT indicates arguments - that are problematic regardless of the state of the system - (e.g., a malformed file name). - - - - - Deadline expired before operation could complete. For operations - that change the state of the system, this error may be returned - even if the operation has completed successfully. For example, a - successful response from a server could have been delayed long - enough for the deadline to expire. - - - - Some requested entity (e.g., file or directory) was not found. - - - Some entity that we attempted to create (e.g., file or directory) already exists. - - - - The caller does not have permission to execute the specified - operation. PERMISSION_DENIED must not be used for rejections - caused by exhausting some resource (use RESOURCE_EXHAUSTED - instead for those errors). PERMISSION_DENIED must not be - used if the caller can not be identified (use UNAUTHENTICATED - instead for those errors). - - - - The request does not have valid authentication credentials for the operation. - - - - Some resource has been exhausted, perhaps a per-user quota, or - perhaps the entire file system is out of space. - - - - - Operation was rejected because the system is not in a state - required for the operation's execution. For example, directory - to be deleted may be non-empty, an rmdir operation is applied to - a non-directory, etc. - - - - - The operation was aborted, typically due to a concurrency issue - like sequencer check failures, transaction aborts, etc. - - - - - Operation was attempted past the valid range. E.g., seeking or - reading past end of file. - - - - Operation is not implemented or not supported/enabled in this service. - - - - Internal errors. Means some invariants expected by underlying - system has been broken. If you see one of these errors, - something is very broken. - - - - - The service is currently unavailable. This is a most likely a - transient condition and may be corrected by retrying with - a backoff. Note that it is not always safe to retry - non-idempotent operations. - - - - Unrecoverable data loss or corruption. - - - - Converts byte* pointing to an encoded byte array to a string using the provided Encoding. - - - - - Converts IntPtr pointing to a encoded byte array to a string using the provided Encoding. - - - - - Utility methods to simplify checking preconditions in the code. - - - - - Throws if condition is false. - - The condition. - - - - Throws with given message if condition is false. - - The condition. - The error message. - - - - Throws if reference is null. - - The reference. - - - - Throws if reference is null. - - The reference. - The parameter name. - - - - Throws if condition is false. - - The condition. - - - - Throws with given message if condition is false. - - The condition. - The error message. - - - - Verification context for VerifyPeerCallback. - Note: experimental API that can change or be removed without any prior notice. - - - - - Initializes a new instance of the class. - - The target name of the peer. - The PEM encoded certificate of the peer. - - - - The target name of the peer. - - - - - The PEM encoded certificate of the peer. - - - - - Provides info about current version of gRPC. - See https://codingforsmarties.wordpress.com/2016/01/21/how-to-version-assemblies-destined-for-nuget/ - for rationale about assembly versioning. - - - - - Current AssemblyVersion attribute of gRPC C# assemblies - - - - - Current AssemblyFileVersion of gRPC C# assemblies - - - - - Current version of gRPC C# - - - - - Flags for write operations. - - - - - Hint that the write may be buffered and need not go out on the wire immediately. - gRPC is free to buffer the message until the next non-buffered - write, or until write stream completion, but it need not buffer completely or at all. - - - - - Force compression to be disabled for a particular write. - - - - - Options for write operations. - - - - - Default write options. - - - - - Initializes a new instance of WriteOptions class. - - The write flags. - - - - Gets the write flags. - - - - diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.xml.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.xml.meta deleted file mode 100644 index 4cbb443b8..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.xml.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 0a4fb8823a783423880c9d8c9d3b5cf4 -timeCreated: 1531219386 -licenseType: Free -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.meta deleted file mode 100644 index 72cdcb40e..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: e28eaddc034fe664591e93e8816968aa -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib.meta deleted file mode 100644 index 7943c131c..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 1f862d451f11a2442aeac99ad2827285 -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib/net45.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib/net45.meta deleted file mode 100644 index 95fcbbd9e..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib/net45.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 89bdbe2a1282d4e40ba11e96b1481d09 -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll deleted file mode 100755 index 54f1a072b..000000000 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll and /dev/null differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll.meta deleted file mode 100644 index ee32a9072..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll.meta +++ /dev/null @@ -1,32 +0,0 @@ -fileFormatVersion: 2 -guid: 63fdcd70d29d1dc49b4e61e22a9e96e1 -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 1 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 0 - settings: - CPU: AnyCPU - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml deleted file mode 100644 index 96aa0ba40..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml +++ /dev/null @@ -1,2173 +0,0 @@ - - - - Grpc.Core - - - - - Details about a client-side call to be invoked. - - Request message type for the call. - Response message type for the call. - - - - Initializes a new instance of the struct. - - Channel to use for this call. - Method to call. - Call options. - - - - Initializes a new instance of the struct. - - Channel to use for this call. - Method to call. - Host that contains the method. if null, default host will be used. - Call options. - - - - Initializes a new instance of the struct. - - Channel to use for this call. - Qualified method name. - Host that contains the method. - Request marshaller. - Response marshaller. - Call options. - - - - Get channel associated with this call. - - - - - Gets name of method to be called. - - - - - Get name of host. - - - - - Gets marshaller used to serialize requests. - - - - - Gets marshaller used to deserialized responses. - - - - - Gets the call options. - - - - - Returns new instance of with - Options set to the value provided. Values of all other fields are preserved. - - - - - Helper methods for generated clients to make RPC calls. - Most users will use this class only indirectly and will be - making calls using client object generated from protocol - buffer definition files. - - - - - Invokes a simple remote call in a blocking fashion. - - The response. - The call definition. - Request message. - Type of request message. - The of response message. - - - - Invokes a simple remote call asynchronously. - - An awaitable call object providing access to the response. - The call definition. - Request message. - Type of request message. - The of response message. - - - - Invokes a server streaming call asynchronously. - In server streaming scenario, client sends on request and server responds with a stream of responses. - - A call object providing access to the asynchronous response stream. - The call definition. - Request message. - Type of request message. - The of response messages. - - - - Invokes a client streaming call asynchronously. - In client streaming scenario, client sends a stream of requests and server responds with a single response. - - The call definition. - An awaitable call object providing access to the response. - Type of request messages. - The of response message. - - - - Invokes a duplex streaming call asynchronously. - In duplex streaming scenario, client sends a stream of requests and server responds with a stream of responses. - The response stream is completely independent and both side can be sending messages at the same time. - - A call object providing access to the asynchronous request and response streams. - The call definition. - Type of request messages. - Type of responsemessages. - - - - Represents a gRPC channel. Channels are an abstraction of long-lived connections to remote servers. - More client objects can reuse the same channel. Creating a channel is an expensive operation compared to invoking - a remote call so in general you should reuse a single channel for as many calls as possible. - - - - - Creates a channel that connects to a specific host. - Port will default to 80 for an unsecure channel and to 443 for a secure channel. - - Target of the channel. - Credentials to secure the channel. - - - - Creates a channel that connects to a specific host. - Port will default to 80 for an unsecure channel or to 443 for a secure channel. - - Target of the channel. - Credentials to secure the channel. - Channel options. - - - - Creates a channel that connects to a specific host and port. - - The name or IP address of the host. - The port. - Credentials to secure the channel. - - - - Creates a channel that connects to a specific host and port. - - The name or IP address of the host. - The port. - Credentials to secure the channel. - Channel options. - - - - Gets current connectivity state of this channel. - After channel has been shutdown, ChannelState.Shutdown will be returned. - - - - - Returned tasks completes once channel state has become different from - given lastObservedState. - If deadline is reached or an error occurs, returned task is cancelled. - - - - - Returned tasks completes once channel state has become different from - given lastObservedState (true is returned) or if the wait has timed out (false is returned). - - - - Resolved address of the remote endpoint in URI format. - - - - Returns a token that gets cancelled once ShutdownAsync is invoked. - - - - - Allows explicitly requesting channel to connect without starting an RPC. - Returned task completes once state Ready was seen. If the deadline is reached, - or channel enters the Shutdown state, the task is cancelled. - There is no need to call this explicitly unless your use case requires that. - Starting an RPC on a new channel will request connection implicitly. - - The deadline. null indicates no deadline. - - - Provides implementation of a non-virtual public member. - - - - Create a new for the channel. - - A new . - - - - Channel option specified when creating a channel. - Corresponds to grpc_channel_args from grpc/grpc.h. - Commonly used channel option names are defined in ChannelOptions, - but any of the GRPC_ARG_* channel options names defined in grpc_types.h can be used. - - - - - Type of ChannelOption. - - - - - Channel option with integer value. - - - - - Channel option with string value. - - - - - Creates a channel option with a string value. - - Name. - String value. - - - - Creates a channel option with an integer value. - - Name. - Integer value. - - - - Gets the type of the ChannelOption. - - - - - Gets the name of the ChannelOption. - - - - - Gets the integer value the ChannelOption. - - - - - Gets the string value the ChannelOption. - - - - - Determines whether the specified object is equal to the current object. - - - - - Determines whether the specified object is equal to the current object. - - - - - A hash code for the current object. - - - - - Equality operator. - - - - - Inequality operator. - - - - - Defines names of most commonly used channel options. - Other supported options names can be found in grpc_types.h (GRPC_ARG_* definitions) - - - - Override SSL target check. Only to be used for testing. - - - Enable census for tracing and stats collection - - - Maximum number of concurrent incoming streams to allow on a http2 connection - - - Maximum message length that the channel can receive - - - Maximum message length that the channel can send - - - Obsolete, for backward compatibility only. - - - Initial sequence number for http2 transports - - - Default authority for calls. - - - Primary user agent: goes at the start of the user-agent metadata - - - Secondary user agent: goes at the end of the user-agent metadata - - - If non-zero, allow the use of SO_REUSEPORT for server if it's available (default 1) - - - - Creates native object for a collection of channel options. - - The native channel arguments. - - - - Connectivity state of a channel. - Based on grpc_connectivity_state from grpc/grpc.h - - - - - Channel is idle - - - - - Channel is connecting - - - - - Channel is ready for work - - - - - Channel has seen a failure but expects to recover - - - - - Channel has seen a failure that it cannot recover from - - - - - Compression level based on grpc_compression_level from grpc/compression.h - - - - - No compression. - - - - - Low compression. - - - - - Medium compression. - - - - - High compression. - - - - - Invokes client RPCs using . - - - - - Initializes a new instance of the class. - - Channel to use. - - - - Invokes a simple remote call in a blocking fashion. - - - - - Invokes a simple remote call asynchronously. - - - - - Invokes a server streaming call asynchronously. - In server streaming scenario, client sends on request and server responds with a stream of responses. - - - - - Invokes a client streaming call asynchronously. - In client streaming scenario, client sends a stream of requests and server responds with a single response. - - - - - Invokes a duplex streaming call asynchronously. - In duplex streaming scenario, client sends a stream of requests and server responds with a stream of responses. - The response stream is completely independent and both side can be sending messages at the same time. - - - - Creates call invocation details for given method. - - - - Encapsulates initialization and shutdown of gRPC library. - - - - - Returns a reference-counted instance of initialized gRPC environment. - Subsequent invocations return the same instance unless reference count has dropped to zero previously. - - - - - Decrements the reference count for currently active environment and asynchronously shuts down the gRPC environment if reference count drops to zero. - - - - - Requests shutdown of all channels created by the current process. - - - - - Requests immediate shutdown of all servers created by the current process. - - - - - Gets application-wide logger used by gRPC. - - The logger. - - - - Sets the application-wide logger that should be used by gRPC. - - - - - Sets the number of threads in the gRPC thread pool that polls for internal RPC events. - Can be only invoked before the GrpcEnviroment is started and cannot be changed afterwards. - Setting thread pool size is an advanced setting and you should only use it if you know what you are doing. - Most users should rely on the default value provided by gRPC library. - Note: this method is part of an experimental API that can change or be removed without any prior notice. - - - - - Sets the number of completion queues in the gRPC thread pool that polls for internal RPC events. - Can be only invoked before the GrpcEnviroment is started and cannot be changed afterwards. - Setting the number of completions queues is an advanced setting and you should only use it if you know what you are doing. - Most users should rely on the default value provided by gRPC library. - Note: this method is part of an experimental API that can change or be removed without any prior notice. - - - - - By default, gRPC's internal event handlers get offloaded to .NET default thread pool thread (inlineHandlers=false). - Setting inlineHandlers to true will allow scheduling the event handlers directly to - GrpcThreadPool internal threads. That can lead to significant performance gains in some situations, - but requires user to never block in async code (incorrectly written code can easily lead to deadlocks). - Inlining handlers is an advanced setting and you should only use it if you know what you are doing. - Most users should rely on the default value provided by gRPC library. - Note: this method is part of an experimental API that can change or be removed without any prior notice. - Note: inlineHandlers=true was the default in gRPC C# v1.4.x and earlier. - - - - - Sets the parameters for a pool that caches batch context instances. Reusing batch context instances - instead of creating a new one for every C core operation helps reducing the GC pressure. - Can be only invoked before the GrpcEnviroment is started and cannot be changed afterwards. - This is an advanced setting and you should only use it if you know what you are doing. - Most users should rely on the default value provided by gRPC library. - Note: this method is part of an experimental API that can change or be removed without any prior notice. - - - - - Sets the parameters for a pool that caches request call context instances. Reusing request call context instances - instead of creating a new one for every requested call in C core helps reducing the GC pressure. - Can be only invoked before the GrpcEnviroment is started and cannot be changed afterwards. - This is an advanced setting and you should only use it if you know what you are doing. - Most users should rely on the default value provided by gRPC library. - Note: this method is part of an experimental API that can change or be removed without any prior notice. - - - - - Occurs when GrpcEnvironment is about the start the shutdown logic. - If GrpcEnvironment is later initialized and shutdown, the event will be fired again (unless unregistered first). - - - - - Creates gRPC environment. - - - - - Gets the completion queues used by this gRPC environment. - - - - - Picks a completion queue in a round-robin fashion. - Shouldn't be invoked on a per-call basis (used at per-channel basis). - - - - - Gets the completion queue used by this gRPC environment. - - - - - Gets version of gRPC C core. - - - - - Shuts down this environment. - - - - - Handler for AppDomain.DomainUnload, AppDomain.ProcessExit and AssemblyLoadContext.Unloading hooks. - - - - - Extends the ServerServiceDefinition class to add methods used to register interceptors on the server side. - - - - - Returns a instance that - intercepts incoming calls to the underlying service handler through the given interceptor. - - The instance to register interceptors on. - The interceptor to intercept the incoming invocations with. - - Multiple interceptors can be added on top of each other by calling - "serverServiceDefinition.Intercept(a, b, c)". The order of invocation will be "a", "b", and then "c". - Interceptors can be later added to an existing intercepted service definition, effectively - building a chain like "serverServiceDefinition.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Returns a instance that - intercepts incoming calls to the underlying service handler through the given interceptors. - - The instance to register interceptors on. - - An array of interceptors to intercept the incoming invocations with. - Control is passed to the interceptors in the order specified. - - - Multiple interceptors can be added on top of each other by calling - "serverServiceDefinition.Intercept(a, b, c)". The order of invocation will be "a", "b", and then "c". - Interceptors can be later added to an existing intercepted service definition, effectively - building a chain like "serverServiceDefinition.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Helper for creating ServerServiceDefinition with intercepted handlers. - - - - - Manages client side native call lifecycle. - - - - - This constructor should only be used for testing. - - - - - Blocking unary request - unary response call. - - - - - Starts a unary request - unary response call. - - - - - Starts a streamed request - unary response call. - Use StartSendMessage and StartSendCloseFromClient to stream requests. - - - - - Starts a unary request - streamed response call. - - - - - Starts a streaming request - streaming response call. - Use StartSendMessage and StartSendCloseFromClient to stream requests. - - - - - Sends a streaming request. Only one pending send action is allowed at any given time. - - - - - Receives a streaming response. Only one pending read action is allowed at any given time. - - - - - Sends halfclose, indicating client is done with streaming requests. - Only one pending send action is allowed at any given time. - - - - - Get the task that completes once if streaming response call finishes with ok status and throws RpcException with given status otherwise. - - - - - Get the task that completes once response headers are received. - - - - - Gets the resulting status if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Gets the trailing metadata if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Gets WriteFlags set in callDetails.Options.WriteOptions - - - - - Handles receive status completion for calls with streaming response. - - - - - Handler for unary response completion. - - - - - Handles receive status completion for calls with streaming response. - - - - - Base for handling both client side and server side calls. - Manages native call lifecycle and provides convenience methods. - - - - - Requests cancelling the call. - - - - - Requests cancelling the call with given status. - - - - - Initiates sending a message. Only one send operation can be active at a time. - - - - - Initiates reading a message. Only one read operation can be active at a time. - - - - - If there are no more pending actions and no new actions can be started, releases - the underlying native resources. - - - - - Returns an exception to throw for a failed send operation. - It is only allowed to call this method for a call that has already finished. - - - - - Checks if sending is allowed and possibly returns a Task that allows short-circuiting the send - logic by directly returning the write operation result task. Normally, null is returned. - - - - - Handles send completion (including SendCloseFromClient). - - - - - Handles send status from server completion. - - - - - Handles streaming read completion. - - - - - Manages server side native call lifecycle. - - - - - Only for testing purposes. - - - - - Starts a server side call. - - - - - Sends a streaming response. Only one pending send action is allowed at any given time. - - - - - Receives a streaming request. Only one pending read action is allowed at any given time. - - - - - Initiates sending a initial metadata. - Even though C-core allows sending metadata in parallel to sending messages, we will treat sending metadata as a send message operation - to make things simpler. - - - - - Sends call result status, indicating we are done with writes. - Sending a status different from StatusCode.OK will also implicitly cancel the call. - - - - - Gets cancellation token that gets cancelled once close completion - is received and the cancelled flag is set. - - - - - Handles the server side close completion. - - - - - grpc_auth_context - - - - - Copies contents of the native auth context into a new AuthContext instance. - - - - - grpc_auth_property - - - - - grpc_auth_property_iterator - - - - - grpcsharp_batch_context - - - - - grpc_call_credentials from grpc/grpc_security.h - - - - - grpc_call_error from grpc/grpc.h - - - - - Checks the call API invocation's result is OK. - - - - - Returns a new instance of with - all previously unset values set to their defaults and deadline and cancellation - token propagated when appropriate. - - - - - grpc_call from grpc/grpc.h - - - - - Only for testing. - - - - - grpc_channel_args from grpc/grpc.h - - - - - grpc_channel_credentials from grpc/grpc_security.h - - - - - grpc_channel from grpc/grpc.h - - - - - Writes requests asynchronously to an underlying AsyncCall object. - - - - - Status + metadata received on client side when call finishes. - (when receive_status_on_client operation finishes). - - - - - gpr_clock_type from grpc/support/time.h - - - - - grpc_event from grpc/grpc.h - - - - - grpc_completion_type from grpc/grpc.h - - - - - grpc_completion_queue from grpc/grpc.h - - - - - Create a completion queue that can only be used for Pluck operations. - - - - - Create a completion queue that can only be used for Next operations. - - - - - Creates a new usage scope for this completion queue. Once successfully created, - the completion queue won't be shutdown before scope.Dispose() is called. - - - - - Completion registry associated with this completion queue. - Doesn't need to be set if only using Pluck() operations. - - - - - For testing purposes only. NOT threadsafe. - - - - - IntPtr doesn't implement IEquatable{IntPtr} so we need to use custom comparer to avoid boxing. - - - - - Context propagation flags from grpc/grpc.h. - - - - - Implementation of ContextPropagationToken that carries - all fields needed for context propagation by C-core based implementation of gRPC. - Instances of ContextPropagationToken that are not of this - type will be recognized as "foreign" and will be silently ignored - (treated as if null). - - - - - Default propagation mask used by C core. - - - - - Default propagation mask used by C# - we want to propagate deadline - and cancellation token by our own means, everything else will be propagated - by C core automatically (according to DefaultCoreMask). - - - - - Gets the native handle of the parent call. - - - - - Gets the parent call's deadline. - - - - - Gets the parent call's cancellation token. - - - - - Get the context propagation options. - - - - - Converts given ContextPropagationToken to ContextPropagationTokenImpl - if possible or returns null. - Being able to convert means that the context propagation token is recognized as - "ours" (was created by this implementation). - - - - - Owned char* object. - - - - - Checks the debug stats and take action for any inconsistency found. - - - - - Creates native call credential objects from instances of CallCredentials. - - - - - Creates native object for the credentials. - - The native credentials. - - - - Creates native call credential objects from instances of ChannelCredentials. - - - - - Creates native object for the credentials. - - The native credentials. - - - - Pool of objects that combines a shared pool and a thread local pool. - - - - - Initializes a new instance of DefaultObjectPool with given shared capacity and thread local capacity. - Thread local capacity should be significantly smaller than the shared capacity as we don't guarantee immediately - disposing the objects in the thread local pool after this pool is disposed (they will eventually be garbage collected - after the thread that owns them has finished). - On average, the shared pool will only be accessed approx. once for every threadLocalCapacity / 2 rent or lease - operations. - - - - - Leases an item from the pool or creates a new instance if the pool is empty. - Attempts to retrieve the item from the thread local pool first. - If the thread local pool is empty, the item is taken from the shared pool - along with more items that are moved to the thread local pool to avoid - prevent acquiring the lock for shared pool too often. - The methods should not be called after the pool is disposed, but it won't - results in an error to do so (after depleting the items potentially left - in the thread local pool, it will continue returning new objects created by the factory). - - - - - Returns an item to the pool. - Attempts to add the item to the thread local pool first. - If the thread local pool is full, item is added to a shared pool, - along with half of the items for the thread local pool, which - should prevent acquiring the lock for shared pool too often. - If called after the pool is disposed, we make best effort not to - add anything to the thread local pool and we guarantee not to add - anything to the shared pool (items will be disposed instead). - - - - - Expose serializer as buffer writer - - - - - Complete the payload written so far. - - - - - Overrides the content of default SSL roots. - - - - - Overrides C core's default roots with roots.pem loaded as embedded resource. - - - - - Pool of threads polling on a set of completions queues. - - - - - Creates a thread pool threads polling on a set of completions queues. - - Environment. - Pool size. - Completion queue count. - Handler inlining. - - - - Returns true if there is at least one thread pool thread that hasn't - already stopped. - Threads can either stop because all completion queues shut down or - because all foreground threads have already shutdown and process is - going to exit. - - - - - Body of the polling thread. - - - - - Abstraction of a native call object. - - - - - Pool of objects. - - - - - An object that can be pooled in IObjectPool. - - - - - - Set the action that will be invoked to return a leased object to the pool. - - - - - Exposes non-generic members of ServerReponseStream. - - - - - Asynchronously sends response headers for the current call to the client. See ServerCallContext.WriteResponseHeadersAsync for exact semantics. - - - - - Gets or sets the write options. - - - - - Useful methods for native/managed marshalling. - - - - - Converts IntPtr pointing to a UTF-8 encoded byte array to string. - - - - - UTF-8 encodes the given string into a buffer of sufficient size - - - - - Returns the maximum number of bytes required to encode a given string. - - - - - Returns the actual number of bytes required to encode a given string. - - - - - grpc_metadata_array from grpc/grpc.h - - - - - Reads metadata from pointer to grpc_metadata_array - - - - - Use this attribute to mark methods that will be called back from P/Invoke calls. - iOS (and probably other AOT platforms) needs to have delegates registered. - Instead of depending on Xamarin.iOS for this, we can just create our own, - the iOS runtime just checks for the type name. - See: https://docs.microsoft.com/en-gb/xamarin/ios/internals/limitations#reverse-callbacks - - - - - Takes care of loading C# native extension and provides access to PInvoke calls the library exports. - - - - - Gets singleton instance of this class. - The native extension is loaded when called for the first time. - - - - - Provides access to the exported native methods. - - - - - Detects which configuration of native extension to load and load it. - - - - - Loads native extension and return native methods delegates. - - - - - Return native method delegates when running on Unity platform. - Unity does not use standard NuGet packages and the native library is treated - there as a "native plugin" which is (provided it has the right metadata) - automatically made available to [DllImport] loading logic. - WARNING: Unity support is experimental and work-in-progress. Don't expect it to work. - - - - - Return native method delegates when running on the Xamarin platform. - WARNING: Xamarin support is experimental and work-in-progress. Don't expect it to work. - - - - - Logs from gRPC C core library can get lost if your application is not a console app. - This class allows redirection of logs to gRPC logger. - - - - - Redirects logs from native gRPC C core library to a general logger. - - - - - Provides access to all native methods provided by NativeExtension. - An extra level of indirection is added to P/Invoke calls to allow intelligent loading - of the right configuration of the native extension based on current platform, architecture etc. - - - - - Gets singleton instance of this class. - - - - - Delegate types for all published native methods. Declared under inner class to prevent scope pollution. - - - - - grpc_csharp_ext used as a static library (e.g Unity iOS). - - - - - grpc_csharp_ext used a shared library (e.g on Unity Standalone and Android). - - - - - Utility methods for detecting platform and architecture. - - - - - true if running on Unity platform. - - - - - true if running on Unity iOS, false otherwise. - - - - - true if running on a Xamarin platform (either Xamarin.Android or Xamarin.iOS), - false otherwise. - - - - - true if running on Xamarin.iOS, false otherwise. - - - - - true if running on Xamarin.Android, false otherwise. - - - - - true if running on .NET Core (CoreCLR), false otherwise. - - - - - Returns UnityEngine.Application.platform as a string. - See https://docs.unity3d.com/ScriptReference/Application-platform.html for possible values. - Value is obtained via reflection to avoid compile-time dependency on Unity. - This method should only be called if IsUnity is true. - - - - - grpcsharp_request_call_context - - - - - Safe handle to wrap native objects. - - - - - Handler used for unimplemented method. - - - - - grpc_server_credentials from grpc/grpc_security.h - - - - - Writes responses asynchronously to an underlying AsyncCallServer object. - - - - - Details of a newly received RPC. - - - - - grpc_server from grpc/grpc.h - - - - - Maps methods from ServerServiceDefinition to server call handlers. - - - - - Helper for converting ServerServiceDefinition to server call handlers. - - - - - Slice of native memory. - Rough equivalent of grpc_slice (but doesn't support inlined slices, just a pointer to data and length) - - - - - Returns a that represents the current . - - - - - Represents grpc_slice_buffer with some extra utility functions to allow - writing data to it using the IBufferWriter interface. - - - - - gpr_timespec from grpc/support/time.h - - - - - Indicates whether this instance and a specified object are equal. - - - - - Returns the hash code for this instance. - - - - - Returns the full type name of this instance. - - - - - Indicates whether this instance and a specified object are equal. - - - - - Timespec a long time in the future. - - - - - Timespec a long time in the past. - - - - - Return Timespec representing the current time. - - - - - Seconds since unix epoch. - - - - - The nanoseconds part of timeval. - - - - - Converts the timespec to desired clock type. - - - - - Converts Timespec to DateTime. - Timespec needs to be of type GPRClockType.Realtime and needs to represent a legal value. - DateTime has lower resolution (100ns), so rounding can occurs. - Value are always rounded up to the nearest DateTime value in the future. - - For Timespec.InfFuture or if timespec is after the largest representable DateTime, DateTime.MaxValue is returned. - For Timespec.InfPast or if timespec is before the lowest representable DateTime, DateTime.MinValue is returned. - - Unless DateTime.MaxValue or DateTime.MinValue is returned, the resulting DateTime is always in UTC - (DateTimeKind.Utc) - - - - - Creates DateTime to Timespec. - DateTime has to be in UTC (DateTimeKind.Utc) unless it's DateTime.MaxValue or DateTime.MinValue. - For DateTime.MaxValue of date time after the largest representable Timespec, Timespec.InfFuture is returned. - For DateTime.MinValue of date time before the lowest representable Timespec, Timespec.InfPast is returned. - - The date time. - Date time. - - - - Gets current timestamp using GPRClockType.Precise. - Only available internally because core needs to be compiled with - GRPC_TIMERS_RDTSC support for this to use RDTSC. - - - - - Call invoker that throws NotImplementedException for all requests. - - - - - Represents a dynamically loaded unmanaged library in a (partially) platform independent manner. - First, the native library is loaded using dlopen (on Unix systems) or using LoadLibrary (on Windows). - dlsym or GetProcAddress are then used to obtain symbol addresses. Marshal.GetDelegateForFunctionPointer - transforms the addresses into delegates to native methods. - See http://stackoverflow.com/questions/13461989/p-invoke-to-dynamically-loaded-library-on-mono. - - - - - Loads symbol in a platform specific way. - - - - - - - Loads library in a platform specific way. - - - - - On Linux systems, using dlopen and dlsym results in - DllNotFoundException("libdl.so not found") if libc6-dev - is not installed. As a workaround, we load symbols for - dlopen and dlsym from the current process as on Linux - Mono sure is linked against these symbols. - - - - - Similarly as for Mono on Linux, we load symbols for - dlopen and dlsym from the "libcoreclr.so", - to avoid the dependency on libc-dev Linux. - - - - - Utility type for identifying "well-known" strings (i.e. headers/keys etc that - we expect to see frequently, and don't want to allocate lots of copies of) - - - - - Test whether the provided byte sequence is recognized as a well-known string; if - so, return a shared instance of that string; otherwise, return null - - - - - Test whether the provided byte sequence is recognized as a well-known string; if - so, return a shared instance of that string; otherwise, return null - - - - - Default implementation of ServerCallContext. - - - - - Creates a new instance of ServerCallContext. - To allow reuse of ServerCallContext API by different gRPC implementations, the implementation of some members is provided externally. - To provide state, this ServerCallContext instance and extraData will be passed to the member implementations. - - - - Logger that logs to System.Console. - - - Creates a console logger not associated to any specific type. - - - Creates a console logger that logs messsage specific for given type. - - - - Returns a logger associated with the specified type. - - - - For logging messages. - - - Returns a logger associated with the specified type. - - - Logs a message with severity Debug. - - - Logs a formatted message with severity Debug. - - - Logs a message with severity Info. - - - Logs a formatted message with severity Info. - - - Logs a message with severity Warning. - - - Logs a formatted message with severity Warning. - - - Logs a message and an associated exception with severity Warning. - - - Logs a message with severity Error. - - - Logs a formatted message with severity Error. - - - Logs a message and an associated exception with severity Error. - - - Standard logging levels. - - - - Debug severity. - - - - - Info severity. - - - - - Warning severity. - - - - - Error severity. - - - - - Logging is off. - - - - Logger that filters out messages below certain log level. - - - - Creates and instance of LogLevelFilter. - - - - - Creates and instance of LogLevelFilter. - The fromEnvironmentVariable parameter allows looking up "GRPC_VERBOSITY" setting provided by C-core - and uses the same log level for C# logs. Using this setting is recommended as it can prevent unintentionally hiding - C core logs requested by "GRPC_VERBOSITY" environment variable (which could happen if C# logger's log level was set to a more restrictive value). - - the logger to forward filtered logs to. - the default log level, unless overriden by env variable. - if true, override log level with setting from environment variable. - - - - Returns a logger associated with the specified type. - - - - Logs a message with severity Debug. - - - Logs a formatted message with severity Debug. - - - Logs a message with severity Info. - - - Logs a formatted message with severity Info. - - - Logs a message with severity Warning. - - - Logs a formatted message with severity Warning. - - - Logs a message and an associated exception with severity Warning. - - - Logs a message with severity Error. - - - Logs a formatted message with severity Error. - - - Logs a message and an associated exception with severity Error. - - - Get log level based on a default and lookup of GRPC_VERBOSITY environment variable. - - - - Logger which doesn't log any information anywhere. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - Returns a reference to the instance on which the method is called, as - instances aren't associated with specific types. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - Logger that logs to an arbitrary System.IO.TextWriter. - - - - Creates a console logger not associated to any specific type and writes to given System.IO.TextWriter. - User is responsible for providing an instance of TextWriter that is thread-safe. - - - - - Creates a console logger not associated to any specific type and writes to a System.IO.TextWriter obtained from given provider. - User is responsible for providing an instance of TextWriter that is thread-safe. - - - - Creates a console logger that logs messsage specific for given type. - - - - Returns a logger associated with the specified type. - - - - Logs a message with severity Debug. - - - Logs a formatted message with severity Debug. - - - Logs a message with severity Info. - - - Logs a formatted message with severity Info. - - - Logs a message with severity Warning. - - - Logs a formatted message with severity Warning. - - - Logs a message and an associated exception with severity Warning. - - - Logs a message with severity Error. - - - Logs a formatted message with severity Error. - - - Logs a message and an associated exception with severity Error. - - - Gets the type associated with this logger. - - - - gRPC server. A single server can serve an arbitrary number of services and can listen on more than one port. - - - - - Creates a new server. - - - - - Creates a new server. - - Channel options. - - - - Services that will be exported by the server once started. Register a service with this - server by adding its definition to this collection. - - - - - Ports on which the server will listen once started. Register a port with this - server by adding its definition to this collection. - - - - - To allow awaiting termination of the server. - - - - - Experimental API. Might anytime change without prior notice. - Number or calls requested via grpc_server_request_call at any given time for each completion queue. - - - - - Starts the server. - Throws IOException if not successful. - - - - - Requests server shutdown and when there are no more calls being serviced, - cleans up used resources. The returned task finishes when shutdown procedure - is complete. - - - It is strongly recommended to shutdown all previously created servers before exiting from the process. - - - - - Requests server shutdown while cancelling all the in-progress calls. - The returned task finishes when shutdown procedure is complete. - - - It is strongly recommended to shutdown all previously created servers before exiting from the process. - - - - - Shuts down the server. - - - - - In case the environment's threadpool becomes dead, the shutdown completion will - never be delivered, but we need to release the environment's handle anyway. - - - - - Adds a service definition. - - - - - Adds a listening port. - - - - - Allows one new RPC call to be received by server. - - - - - Checks that all ports have been bound successfully. - - - - - Selects corresponding handler for given call and handles the call. - - - - - Handles the native callback. - - - - - Handles native callback. - - - - - Collection of service definitions. - - - - - Adds a service definition to the server. This is how you register - handlers for a service with the server. Only call this before Start(). - - - - - Gets enumerator for this collection. - - - - - Collection of server ports. - - - - - Adds a new port on which server should listen. - Only call this before Start(). - The port on which server will be listening. - - - - - Adds a new port on which server should listen. - The port on which server will be listening. - - the host - the port. If zero, an unused port is chosen automatically. - credentials to use to secure this port. - - - - Gets enumerator for this collection. - - - - - Server side credentials. - - - - - Returns instance of credential that provides no security and - will result in creating an unsecure server port with no encryption whatsoever. - - - - - Creates native object for the credentials. - - The native credentials. - - - - Modes of requesting client's SSL certificate by the server. - Corresponds to grpc_ssl_client_certificate_request_type. - - - - - Server does not request client certificate. - The certificate presented by the client is not checked by the server at - all. (A client may present a self signed or signed certificate or not - present a certificate at all and any of those option would be accepted) - - - - - Server requests client certificate but does not enforce that the client - presents a certificate. - If the client presents a certificate, the client authentication is left to - the application (the necessary metadata will be available to the - application via authentication context properties, see grpc_auth_context). - The client's key certificate pair must be valid for the SSL connection to - be established. - - - - - Server requests client certificate but does not enforce that the client - presents a certificate. - If the client presents a certificate, the client authentication is done by - the gRPC framework. (For a successful connection the client needs to either - present a certificate that can be verified against the root certificate - configured by the server or not present a certificate at all) - The client's key certificate pair must be valid for the SSL connection to - be established. - - - - - Server requests client certificate and enforces that the client presents a - certificate. - If the client presents a certificate, the client authentication is left to - the application (the necessary metadata will be available to the - application via authentication context properties, see grpc_auth_context). - The client's key certificate pair must be valid for the SSL connection to - be established. - - - - - Server requests client certificate and enforces that the client presents a - certificate. - The certificate presented by the client is verified by the gRPC framework. - (For a successful connection the client needs to present a certificate that - can be verified against the root certificate configured by the server) - The client's key certificate pair must be valid for the SSL connection to - be established. - - - - - Server-side SSL credentials. - - - - - Creates server-side SSL credentials. - - Key-certificates to use. - PEM encoded client root certificates used to authenticate client. - Deprecated, use clientCertificateRequest overload instead. - - - - Creates server-side SSL credentials. - - Key-certificates to use. - PEM encoded client root certificates used to authenticate client. - Options for requesting and verifying client certificate. - - - - Creates server-side SSL credentials. - This constructor should be used if you do not wish to authenticate the client. - (client certificate won't be requested and checked by the server at all). - - Key-certificates to use. - - - - Key-certificate pairs. - - - - - PEM encoded client root certificates. - - - - - Deprecated. If true, the authenticity of client check will be enforced. - - - - - Mode of requesting certificate from client by the server. - - - - - A port exposed by a server. - - - - - Pass this value as port to have the server choose an unused listening port for you. - Ports added to a server will contain the bound port in their property. - - - - - Creates a new port on which server should listen. - - The port on which server will be listening. - the host - the port. If zero, an unused port is chosen automatically. - credentials to use to secure this port. - - - - Creates a port from an existing ServerPort instance and boundPort value. - - - - The host. - - - The port. - - - The server credentials. - - - - The port actually bound by the server. This is useful if you let server - pick port automatically. - - - - - Extension methods that simplify work with gRPC streaming calls. - - - - - Reads the entire stream and executes an async action for each element. - - - - - Reads the entire stream and creates a list containing all the elements read. - - - - - Writes all elements from given enumerable to the stream. - Completes the stream afterwards unless close = false. - - - - - Writes all elements from given enumerable to the stream. - - - - - Utility methods to run microbenchmarks. - - - - - Runs a simple benchmark preceded by warmup phase. - - - - - Utility methods for task parallel library. - - - - - Framework independent equivalent of Task.CompletedTask. - - - - diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml.meta deleted file mode 100644 index 5bb672132..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: ec9cf7702008ac648af0687c05064f78 -timeCreated: 1531219386 -licenseType: Free -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes.meta deleted file mode 100644 index bab625c12..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 643bdb9ca01174f4eb77e3e15f8324b3 -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android.meta deleted file mode 100644 index a3ecb3140..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: f7f79be62cf24a940be0211dab5d2e5e -folderAsset: yes -timeCreated: 1531220113 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a.meta deleted file mode 100644 index cd533b850..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 47ba39f5fad6b49c5aae011940e9eea2 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a/libgrpc_csharp_ext.so b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a/libgrpc_csharp_ext.so deleted file mode 100644 index d915b258c..000000000 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a/libgrpc_csharp_ext.so and /dev/null differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a/libgrpc_csharp_ext.so.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a/libgrpc_csharp_ext.so.meta deleted file mode 100644 index 0d34a3814..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a/libgrpc_csharp_ext.so.meta +++ /dev/null @@ -1,102 +0,0 @@ -fileFormatVersion: 2 -guid: e1f44cc7ecd4244448817ccae6de42a3 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 0 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 1 - settings: - CPU: ARM64 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - AddToEmbeddedBinaries: false - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a.meta deleted file mode 100644 index 5fdf3f409..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: de2aa4d10bc38f54fb8345aca9b21195 -folderAsset: yes -timeCreated: 1531220167 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a/libgrpc_csharp_ext.so b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a/libgrpc_csharp_ext.so deleted file mode 100644 index 322af4a46..000000000 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a/libgrpc_csharp_ext.so and /dev/null differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a/libgrpc_csharp_ext.so.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a/libgrpc_csharp_ext.so.meta deleted file mode 100644 index 8ff441d0f..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a/libgrpc_csharp_ext.so.meta +++ /dev/null @@ -1,102 +0,0 @@ -fileFormatVersion: 2 -guid: 04fe0e4dcf310416b991e57c99e5d55f -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 0 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 1 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - AddToEmbeddedBinaries: false - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86/libgrpc_csharp_ext.so b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86/libgrpc_csharp_ext.so deleted file mode 100644 index 62b919cda..000000000 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86/libgrpc_csharp_ext.so and /dev/null differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86/libgrpc_csharp_ext.so.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86/libgrpc_csharp_ext.so.meta deleted file mode 100644 index c1a6da132..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86/libgrpc_csharp_ext.so.meta +++ /dev/null @@ -1,102 +0,0 @@ -fileFormatVersion: 2 -guid: 245e3d515096b414fbcdd1fd4160161a -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 0 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 1 - settings: - CPU: x86 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - AddToEmbeddedBinaries: false - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/grpc_csharp_ext_dummy_stubs.c b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/grpc_csharp_ext_dummy_stubs.c deleted file mode 100644 index f304e429b..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/grpc_csharp_ext_dummy_stubs.c +++ /dev/null @@ -1,436 +0,0 @@ - -// Copyright 2019 The gRPC Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// When building for Unity Android with il2cpp backend, Unity tries to link -// the __Internal PInvoke definitions (which are required by iOS) even though -// the .so/.dll will be actually used. This file provides dummy stubs to -// make il2cpp happy. -// See https://github.com/grpc/grpc/issues/16012 - -#include -#include - -void grpcsharp_init() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_shutdown() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_version_string() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_recv_initial_metadata() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_recv_message_length() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_recv_message_next_slice_peek() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_recv_status_on_client_status() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_recv_status_on_client_details() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_recv_status_on_client_trailing_metadata() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_recv_close_on_server_cancelled() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_reset() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_call() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_method() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_host() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_deadline() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_request_metadata() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_reset() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_composite_call_credentials_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_credentials_release() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_cancel() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_cancel_with_status() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_start_unary() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_start_client_streaming() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_start_server_streaming() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_start_duplex_streaming() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_send_message() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_send_close_from_client() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_send_status_from_server() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_recv_message() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_recv_initial_metadata() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_start_serverside() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_send_initial_metadata() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_set_credentials() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_get_peer() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_args_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_args_set_string() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_args_set_integer() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_args_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_override_default_ssl_roots() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_ssl_credentials_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_composite_channel_credentials_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_credentials_release() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_insecure_channel_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_secure_channel_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_create_call() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_check_connectivity_state() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_watch_connectivity_state() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_get_target() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_sizeof_grpc_event() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_completion_queue_create_async() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_completion_queue_create_sync() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_completion_queue_shutdown() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_completion_queue_next() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_completion_queue_pluck() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_completion_queue_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void gprsharp_free() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_array_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_array_add() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_array_count() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_array_get_key() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_array_get_value() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_array_destroy_full() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_redirect_log() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_native_callback_dispatcher_init() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_credentials_create_from_plugin() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_credentials_notify_from_plugin() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_ssl_server_credentials_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_credentials_release() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_register_completion_queue() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_add_insecure_http2_port() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_add_secure_http2_port() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_start() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_request_call() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_cancel_all_calls() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_shutdown_and_notify_callback() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_auth_context() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_auth_context_peer_identity_property_name() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_auth_context_property_iterator() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_auth_property_iterator_next() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_auth_context_release() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_slice_buffer_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_slice_buffer_adjust_tail_space() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_slice_buffer_slice_count() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_slice_buffer_slice_peek() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_slice_buffer_reset_and_unref() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_slice_buffer_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void gprsharp_now() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void gprsharp_inf_future() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void gprsharp_inf_past() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void gprsharp_convert_clock_type() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void gprsharp_sizeof_timespec() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_test_callback() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_test_nop() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_test_override_method() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_test_call_start_unary_echo() { - fprintf(stderr, "Should never reach here"); - abort(); -} diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/grpc_csharp_ext_dummy_stubs.c.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/grpc_csharp_ext_dummy_stubs.c.meta deleted file mode 100644 index e8ca2dedf..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/grpc_csharp_ext_dummy_stubs.c.meta +++ /dev/null @@ -1,93 +0,0 @@ -fileFormatVersion: 2 -guid: 576b78662f1f8af4fa751f709b620f52 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 0 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude Win: 0 - Exclude Win64: 0 - - first: - Android: Android - second: - enabled: 1 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 1 - settings: - CPU: AnyCPU - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/ios.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/ios.meta deleted file mode 100644 index 56a372b0f..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/ios.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: a5f54f019e6510541ac61eeec96aa82d -folderAsset: yes -timeCreated: 1531456012 -licenseType: Pro -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a deleted file mode 100644 index 37b269972..000000000 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a and /dev/null differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a.meta deleted file mode 100644 index 0ecd6da5e..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a.meta +++ /dev/null @@ -1,95 +0,0 @@ -fileFormatVersion: 2 -guid: dde9f75258bae4033a4f778fd1149ccd -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 0 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 1 - settings: - AddToEmbeddedBinaries: false - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a deleted file mode 100644 index 11e1cadca..000000000 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a and /dev/null differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a.meta deleted file mode 100644 index cdfdcef12..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: 83f99c0e7db71754ba8927bbfb83c668 -timeCreated: 1531456013 -licenseType: Pro -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 0 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 1 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux.meta deleted file mode 100644 index b2abb490d..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 1ff40de7dc502c14e8893c7679e9f44a -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64.meta deleted file mode 100644 index bac2e3031..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 08ccfdbfbd8d2d6458eb44d41a7b0b0a -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64/libgrpc_csharp_ext.so b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64/libgrpc_csharp_ext.so deleted file mode 100644 index d88f865e7..000000000 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64/libgrpc_csharp_ext.so and /dev/null differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64/libgrpc_csharp_ext.so.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64/libgrpc_csharp_ext.so.meta deleted file mode 100644 index 11c5eb863..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64/libgrpc_csharp_ext.so.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: c176dc12f2803e14bb37bcd0ba4a0718 -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 0 - Exclude Linux: 1 - Exclude Linux64: 0 - Exclude LinuxUniversal: 0 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 0 - Exclude Win64: 0 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: x86_64 - DefaultValueInitialized: true - OS: Linux - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Linux64 - second: - enabled: 1 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 1 - settings: - CPU: x86_64 - - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86.meta deleted file mode 100644 index ec1d6e662..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: d62d998e3cdebd542a967743103c64b6 -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86/libgrpc_csharp_ext.so b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86/libgrpc_csharp_ext.so deleted file mode 100644 index 3ab77a048..000000000 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86/libgrpc_csharp_ext.so and /dev/null differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86/libgrpc_csharp_ext.so.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86/libgrpc_csharp_ext.so.meta deleted file mode 100644 index 0d3fafe73..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86/libgrpc_csharp_ext.so.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: 0165d78fa73d0cc4c8984f3d4f2a6c86 -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 0 - Exclude Linux: 0 - Exclude Linux64: 1 - Exclude LinuxUniversal: 0 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 0 - Exclude Win64: 0 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: x86 - DefaultValueInitialized: true - OS: Linux - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 1 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: LinuxUniversal - second: - enabled: 1 - settings: - CPU: x86 - - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx.meta deleted file mode 100644 index 7a335aef8..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 7b1ebe888da0a174c95a712766d2558c -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64.meta deleted file mode 100644 index 3daab8a08..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: ccea531b15a71974a91329186dd65075 -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64/grpc_csharp_ext.bundle b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64/grpc_csharp_ext.bundle deleted file mode 100644 index 03b1b55de..000000000 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64/grpc_csharp_ext.bundle and /dev/null differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64/grpc_csharp_ext.bundle.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64/grpc_csharp_ext.bundle.meta deleted file mode 100644 index ed81db0e2..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64/grpc_csharp_ext.bundle.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: da53c729add26524fbecb84a7b599289 -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 0 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 0 - Exclude OSXUniversal: 0 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: x86_64 - DefaultValueInitialized: true - OS: OSX - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXIntel64 - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXUniversal - second: - enabled: 1 - settings: - CPU: x86_64 - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86.meta deleted file mode 100644 index 0b0fca5ba..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 2ee63d0ffcfa72a4fbd7ad04ba34cadb -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86/grpc_csharp_ext.bundle b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86/grpc_csharp_ext.bundle deleted file mode 100644 index c1eafc783..000000000 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86/grpc_csharp_ext.bundle and /dev/null differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86/grpc_csharp_ext.bundle.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86/grpc_csharp_ext.bundle.meta deleted file mode 100644 index 25c745221..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86/grpc_csharp_ext.bundle.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: 34ec9b69f128d6d4fa3fb46bc70b547c -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 0 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 0 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 0 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: x86 - DefaultValueInitialized: true - OS: OSX - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXIntel - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 1 - settings: - CPU: x86 - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win.meta deleted file mode 100644 index 8d4d8a9ad..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 928a9392668000344b70b6fd126e522c -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64.meta deleted file mode 100644 index eaf428e5d..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 34969b8c99d7a934eaa5e84da9fcf326 -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64/grpc_csharp_ext.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64/grpc_csharp_ext.dll deleted file mode 100755 index d0af0386e..000000000 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64/grpc_csharp_ext.dll and /dev/null differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64/grpc_csharp_ext.dll.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64/grpc_csharp_ext.dll.meta deleted file mode 100644 index a64743b69..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64/grpc_csharp_ext.dll.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: cb634ddbaed75c344a6b79bc91ca996e -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 0 - Exclude Linux: 0 - Exclude Linux64: 0 - Exclude LinuxUniversal: 0 - Exclude OSXIntel: 0 - Exclude OSXIntel64: 0 - Exclude OSXUniversal: 0 - Exclude Win: 1 - Exclude Win64: 0 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: x86_64 - DefaultValueInitialized: true - OS: Windows - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: None - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 1 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 1 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXIntel - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXIntel64 - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXUniversal - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win64 - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86.meta deleted file mode 100644 index a25760b42..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: ed5c6044f868f9a4f955b7db2d2df619 -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86/grpc_csharp_ext.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86/grpc_csharp_ext.dll deleted file mode 100755 index e95a081b0..000000000 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86/grpc_csharp_ext.dll and /dev/null differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86/grpc_csharp_ext.dll.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86/grpc_csharp_ext.dll.meta deleted file mode 100644 index 345fde981..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86/grpc_csharp_ext.dll.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: fe9aa1338bfc3864eb50df0f9d648316 -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 0 - Exclude Linux: 0 - Exclude Linux64: 0 - Exclude LinuxUniversal: 0 - Exclude OSXIntel: 0 - Exclude OSXIntel64: 0 - Exclude OSXUniversal: 0 - Exclude Win: 0 - Exclude Win64: 1 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: x86 - DefaultValueInitialized: true - OS: Windows - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Linux - second: - enabled: 1 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 1 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXIntel - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXIntel64 - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXUniversal - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: None - - first: - iPhone: iOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client.meta similarity index 73% rename from samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86.meta rename to samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client.meta index 4e7acc453..63018789c 100644 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86.meta +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client.meta @@ -1,8 +1,8 @@ -fileFormatVersion: 2 -guid: 800ab3aa15d1b49b19df1caf1315bd3e -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: +fileFormatVersion: 2 +guid: 9032340b584d11b4bbb746804ac76dd2 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0.meta new file mode 100644 index 000000000..14b139fd8 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 26da1e8bb7e7a174e8758be6080905d9 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib.meta new file mode 100644 index 000000000..2eef9be60 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e940fa43977f2c9419e5758092025ac8 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1.meta new file mode 100644 index 000000000..35619d6fe --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 50e11ef32721afa4fa4955d8ade4056b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1/Grpc.Net.Client.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1/Grpc.Net.Client.dll new file mode 100644 index 000000000..455828186 Binary files /dev/null and b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1/Grpc.Net.Client.dll differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1/Grpc.Net.Client.dll.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1/Grpc.Net.Client.dll.meta new file mode 100644 index 000000000..d36c3f6b4 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1/Grpc.Net.Client.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 593526ffa808b7941a4edf310d5f3f74 +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common.meta new file mode 100644 index 000000000..afd8c1843 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b5b55f623667b5a45859397abf2b8576 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0.meta new file mode 100644 index 000000000..cd9740471 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2efcb7882ebd82043936a67e92bb06c1 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib.meta new file mode 100644 index 000000000..3541b615a --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5fa2d3034f2608e418c22f254c4c9b9a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1.meta new file mode 100644 index 000000000..5b33ce3cc --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3dcde79e23d6bc441af2108d403994f7 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1/Grpc.Net.Common.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1/Grpc.Net.Common.dll new file mode 100644 index 000000000..249f55a9d Binary files /dev/null and b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1/Grpc.Net.Common.dll differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1/Grpc.Net.Common.dll.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1/Grpc.Net.Common.dll.meta new file mode 100644 index 000000000..3709a4a97 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1/Grpc.Net.Common.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 0e36fcf6dc9e90f48b014543b013684f +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/GrpcCoreWinIl2cppStubs/Windows/GrpcCoreWinIl2cppStubs.c b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/GrpcCoreWinIl2cppStubs/Windows/GrpcCoreWinIl2cppStubs.c deleted file mode 100644 index 711e12f85..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/GrpcCoreWinIl2cppStubs/Windows/GrpcCoreWinIl2cppStubs.c +++ /dev/null @@ -1,20 +0,0 @@ -// Dummy plugin to avoid errors when building with Windows IL2CPP -// Grpc.Core uses `[DllImport("__Internal")]` but Windows does not have `dlopen`, `dlerror` and `dlsym`, resulting in a build error. -// -// See: https://github.com/Cysharp/MagicOnion#workaround-for-il2cpp--windows-build-failure - -#include -#include - -void* dlopen(const char* filename, int flags) { - fprintf(stderr, "Should never reach here"); - abort(); -} -char* dlerror(void) { - fprintf(stderr, "Should never reach here"); - abort(); -} -void* dlsym(void* handle, const char* symbol) { - fprintf(stderr, "Should never reach here"); - abort(); -} \ No newline at end of file diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/GrpcCoreWinIl2cppStubs/Windows/GrpcCoreWinIl2cppStubs.c.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/GrpcCoreWinIl2cppStubs/Windows/GrpcCoreWinIl2cppStubs.c.meta deleted file mode 100644 index 0d67c4121..000000000 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/GrpcCoreWinIl2cppStubs/Windows/GrpcCoreWinIl2cppStubs.c.meta +++ /dev/null @@ -1,69 +0,0 @@ -fileFormatVersion: 2 -guid: 0d58abbfa969d9840a857063569d269b -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - : Any - second: - enabled: 0 - settings: - Exclude Editor: 1 - Exclude Linux64: 1 - Exclude OSXUniversal: 1 - Exclude WebGL: 1 - Exclude Win: 0 - Exclude Win64: 0 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 1 - settings: - CPU: x86 - - first: - Standalone: Win64 - second: - enabled: 1 - settings: - CPU: x86_64 - - first: - WebGL: WebGL - second: - enabled: 0 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions.meta new file mode 100644 index 000000000..1bf2a44b9 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d01ed726fc50e514998711f3d9c32ac2 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3.meta new file mode 100644 index 000000000..1de7f38f9 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6577fa02c7b7e974aa46aad82da62d27 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib.meta new file mode 100644 index 000000000..7a06081a8 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e8ca6e2f1d82b3940b0ca3e71c7d12b2 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0.meta new file mode 100644 index 000000000..aedae87d3 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0a4c7a9f6f61b9e448e61342c66052a7 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll new file mode 100644 index 000000000..7a6011ee8 Binary files /dev/null and b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll.meta new file mode 100644 index 000000000..1eb0d76d2 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 3cc6650ebcd4fbb48abc1835fad7ef7f +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers.dll deleted file mode 100644 index b6d9c7782..000000000 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers.dll and /dev/null differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers.meta new file mode 100644 index 000000000..3d80a354f --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b0ceabf217d24c44d9bc6e0a27362649 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1.meta new file mode 100644 index 000000000..0117a28d5 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: bda47dbbac61b4546b3bcb9964822c60 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/LICENSE.TXT b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/MagicOnion.Client.Unity/Assets/Scenes/New Scene.unity.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/LICENSE.TXT.meta similarity index 62% rename from src/MagicOnion.Client.Unity/Assets/Scenes/New Scene.unity.meta rename to samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/LICENSE.TXT.meta index cb5da15fc..75d4a0505 100644 --- a/src/MagicOnion.Client.Unity/Assets/Scenes/New Scene.unity.meta +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/LICENSE.TXT.meta @@ -1,6 +1,6 @@ fileFormatVersion: 2 -guid: 7ce8540f04bcad54ea4cd2ae6cd1a08c -DefaultImporter: +guid: 60a0dd44878308d41b4fc1e8d09c2da8 +TextScriptImporter: externalObjects: {} userData: assetBundleName: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/lib.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/lib.meta new file mode 100644 index 000000000..3edd4550c --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ea2bf4eef977a9943af5e23b4c74132e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0.meta new file mode 100644 index 000000000..7f0bd1fba --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8f123020e213f2140b71d7ded5ca6cad +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0/System.Buffers.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0/System.Buffers.dll new file mode 100644 index 000000000..c0970c078 Binary files /dev/null and b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0/System.Buffers.dll differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers.dll.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0/System.Buffers.dll.meta similarity index 93% rename from src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers.dll.meta rename to samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0/System.Buffers.dll.meta index cfafcc673..b962010e6 100644 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers.dll.meta +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0/System.Buffers.dll.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: cfed5f4adebd4cc6586d1ffea90646fc +guid: 034c8ccffa8a4ce42a4019b543fbbd63 PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource.meta new file mode 100644 index 000000000..3a615819a --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5bae2b1d59d526b41867a775ce4d6206 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1.meta new file mode 100644 index 000000000..d47dec215 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 43210671c7eae89469e818db41ff6615 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/LICENSE.TXT b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/MagicOnion.Client.Unity/Assets/Scenes/TestScene.unity.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/LICENSE.TXT.meta similarity index 62% rename from src/MagicOnion.Client.Unity/Assets/Scenes/TestScene.unity.meta rename to samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/LICENSE.TXT.meta index ae36a8308..2f75fc9e0 100644 --- a/src/MagicOnion.Client.Unity/Assets/Scenes/TestScene.unity.meta +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/LICENSE.TXT.meta @@ -1,6 +1,6 @@ fileFormatVersion: 2 -guid: b24093e6ba98b0b47a4219a06f7f4231 -DefaultImporter: +guid: c0f588f26a98af24a9fd3ef3e97409f5 +TextScriptImporter: externalObjects: {} userData: assetBundleName: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib.meta new file mode 100644 index 000000000..d2db85e68 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f4c2d8fb562ae5545af69a7b0d5db4d7 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3.meta new file mode 100644 index 000000000..59eaf545c --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3834ad519843fb6449f88ef086c50c9c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll new file mode 100644 index 000000000..487852936 Binary files /dev/null and b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll.meta new file mode 100644 index 000000000..996bdb28e --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 05a9fc7425607194d807609bd3145b71 +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines.meta new file mode 100644 index 000000000..0366a0765 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3dbc4bf0456d5fe4d863eb17b0009293 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0.meta new file mode 100644 index 000000000..1f1331735 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 72fd45a61cf02ac48aa0953e3608a355 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/LICENSE.TXT b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/MagicOnion.Client.Unity/Assets/Scenes/BugReproductionScene.unity.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/LICENSE.TXT.meta similarity index 62% rename from src/MagicOnion.Client.Unity/Assets/Scenes/BugReproductionScene.unity.meta rename to samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/LICENSE.TXT.meta index 9b86d3cbc..db5bd12fc 100644 --- a/src/MagicOnion.Client.Unity/Assets/Scenes/BugReproductionScene.unity.meta +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/LICENSE.TXT.meta @@ -1,6 +1,6 @@ fileFormatVersion: 2 -guid: 6e544dee2ae31cb4698c65bc89a95a3b -DefaultImporter: +guid: 122f6925539035e4c8ec7818f1ed3041 +TextScriptImporter: externalObjects: {} userData: assetBundleName: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib.meta new file mode 100644 index 000000000..d5d2139bb --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 844cf36f54c4a864fbc3a6dc14b31e35 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0.meta new file mode 100644 index 000000000..6d847458f --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1fe2747055f61444e84b32e3bf7cd132 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0/System.IO.Pipelines.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0/System.IO.Pipelines.dll new file mode 100644 index 000000000..82614bde6 Binary files /dev/null and b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0/System.IO.Pipelines.dll differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0/System.IO.Pipelines.dll.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0/System.IO.Pipelines.dll.meta new file mode 100644 index 000000000..71ff88310 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0/System.IO.Pipelines.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 86cf57ad0273d8b4f9f8026679a01d8c +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory.meta new file mode 100644 index 000000000..7b0765957 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8caf5d2de0c7052479703b395bf9de17 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5.meta new file mode 100644 index 000000000..480d924a3 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f40fc9018f6457e4798fe8bdbb9c02bc +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/LICENSE.TXT b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/LICENSE.TXT.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/LICENSE.TXT.meta new file mode 100644 index 000000000..64c3957a0 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/LICENSE.TXT.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 9f6bdb6ef7eaa2a48a7eb456afbee6f7 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/lib.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/lib.meta new file mode 100644 index 000000000..7c568769b --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0ebe045392ea6ed4c9e7e0c1232f4d2f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0.meta new file mode 100644 index 000000000..21cee5232 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: aa66ddfe11ca3ed41af4ac08935245f8 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0/System.Memory.dll similarity index 88% rename from src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory.dll rename to samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0/System.Memory.dll index bdfc501e9..1e6aef802 100644 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory.dll and b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0/System.Memory.dll differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory.dll.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0/System.Memory.dll.meta similarity index 93% rename from src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory.dll.meta rename to samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0/System.Memory.dll.meta index 3611bd488..6dceb28f8 100644 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory.dll.meta +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0/System.Memory.dll.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 4b54c65c745fd3f8b9b5d1ee2b691920 +guid: 3229389b03983374295bc4014bbe7efd PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors.meta new file mode 100644 index 000000000..9a764f96b --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cfdca11ddb1ba1f4ca56b3b7c0c9649e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0.meta new file mode 100644 index 000000000..8d25a695c --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 41b46d466cc89c9469a397b0d09f450a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/LICENSE.TXT b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/LICENSE.TXT.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/LICENSE.TXT.meta new file mode 100644 index 000000000..abf5d335d --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/LICENSE.TXT.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 3f50a56950b1f1a40b9b6c80e4f84894 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib.meta new file mode 100644 index 000000000..a92e08788 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 79af075e16e999c40b78a30a6b088458 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0.meta new file mode 100644 index 000000000..aaa55d151 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6396b94a9fa5546478678c67a56c1c80 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0/System.Numerics.Vectors.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0/System.Numerics.Vectors.dll new file mode 100644 index 000000000..a808165ac Binary files /dev/null and b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0/System.Numerics.Vectors.dll differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0/System.Numerics.Vectors.dll.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0/System.Numerics.Vectors.dll.meta new file mode 100644 index 000000000..b5a0ab101 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0/System.Numerics.Vectors.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: eab6077fafffb304c893ca71f5e6935e +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll deleted file mode 100644 index 315623926..000000000 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll and /dev/null differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.meta new file mode 100644 index 000000000..3e45506c4 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cb692e4c9423215479cad5ae0a27a193 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3.meta new file mode 100644 index 000000000..7d88c6606 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3678f684ba0ddf0418c167aaf16f2590 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/LICENSE.TXT b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/LICENSE.TXT.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/LICENSE.TXT.meta new file mode 100644 index 000000000..36397b605 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/LICENSE.TXT.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 9283c1071a90544459e0ee04b50d4c74 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib.meta new file mode 100644 index 000000000..bbc4c7efa --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b3091605d79fe954eaa8a54060538480 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0.meta new file mode 100644 index 000000000..37240ebde --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: aeb51b78fe0050144a66144f9faffe9f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..b17135bc9 Binary files /dev/null and b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll.meta similarity index 93% rename from samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll.meta rename to samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll.meta index bfe10c68a..f2fc88a31 100644 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll.meta +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 1b23775a59c7085cdb02341c16a19ef4 +guid: 1f632f6335fa84d4ab38cf5af7380cbd PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.meta new file mode 100644 index 000000000..f483f02c5 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4e4af5cf070511d49bb00d062ab41ae3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4.meta new file mode 100644 index 000000000..e52a5b5d9 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d05fd9652564ed44d9c969ee32fa56be +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/LICENSE.TXT b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/LICENSE.TXT.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/LICENSE.TXT.meta new file mode 100644 index 000000000..07442ab8d --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/LICENSE.TXT.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2809dedca2a099842996065d6613e1e2 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib.meta new file mode 100644 index 000000000..ca0fa3534 --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e636c32c5f802f448b4853f5fdac62db +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0.meta new file mode 100644 index 000000000..84ee5ef0e --- /dev/null +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 86cb2cbe9302c8c4b88cecf3d6ba323e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.dll b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll similarity index 56% rename from src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.dll rename to samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll index e059050bb..dfab23478 100644 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.dll and b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.dll.meta b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll.meta similarity index 93% rename from src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.dll.meta rename to samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll.meta index fe9eaacfd..f8f21df28 100644 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.dll.meta +++ b/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 79b471354b1f5b597bf692d41ee441a4 +guid: 095d75ce444d56d41837c8612a8a5748 PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Scripts/InitialSettings.cs b/samples/ChatApp/ChatApp.Unity/Assets/Scripts/InitialSettings.cs index 922b15e3c..a43526bbf 100644 --- a/samples/ChatApp/ChatApp.Unity/Assets/Scripts/InitialSettings.cs +++ b/samples/ChatApp/ChatApp.Unity/Assets/Scripts/InitialSettings.cs @@ -1,7 +1,8 @@ using System.IO; -using Grpc.Core; using MagicOnion.Client; -#if USE_GRPC_NET_CLIENT +#if USE_GRPC_CCORE +using Grpc.Core; +#else using Grpc.Net.Client; #endif using MagicOnion.Unity; @@ -34,6 +35,18 @@ static void RegisterResolvers() [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] public static void OnRuntimeInitialize() { +#if !USE_GRPC_CCORE + // Use Grpc.Net.Client instead of C-core gRPC library. + GrpcChannelProviderHost.Initialize( + new GrpcNetClientGrpcChannelProvider(() => new GrpcChannelOptions() + { + HttpHandler = new Cysharp.Net.Http.YetAnotherHttpHandler() + { + Http2Only = true, + } + })); +#endif +#if USE_GRPC_CCORE // Initialize gRPC channel provider when the application is loaded. GrpcChannelProviderHost.Initialize(new DefaultGrpcChannelProvider(new GrpcCCoreChannelOptions(new[] { @@ -46,9 +59,7 @@ public static void OnRuntimeInitialize() // NOTE: If you want to use self-signed certificate for SSL/TLS connection //var cred = new SslCredentials(File.ReadAllText(Path.Combine(Application.streamingAssetsPath, "server.crt"))); //GrpcChannelProviderHost.Initialize(new DefaultGrpcChannelProvider(new GrpcCCoreChannelOptions(channelCredentials: cred))); - - // Use Grpc.Net.Client instead of C-core gRPC library. - //GrpcChannelProviderHost.Initialize(new GrpcNetClientGrpcChannelProvider(new GrpcChannelOptions() { HttpHandler = ... })); +#endif } } } diff --git a/samples/ChatApp/ChatApp.Unity/Packages/manifest.json b/samples/ChatApp/ChatApp.Unity/Packages/manifest.json index 39401eca4..975dfbb7c 100644 --- a/samples/ChatApp/ChatApp.Unity/Packages/manifest.json +++ b/samples/ChatApp/ChatApp.Unity/Packages/manifest.json @@ -2,6 +2,7 @@ "dependencies": { "com.cysharp.magiconion": "file:../../../../src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion", "com.cysharp.magiconion.samples.chatapp.shared.unity": "file:../../ChatApp.Shared", + "com.cysharp.yetanotherhttphandler": "https://github.com/Cysharp/YetAnotherHttpHandler.git?path=src/YetAnotherHttpHandler#v0.1.0", "com.unity.2d.sprite": "1.0.0", "com.unity.2d.tilemap": "1.0.0", "com.unity.ads": "3.7.5", diff --git a/samples/ChatApp/ChatApp.Unity/ProjectSettings/ProjectSettings.asset b/samples/ChatApp/ChatApp.Unity/ProjectSettings/ProjectSettings.asset index 3ac29003e..aaf75c452 100644 --- a/samples/ChatApp/ChatApp.Unity/ProjectSettings/ProjectSettings.asset +++ b/samples/ChatApp/ChatApp.Unity/ProjectSettings/ProjectSettings.asset @@ -793,7 +793,8 @@ PlayerSettings: webGLLinkerTarget: 1 webGLThreadsSupport: 0 webGLDecompressionFallback: 0 - scriptingDefineSymbols: {} + scriptingDefineSymbols: + Standalone: additionalCompilerArguments: {} platformArchitecture: {} scriptingBackend: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api.meta index 35aabdb24..402612a6d 100644 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api.meta +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 9b4ba511bab164bf9a5d0db8bb681b05 +guid: d9b6def6c07baa3449dff0225edf6a20 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0.meta new file mode 100644 index 000000000..d9835e963 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d96c0af301b3aed4b9c01e07b0858733 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib.meta new file mode 100644 index 000000000..127addb18 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0174a74c5e732c345b29d757e21ededd +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1.meta new file mode 100644 index 000000000..d353a5767 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8c9dbf7e093c47d4e94f651cc23d4ff9 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1/Grpc.Core.Api.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1/Grpc.Core.Api.dll new file mode 100644 index 000000000..ea7532d3a Binary files /dev/null and b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1/Grpc.Core.Api.dll differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1/Grpc.Core.Api.dll.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1/Grpc.Core.Api.dll.meta new file mode 100644 index 000000000..de74dc6d0 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/2.55.0/lib/netstandard2.1/Grpc.Core.Api.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: f4eee136ad047c244b8b2675557c3bdd +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib.meta deleted file mode 100644 index 2391d51a6..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 21a3894045fc74e85a09ab84c0e35c3a -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45.meta deleted file mode 100644 index 142c90ba8..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 9fd1c7cd7b6ed4d5285de90a332fb93e -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.dll deleted file mode 100755 index f4da3b447..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.dll and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.dll.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.dll.meta deleted file mode 100644 index 6e87df0b1..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.dll.meta +++ /dev/null @@ -1,32 +0,0 @@ -fileFormatVersion: 2 -guid: c9bf7237d50ec4e99ba7d2c153b80e8f -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 1 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 0 - settings: - CPU: AnyCPU - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.xml b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.xml deleted file mode 100644 index 4a57d9e3f..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.xml +++ /dev/null @@ -1,2556 +0,0 @@ - - - - Grpc.Core.Api - - - - - Asynchronous authentication interceptor for . - - The interceptor context. - Metadata to populate with entries that will be added to outgoing call's headers. - - - - - Context for an RPC being intercepted by . - - - - - Initializes a new instance of AuthInterceptorContext. - - - - - The fully qualified service URL for the RPC being called. - - - - - The method name of the RPC being called. - - - - - Provides an abstraction over the callback providers - used by AsyncUnaryCall, AsyncDuplexStreamingCall, etc - - - - - Return type for client streaming calls. - - Request message type for this call. - Response message type for this call. - - - - Creates a new AsyncClientStreamingCall object with the specified properties. - - Stream of request values. - The response of the asynchronous call. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - - - - Creates a new AsyncClientStreamingCall object with the specified properties. - - Stream of request values. - The response of the asynchronous call. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - State object for use with the callback parameters. - - - - Asynchronous call result. - - - - - Asynchronous access to response headers. - - - - - Async stream to send streaming requests. - - - - - Allows awaiting this object directly. - - - - - - Gets the call status if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Gets the call trailing metadata if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Provides means to cleanup after the call. - If the call has already finished normally (request stream has been completed and call result has been received), doesn't do anything. - Otherwise, requests cancellation of the call which should terminate all pending async operations associated with the call. - As a result, all resources being used by the call should be released eventually. - - - Normally, there is no need for you to dispose the call unless you want to utilize the - "Cancel" semantics of invoking Dispose. - - - - - Return type for bidirectional streaming calls. - - Request message type for this call. - Response message type for this call. - - - - Creates a new AsyncDuplexStreamingCall object with the specified properties. - - Stream of request values. - Stream of response values. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - - - - Creates a new AsyncDuplexStreamingCall object with the specified properties. - - Stream of request values. - Stream of response values. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - State object for use with the callback parameters. - - - - Async stream to read streaming responses. - - - - - Async stream to send streaming requests. - - - - - Asynchronous access to response headers. - - - - - Gets the call status if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Gets the call trailing metadata if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Provides means to cleanup after the call. - If the call has already finished normally (request stream has been completed and response stream has been fully read), doesn't do anything. - Otherwise, requests cancellation of the call which should terminate all pending async operations associated with the call. - As a result, all resources being used by the call should be released eventually. - - - Normally, there is no need for you to dispose the call unless you want to utilize the - "Cancel" semantics of invoking Dispose. - - - - - Return type for server streaming calls. - - Response message type for this call. - - - - Creates a new AsyncDuplexStreamingCall object with the specified properties. - - Stream of response values. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - - - - Creates a new AsyncDuplexStreamingCall object with the specified properties. - - Stream of response values. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - State object for use with the callback parameters. - - - - Async stream to read streaming responses. - - - - - Asynchronous access to response headers. - - - - - Gets the call status if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Gets the call trailing metadata if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Provides means to cleanup after the call. - If the call has already finished normally (response stream has been fully read), doesn't do anything. - Otherwise, requests cancellation of the call which should terminate all pending async operations associated with the call. - As a result, all resources being used by the call should be released eventually. - - - Normally, there is no need for you to dispose the call unless you want to utilize the - "Cancel" semantics of invoking Dispose. - - - - - Extension methods for . - - - - - Advances the stream reader to the next element in the sequence, returning the result asynchronously. - - The message type. - The stream reader. - - Task containing the result of the operation: true if the reader was successfully advanced - to the next element; false if the reader has passed the end of the sequence. - - - - - Return type for single request - single response call. - - Response message type for this call. - - - - Creates a new AsyncUnaryCall object with the specified properties. - - The response of the asynchronous call. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - - - - Creates a new AsyncUnaryCall object with the specified properties. - - The response of the asynchronous call. - Response headers of the asynchronous call. - Delegate returning the status of the call. - Delegate returning the trailing metadata of the call. - Delegate to invoke when Dispose is called on the call object. - State object for use with the callback parameters. - - - - Asynchronous call result. - - - - - Asynchronous access to response headers. - - - - - Allows awaiting this object directly. - - - - - Gets the call status if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Gets the call trailing metadata if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Provides means to cleanup after the call. - If the call has already finished normally (request stream has been completed and call result has been received), doesn't do anything. - Otherwise, requests cancellation of the call which should terminate all pending async operations associated with the call. - As a result, all resources being used by the call should be released eventually. - - - Normally, there is no need for you to dispose the call unless you want to utilize the - "Cancel" semantics of invoking Dispose. - - - - - Authentication context for a call. - AuthContext is the only reliable source of truth when it comes to authenticating calls. - Using any other call/context properties for authentication purposes is wrong and inherently unsafe. - Note: experimental API that can change or be removed without any prior notice. - - - - - Initializes a new instance of the class. - - Peer identity property name. - Multimap of auth properties by name. - - - - Returns true if the peer is authenticated. - - - - - Gets the name of the property that indicates the peer identity. Returns null - if the peer is not authenticated. - - - - - Gets properties that represent the peer identity (there can be more than one). Returns an empty collection - if the peer is not authenticated. - - - - - Gets the auth properties of this context. - - - - - Returns the auth properties with given name (there can be more than one). - If no properties of given name exist, an empty collection will be returned. - - - - - A property of an . - Note: experimental API that can change or be removed without any prior notice. - - - - - Gets the name of the property. - - - - - Gets the string value of the property. - - - - - Gets the binary value of the property. - - - - - Creates an instance of AuthProperty. - - the name - the binary value of the property - - - - Gets the binary value of the property (without making a defensive copy). - - - - - Creates and instance of AuthProperty without making a defensive copy of valueBytes. - - - - - Specifies the location of the service bind method for a gRPC service. - The bind method is typically generated code and is used to register a service's - methods with the server on startup. - - The bind method signature takes a and an optional - instance of the service base class, e.g. static void BindService(ServiceBinderBase, GreeterService). - - - - - Initializes a new instance of the class. - - The type the service bind method is defined on. - The name of the service bind method. - - - - Gets the type the service bind method is defined on. - - - - - Gets the name of the service bind method. - - - - - Client-side call credentials. Provide authorization with per-call granularity. - - - - - Composes multiple CallCredentials objects into - a single CallCredentials object. - - credentials to compose - The new CompositeCallCredentials - - - - Creates a new instance of CallCredentials class from an - interceptor that can attach metadata to outgoing calls. - - authentication interceptor - - - - Populates call credentials configurator with this instance's configuration. - End users never need to invoke this method as it is part of internal implementation. - - - - - Base class for objects that can consume configuration from CallCredentials objects. - Note: experimental API that can change or be removed without any prior notice. - - - - - Consumes configuration for composite call credentials. - - - - - Consumes configuration for call credentials created from AsyncAuthInterceptor - - - - - Flags to enable special call behaviors (client-side only). - - - - - The call is idempotent (retrying the call doesn't change the outcome of the operation). - - - - - If channel is in ChannelState.TransientFailure, attempt waiting for the channel to recover - instead of failing the call immediately. - - - - - The call is cacheable. gRPC is free to use GET verb */ - - - - - Call invoker that throws NotImplementedException for all requests. - - - - - Abstraction of client-side RPC invocation. - - - - - Invokes a simple remote call in a blocking fashion. - - - - - Invokes a simple remote call asynchronously. - - - - - Invokes a server streaming call asynchronously. - In server streaming scenario, client sends on request and server responds with a stream of responses. - - - - - Invokes a client streaming call asynchronously. - In client streaming scenario, client sends a stream of requests and server responds with a single response. - - - - - Invokes a duplex streaming call asynchronously. - In duplex streaming scenario, client sends a stream of requests and server responds with a stream of responses. - The response stream is completely independent and both side can be sending messages at the same time. - - - - - Options for calls made by client. - - - - - Creates a new instance of CallOptions struct. - - Headers to be sent with the call. - Deadline for the call to finish. null means no deadline. - Can be used to request cancellation of the call. - Write options that will be used for this call. - Context propagation token obtained from . - Credentials to use for this call. - - - - Headers to send at the beginning of the call. - - - - - Call deadline. - - - - - Token that can be used for cancelling the call on the client side. - Cancelling the token will request cancellation - of the remote call. Best effort will be made to deliver the cancellation - notification to the server and interaction of the call with the server side - will be terminated. Unless the call finishes before the cancellation could - happen (there is an inherent race), - the call will finish with StatusCode.Cancelled status. - - - - - Write options that will be used for this call. - - - - - Token for propagating parent call context. - - - - - Credentials to use for this call. - - - - - If true and channel is in ChannelState.TransientFailure, the call will attempt waiting for the channel to recover - instead of failing immediately (which is the default "FailFast" semantics). - Note: experimental API that can change or be removed without any prior notice. - - - - - Flags to use for this call. - - - - - Returns new instance of with - Headers set to the value provided. Values of all other fields are preserved. - - The headers. - - - - Returns new instance of with - Deadline set to the value provided. Values of all other fields are preserved. - - The deadline. - - - - Returns new instance of with - CancellationToken set to the value provided. Values of all other fields are preserved. - - The cancellation token. - - - - Returns new instance of with - WriteOptions set to the value provided. Values of all other fields are preserved. - - The write options. - - - - Returns new instance of with - PropagationToken set to the value provided. Values of all other fields are preserved. - - The context propagation token. - - - - Returns new instance of with - Credentials set to the value provided. Values of all other fields are preserved. - - The call credentials. - - - - Returns new instance of with "WaitForReady" semantics enabled/disabled. - . - Note: experimental API that can change or be removed without any prior notice. - - - - - Returns new instance of with - Flags set to the value provided. Values of all other fields are preserved. - - The call flags. - - - - Base class for gRPC channel. Channels are an abstraction of long-lived connections to remote servers. - - - - - Initializes a new instance of class that connects to a specific host. - - Target of the channel. - - - The original target used to create the channel. - - - - Create a new for the channel. - - A new . - - - - Shuts down the channel cleanly. It is strongly recommended to shutdown - the channel once you stopped using it. - - - Guidance for implementors: - This method doesn't wait for all calls on this channel to finish (nor does - it have to explicitly cancel all outstanding calls). It is user's responsibility to make sure - all the calls on this channel have finished (successfully or with an error) - before shutting down the channel to ensure channel shutdown won't impact - the outcome of those remote calls. - - - - Provides implementation of a non-virtual public member. - - - - Client-side channel credentials. Used for creation of a secure channel. - - - - - Creates a new instance of channel credentials - - - - - Returns instance of credentials that provides no security and - will result in creating an unsecure channel with no encryption whatsoever. - - - - - Creates a new instance of ChannelCredentials class by composing - given channel credentials with call credentials. - - Channel credentials. - Call credentials. - The new composite ChannelCredentials - - - - Populates channel credentials configurator with this instance's configuration. - End users never need to invoke this method as it is part of internal implementation. - - - - - Returns true if this credential type allows being composed by CompositeCredentials. - - - - - Credentials that allow composing one object and - one or more objects into a single . - - - - - Initializes a new instance of CompositeChannelCredentials class. - The resulting credentials object will be composite of all the credentials specified as parameters. - - channelCredentials to compose - channelCredentials to compose - - - - Base class for objects that can consume configuration from CallCredentials objects. - Note: experimental API that can change or be removed without any prior notice. - - - - - Configures the credentials to use insecure credentials. - - - - - Configures the credentials to use SslCredentials. - - - - - Configures the credentials to use composite channel credentials (a composite of channel credentials and call credentials). - - - - - Generic base class for client-side stubs. - - - - - Initializes a new instance of ClientBase class that - throws NotImplementedException upon invocation of any RPC. - This constructor is only provided to allow creation of test doubles - for client classes (e.g. mocking requires a parameterless constructor). - - - - - Initializes a new instance of ClientBase class. - - The configuration. - - - - Initializes a new instance of ClientBase class. - - The channel to use for remote call invocation. - - - - Initializes a new instance of ClientBase class. - - The CallInvoker for remote call invocation. - - - - Creates a new client that sets host field for calls explicitly. - gRPC supports multiple "hosts" being served by a single server. - By default (if a client was not created by calling this method), - host null with the meaning "use default host" is used. - - - - - Creates a new instance of client from given ClientBaseConfiguration. - - - - - Base class for client-side stubs. - - - - - Initializes a new instance of ClientBase class that - throws NotImplementedException upon invocation of any RPC. - This constructor is only provided to allow creation of test doubles - for client classes (e.g. mocking requires a parameterless constructor). - - - - - Initializes a new instance of ClientBase class. - - The configuration. - - - - Initializes a new instance of ClientBase class. - - The channel to use for remote call invocation. - - - - Initializes a new instance of ClientBase class. - - The CallInvoker for remote call invocation. - - - - Gets the call invoker. - - - - - Gets the configuration. - - - - - Represents configuration of ClientBase. The class itself is visible to - subclasses, but contents are marked as internal to make the instances opaque. - The verbose name of this class was chosen to make name clash in generated code - less likely. - - - - - Creates a new instance of ClientBaseConfigurationInterceptor given the specified header and host interceptor function. - - - - - Options for . - - - - - The context propagation options that will be used by default. - - - - - Creates new context propagation options. - - If set to true parent call's deadline will be propagated to the child call. - If set to true parent call's cancellation token will be propagated to the child call. - - - true if parent call's deadline should be propagated to the child call. - - - true if parent call's cancellation token should be propagated to the child call. - - - - Token for propagating context of server side handlers to child calls. - In situations when a backend is making calls to another backend, - it makes sense to propagate properties like deadline and cancellation - token of the server call to the child call. - Underlying gRPC implementation may provide other "opaque" contexts (like tracing context) that - are not explicitly accesible via the public C# API, but this token still allows propagating them. - - - - - Provides access to the payload being deserialized when deserializing messages. - - - - - Get the total length of the payload in bytes. - - - - - Gets the entire payload as a newly allocated byte array. - Once the byte array is returned, the byte array becomes owned by the caller and won't be ever accessed or reused by gRPC again. - NOTE: Obtaining the buffer as a newly allocated byte array is the simplest way of accessing the payload, - but it can have important consequences in high-performance scenarios. - In particular, using this method usually requires copying of the entire buffer one extra time. - Also, allocating a new buffer each time can put excessive pressure on GC, especially if - the payload is more than 86700 bytes large (which means the newly allocated buffer will be placed in LOH, - and LOH object can only be garbage collected via a full ("stop the world") GC run). - NOTE: Deserializers are expected not to call this method (or other payload accessor methods) more than once per received message - (as there is no practical reason for doing so) and DeserializationContext implementations are free to assume so. - - byte array containing the entire payload. - - - - Gets the entire payload as a ReadOnlySequence. - The ReadOnlySequence is only valid for the duration of the deserializer routine and the caller must not access it after the deserializer returns. - Using the read only sequence is the most efficient way to access the message payload. Where possible it allows directly - accessing the received payload without needing to perform any buffer copying or buffer allocations. - NOTE: When using this method, it is recommended to use C# 7.2 compiler to make it more useful (using Span type directly from your code requires C# 7.2)." - NOTE: Deserializers are expected not to call this method (or other payload accessor methods) more than once per received message - (as there is no practical reason for doing so) and DeserializationContext implementations are free to assume so. - - read only sequence containing the entire payload. - - - - A stream of messages to be read. - Messages can be awaited await reader.MoveNext(), that returns true - if there is a message available and false if there are no more messages - (i.e. the stream has been closed). - - On the client side, the last invocation of MoveNext() either returns false - if the call has finished successfully or throws RpcException if call finished - with an error. Once the call finishes, subsequent invocations of MoveNext() will - continue yielding the same result (returning false or throwing an exception). - - - On the server side, MoveNext() does not throw exceptions. - In case of a failure, the request stream will appear to be finished - (MoveNext will return false) and the CancellationToken - associated with the call will be cancelled to signal the failure. - - - MoveNext() operations can be cancelled via a cancellation token. Cancelling - an individual read operation has the same effect as cancelling the entire call - (which will also result in the read operation returning prematurely), but the per-read cancellation - tokens passed to MoveNext() only result in cancelling the call if the read operation haven't finished - yet. - - - The message type. - - - - Gets the current element in the iteration. - - - - - Advances the reader to the next element in the sequence, returning the result asynchronously. - - Cancellation token that can be used to cancel the operation. - - Task containing the result of the operation: true if the reader was successfully advanced - to the next element; false if the reader has passed the end of the sequence. - - - - A writable stream of messages. - - The message type. - - - - Writes a single asynchronously. Only one write can be pending at a time. - - the message to be written. Cannot be null. - - - - Write options that will be used for the next write. - If null, default options will be used. - Once set, this property maintains its value across subsequent - writes. - - - - - Client-side writable stream of messages with Close capability. - - The message type. - - - - Completes/closes the stream. Can only be called once there is no pending write. No writes should follow calling this. - - - - - Extends the CallInvoker class to provide the interceptor facility on the client side. - - - - - Returns a instance that intercepts - the invoker with the given interceptor. - - The underlying invoker to intercept. - The interceptor to intercept calls to the invoker with. - - Multiple interceptors can be added on top of each other by calling - "invoker.Intercept(a, b, c)". The order of invocation will be "a", "b", and then "c". - Interceptors can be later added to an existing intercepted CallInvoker, effectively - building a chain like "invoker.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Returns a instance that intercepts - the invoker with the given interceptors. - - The channel to intercept. - - An array of interceptors to intercept the calls to the invoker with. - Control is passed to the interceptors in the order specified. - - - Multiple interceptors can be added on top of each other by calling - "invoker.Intercept(a, b, c)". The order of invocation will be "a", "b", and then "c". - Interceptors can be later added to an existing intercepted CallInvoker, effectively - building a chain like "invoker.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Returns a instance that intercepts - the invoker with the given interceptor. - - The underlying invoker to intercept. - - An interceptor delegate that takes the request metadata to be sent with an outgoing call - and returns a instance that will replace the existing - invocation metadata. - - - Multiple interceptors can be added on top of each other by - building a chain like "invoker.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Creates a new instance of MetadataInterceptor given the specified interceptor function. - - - - - Provides extension methods to make it easy to register interceptors on Channel objects. - - - - - Returns a instance that intercepts - the channel with the given interceptor. - - The channel to intercept. - The interceptor to intercept the channel with. - - Multiple interceptors can be added on top of each other by calling - "channel.Intercept(a, b, c)". The order of invocation will be "a", "b", and then "c". - Interceptors can be later added to an existing intercepted channel, effectively - building a chain like "channel.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Returns a instance that intercepts - the channel with the given interceptors. - - The channel to intercept. - - An array of interceptors to intercept the channel with. - Control is passed to the interceptors in the order specified. - - - Multiple interceptors can be added on top of each other by calling - "channel.Intercept(a, b, c)". The order of invocation will be "a", "b", and then "c". - Interceptors can be later added to an existing intercepted channel, effectively - building a chain like "channel.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Returns a instance that intercepts - the invoker with the given interceptor. - - The channel to intercept. - - An interceptor delegate that takes the request metadata to be sent with an outgoing call - and returns a instance that will replace the existing - invocation metadata. - - - Multiple interceptors can be added on top of each other by - building a chain like "channel.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Carries along the context associated with intercepted invocations on the client side. - - - - - Creates a new instance of - with the specified method, host, and call options. - - A object representing the method to be invoked. - The host to dispatch the current call to. - A instance containing the call options of the current call. - - - - Gets the instance - representing the method to be invoked. - - - - - Gets the host that the currect invocation will be dispatched to. - - - - - Gets the structure representing the - call options associated with the current invocation. - - - - - Decorates an underlying to - intercept calls through a given interceptor. - - - - - Creates a new instance of - with the given underlying invoker and interceptor instances. - - - - - Intercepts a simple blocking call with the registered interceptor. - - - - - Intercepts a simple asynchronous call with the registered interceptor. - - - - - Intercepts an asynchronous server streaming call with the registered interceptor. - - - - - Intercepts an asynchronous client streaming call with the registered interceptor. - - - - - Intercepts an asynchronous duplex streaming call with the registered interceptor. - - - - - Serves as the base class for gRPC interceptors. - - - - - Represents a continuation for intercepting simple blocking invocations. - A delegate of this type is passed to the BlockingUnaryCall method - when an outgoing invocation is being intercepted and calling the - delegate will invoke the next interceptor in the chain, or the underlying - call invoker if called from the last interceptor. The interceptor is - allowed to call it zero, one, or multiple times, passing it the appropriate - context and request values as it sees fit. - - Request message type for this invocation. - Response message type for this invocation. - The request value to continue the invocation with. - - The - instance to pass to the next step in the invocation process. - - - The response value of the invocation to return to the caller. - The interceptor can choose to return the return value of the - continuation delegate or an arbitrary value as it sees fit. - - - - - Represents a continuation for intercepting simple asynchronous invocations. - A delegate of this type is passed to the AsyncUnaryCall method - when an outgoing invocation is being intercepted and calling the - delegate will invoke the next interceptor in the chain, or the underlying - call invoker if called from the last interceptor. The interceptor is - allowed to call it zero, one, or multiple times, passing it the appropriate - request value and context as it sees fit. - - Request message type for this invocation. - Response message type for this invocation. - The request value to continue the invocation with. - - The - instance to pass to the next step in the invocation process. - - - An instance of - representing an asynchronous invocation of a unary RPC. - The interceptor can choose to return the same object returned from - the continuation delegate or an arbitrarily constructed instance as it sees fit. - - - - - Represents a continuation for intercepting asynchronous server-streaming invocations. - A delegate of this type is passed to the AsyncServerStreamingCall method - when an outgoing invocation is being intercepted and calling the - delegate will invoke the next interceptor in the chain, or the underlying - call invoker if called from the last interceptor. The interceptor is - allowed to call it zero, one, or multiple times, passing it the appropriate - request value and context as it sees fit. - - Request message type for this invocation. - Response message type for this invocation. - The request value to continue the invocation with. - - The - instance to pass to the next step in the invocation process. - - - An instance of - representing an asynchronous invocation of a server-streaming RPC. - The interceptor can choose to return the same object returned from - the continuation delegate or an arbitrarily constructed instance as it sees fit. - - - - - Represents a continuation for intercepting asynchronous client-streaming invocations. - A delegate of this type is passed to the AsyncClientStreamingCall method - when an outgoing invocation is being intercepted and calling the - delegate will invoke the next interceptor in the chain, or the underlying - call invoker if called from the last interceptor. The interceptor is - allowed to call it zero, one, or multiple times, passing it the appropriate - request value and context as it sees fit. - - Request message type for this invocation. - Response message type for this invocation. - - The - instance to pass to the next step in the invocation process. - - - An instance of - representing an asynchronous invocation of a client-streaming RPC. - The interceptor can choose to return the same object returned from - the continuation delegate or an arbitrarily constructed instance as it sees fit. - - - - - Represents a continuation for intercepting asynchronous duplex invocations. - A delegate of this type is passed to the AsyncDuplexStreamingCall method - when an outgoing invocation is being intercepted and calling the - delegate will invoke the next interceptor in the chain, or the underlying - call invoker if called from the last interceptor. The interceptor is - allowed to call it zero, one, or multiple times, passing it the appropriate - request value and context as it sees fit. - - - The - instance to pass to the next step in the invocation process. - - - An instance of - representing an asynchronous invocation of a duplex-streaming RPC. - The interceptor can choose to return the same object returned from - the continuation delegate or an arbitrarily constructed instance as it sees fit. - - - - - Intercepts a blocking invocation of a simple remote call. - - The request message of the invocation. - - The - associated with the current invocation. - - - The callback that continues the invocation process. - This can be invoked zero or more times by the interceptor. - The interceptor can invoke the continuation passing the given - request value and context arguments, or substitute them as it sees fit. - - - The response message of the current invocation. - The interceptor can simply return the return value of the - continuation delegate passed to it intact, or an arbitrary - value as it sees fit. - - - - - Intercepts an asynchronous invocation of a simple remote call. - - The request message of the invocation. - - The - associated with the current invocation. - - - The callback that continues the invocation process. - This can be invoked zero or more times by the interceptor. - The interceptor can invoke the continuation passing the given - request value and context arguments, or substitute them as it sees fit. - - - An instance of - representing an asynchronous unary invocation. - The interceptor can simply return the return value of the - continuation delegate passed to it intact, or construct its - own substitute as it sees fit. - - - - - Intercepts an asynchronous invocation of a streaming remote call. - - The request message of the invocation. - - The - associated with the current invocation. - - - The callback that continues the invocation process. - This can be invoked zero or more times by the interceptor. - The interceptor can invoke the continuation passing the given - request value and context arguments, or substitute them as it sees fit. - - - An instance of - representing an asynchronous server-streaming invocation. - The interceptor can simply return the return value of the - continuation delegate passed to it intact, or construct its - own substitute as it sees fit. - - - - - Intercepts an asynchronous invocation of a client streaming call. - - - The - associated with the current invocation. - - - The callback that continues the invocation process. - This can be invoked zero or more times by the interceptor. - The interceptor can invoke the continuation passing the given - context argument, or substitute as it sees fit. - - - An instance of - representing an asynchronous client-streaming invocation. - The interceptor can simply return the return value of the - continuation delegate passed to it intact, or construct its - own substitute as it sees fit. - - - - - Intercepts an asynchronous invocation of a duplex streaming call. - - - The - associated with the current invocation. - - - The callback that continues the invocation process. - This can be invoked zero or more times by the interceptor. - The interceptor can invoke the continuation passing the given - context argument, or substitute as it sees fit. - - - An instance of - representing an asynchronous duplex-streaming invocation. - The interceptor can simply return the return value of the - continuation delegate passed to it intact, or construct its - own substitute as it sees fit. - - - - - Server-side handler for intercepting and incoming unary call. - - Request message type for this method. - Response message type for this method. - The request value of the incoming invocation. - - An instance of representing - the context of the invocation. - - - A delegate that asynchronously proceeds with the invocation, calling - the next interceptor in the chain, or the service request handler, - in case of the last interceptor and return the response value of - the RPC. The interceptor can choose to call it zero or more times - at its discretion. - - - A future representing the response value of the RPC. The interceptor - can simply return the return value from the continuation intact, - or an arbitrary response value as it sees fit. - - - - - Server-side handler for intercepting client streaming call. - - Request message type for this method. - Response message type for this method. - The request stream of the incoming invocation. - - An instance of representing - the context of the invocation. - - - A delegate that asynchronously proceeds with the invocation, calling - the next interceptor in the chain, or the service request handler, - in case of the last interceptor and return the response value of - the RPC. The interceptor can choose to call it zero or more times - at its discretion. - - - A future representing the response value of the RPC. The interceptor - can simply return the return value from the continuation intact, - or an arbitrary response value as it sees fit. The interceptor has - the ability to wrap or substitute the request stream when calling - the continuation. - - - - - Server-side handler for intercepting server streaming call. - - Request message type for this method. - Response message type for this method. - The request value of the incoming invocation. - The response stream of the incoming invocation. - - An instance of representing - the context of the invocation. - - - A delegate that asynchronously proceeds with the invocation, calling - the next interceptor in the chain, or the service request handler, - in case of the last interceptor and the interceptor can choose to - call it zero or more times at its discretion. The interceptor has - the ability to wrap or substitute the request value and the response stream - when calling the continuation. - - - - - Server-side handler for intercepting bidirectional streaming calls. - - Request message type for this method. - Response message type for this method. - The request stream of the incoming invocation. - The response stream of the incoming invocation. - - An instance of representing - the context of the invocation. - - - A delegate that asynchronously proceeds with the invocation, calling - the next interceptor in the chain, or the service request handler, - in case of the last interceptor and the interceptor can choose to - call it zero or more times at its discretion. The interceptor has - the ability to wrap or substitute the request and response streams - when calling the continuation. - - - - - A writable stream of messages that is used in server-side handlers. - - - - - Key certificate pair (in PEM encoding). - - - - - Creates a new certificate chain - private key pair. - - PEM encoded certificate chain. - PEM encoded private key. - - - - PEM encoded certificate chain. - - - - - PEM encoded private key. - - - - - Encapsulates the logic for serializing and deserializing messages. - - - - - Initializes a new marshaller from simple serialize/deserialize functions. - - Function that will be used to serialize messages. - Function that will be used to deserialize messages. - - - - Initializes a new marshaller from serialize/deserialize fuctions that can access serialization and deserialization - context. Compared to the simple serializer/deserializer functions, using the contextual version provides more - flexibility and can lead to increased efficiency (and better performance). - Note: This constructor is part of an experimental API that can change or be removed without any prior notice. - - Function that will be used to serialize messages. - Function that will be used to deserialize messages. - - - - Gets the serializer function. - - - - - Gets the deserializer function. - - - - - Gets the serializer function. - Note: experimental API that can change or be removed without any prior notice. - - - - - Gets the serializer function. - Note: experimental API that can change or be removed without any prior notice. - - - - - Utilities for creating marshallers. - - - - - Creates a marshaller from specified serializer and deserializer. - - - - - Creates a marshaller from specified contextual serializer and deserializer. - Note: This method is part of an experimental API that can change or be removed without any prior notice. - - - - - Returns a marshaller for string type. This is useful for testing. - - - - - A collection of metadata entries that can be exchanged during a call. - gRPC supports these types of metadata: - - Request headersare sent by the client at the beginning of a remote call before any request messages are sent. - Response headersare sent by the server at the beginning of a remote call handler before any response messages are sent. - Response trailersare sent by the server at the end of a remote call along with resulting call status. - - - - - - All binary headers should have this suffix. - - - - - An read-only instance of metadata containing no entries. - - - - - To be used in initial metadata to request specific compression algorithm - for given call. Direct selection of compression algorithms is an internal - feature and is not part of public API. - - - - - Initializes a new instance of Metadata. - - - - - Makes this object read-only. - - this object - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Adds a new ASCII-valued metadata entry. See Metadata.Entry constructor for params. - - - - - Adds a new binary-valued metadata entry. See Metadata.Entry constructor for params. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Metadata entry - - - - - Initializes a new instance of the struct with a binary value. - - Metadata key. Gets converted to lowercase. Needs to have suffix indicating a binary valued metadata entry. Can only contain lowercase alphanumeric characters, underscores, hyphens and dots. - Value bytes. - - - - Initializes a new instance of the struct with an ASCII value. - - Metadata key. Gets converted to lowercase. Must not use suffix indicating a binary valued metadata entry. Can only contain lowercase alphanumeric characters, underscores, hyphens and dots. - Value string. Only ASCII characters are allowed. - - - - Gets the metadata entry key. - - - - - Gets the binary value of this metadata entry. - - - - - Gets the string value of this metadata entry. - - - - - Returns true if this entry is a binary-value entry. - - - - - Returns a that represents the current . - - - - - Gets the serialized value for this entry. For binary metadata entries, this leaks - the internal valueBytes byte array and caller must not change contents of it. - - - - - Creates a binary value or ascii value metadata entry from data received from the native layer. - We trust C core to give us well-formed data, so we don't perform any checks or defensive copying. - - - - - Returns true if the key has "-bin" binary header suffix. - - - - - Method types supported by gRPC. - - - - Single request sent from client, single response received from server. - - - Stream of request sent from client, single response received from server. - - - Single request sent from client, stream of responses received from server. - - - Both server and client can stream arbitrary number of requests and responses simultaneously. - - - - A non-generic representation of a remote method. - - - - - Gets the type of the method. - - - - - Gets the name of the service to which this method belongs. - - - - - Gets the unqualified name of the method. - - - - - Gets the fully qualified name of the method. On the server side, methods are dispatched - based on this name. - - - - - A description of a remote method. - - Request message type for this method. - Response message type for this method. - - - - Initializes a new instance of the Method class. - - Type of method. - Name of service this method belongs to. - Unqualified name of the method. - Marshaller used for request messages. - Marshaller used for response messages. - - - - Gets the type of the method. - - - - - Gets the name of the service to which this method belongs. - - - - - Gets the unqualified name of the method. - - - - - Gets the marshaller used for request messages. - - - - - Gets the marshaller used for response messages. - - - - - Gets the fully qualified name of the method. On the server side, methods are dispatched - based on this name. - - - - - Gets full name of the method including the service name. - - - - - Thrown when remote procedure call fails. Every RpcException is associated with a resulting of the call. - - - - - Creates a new RpcException associated with given status. - - Resulting status of a call. - - - - Creates a new RpcException associated with given status and message. - NOTE: the exception message is not sent to the remote peer. Use status.Details to pass error - details to the peer. - - Resulting status of a call. - The exception message. - - - - Creates a new RpcException associated with given status and trailing response metadata. - - Resulting status of a call. - Response trailing metadata. - - - - Creates a new RpcException associated with given status, message and trailing response metadata. - NOTE: the exception message is not sent to the remote peer. Use status.Details to pass error - details to the peer. - - Resulting status of a call. - Response trailing metadata. - The exception message. - - - - Resulting status of the call. - - - - - Returns the status code of the call, as a convenient alternative to Status.StatusCode. - - - - - Gets the call trailing metadata. - Trailers only have meaningful content for client-side calls (in which case they represent the trailing metadata sent by the server when closing the call). - Instances of RpcException thrown by the server-side part of the stack will have trailers always set to empty. - - - - - Provides storage for payload when serializing a message. - - - - - Use the byte array as serialized form of current message and mark serialization process as complete. - Complete(byte[]) can only be called once. By calling this method the caller gives up the ownership of the - payload which must not be accessed afterwards. - - the serialized form of current message - - - - Gets buffer writer that can be used to write the serialized data. Once serialization is finished, - Complete() needs to be called. - - - - - Sets the payload length when writing serialized data into a buffer writer. If the serializer knows the full payload - length in advance, providing that information before obtaining the buffer writer using GetBufferWriter() can improve - serialization efficiency by avoiding copies. The provided payload length must be the same as the data written to the writer. - Calling this method is optional. If the payload length is not set then the length is calculated using the data written to - the buffer writer when Complete() is called. - - The total length of the payload in bytes. - - - - Complete the payload written to the buffer writer. Complete() can only be called once. - - - - - Context for a server-side call. - - - - - Creates a new instance of ServerCallContext. - - - - - Asynchronously sends response headers for the current call to the client. This method may only be invoked once for each call and needs to be invoked - before any response messages are written. Writing the first response message implicitly sends empty response headers if WriteResponseHeadersAsync haven't - been called yet. - - The response headers to send. - The task that finished once response headers have been written. - - - - Creates a propagation token to be used to propagate call context to a child call. - - - - Name of method called in this RPC. - - - Name of host called in this RPC. - - - Address of the remote endpoint in URI format. - - - Deadline for this RPC. The call will be automatically cancelled once the deadline is exceeded. - - - Initial metadata sent by client. - - - Cancellation token signals when call is cancelled. It is also triggered when the deadline is exceeeded or there was some other error (e.g. network problem). - - - Trailers to send back to client after RPC finishes. - - - Status to send back to client after RPC finishes. - - - - Allows setting write options for the following write. - For streaming response calls, this property is also exposed as on IServerStreamWriter for convenience. - Both properties are backed by the same underlying value. - - - - - Gets the AuthContext associated with this call. - Note: Access to AuthContext is an experimental API that can change without any prior notice. - - - - - Gets a dictionary that can be used by the various interceptors and handlers of this - call to store arbitrary state. - - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - Provides implementation of a non-virtual public member. - - - - Server-side handler for unary call. - - Request message type for this method. - Response message type for this method. - - - - Server-side handler for client streaming call. - - Request message type for this method. - Response message type for this method. - - - - Server-side handler for server streaming call. - - Request message type for this method. - Response message type for this method. - - - - Server-side handler for bidi streaming call. - - Request message type for this method. - Response message type for this method. - - - - Stores mapping of methods to server call handlers. - Normally, the ServerServiceDefinition objects will be created by the BindService factory method - that is part of the autogenerated code for a protocol buffers service definition. - - - - - Forwards all the previously stored AddMethod calls to the service binder. - - - - - Creates a new builder object for ServerServiceDefinition. - - The builder object. - - - - Builder class for . - - - - - Creates a new instance of builder. - - - - - Adds a definition for a single request - single response method. - - The request message class. - The response message class. - The method. - The method handler. - This builder instance. - - - - Adds a definition for a client streaming method. - - The request message class. - The response message class. - The method. - The method handler. - This builder instance. - - - - Adds a definition for a server streaming method. - - The request message class. - The response message class. - The method. - The method handler. - This builder instance. - - - - Adds a definition for a bidirectional streaming method. - - The request message class. - The response message class. - The method. - The method handler. - This builder instance. - - - - Creates an immutable ServerServiceDefinition from this builder. - - The ServerServiceDefinition object. - - - - Allows binding server-side method implementations in alternative serving stacks. - Instances of this class are usually populated by the BindService method - that is part of the autogenerated code for a protocol buffers service definition. - - - - - Adds a definition for a single request - single response method. - - The request message class. - The response message class. - The method. - The method handler. - - - - Adds a definition for a client streaming method. - - The request message class. - The response message class. - The method. - The method handler. - - - - Adds a definition for a server streaming method. - - The request message class. - The response message class. - The method. - The method handler. - - - - Adds a definition for a bidirectional streaming method. - - The request message class. - The response message class. - The method. - The method handler. - - - - Callback invoked with the expected targetHost and the peer's certificate. - If false is returned by this callback then it is treated as a - verification failure and the attempted connection will fail. - Invocation of the callback is blocking, so any - implementation should be light-weight. - Note that the callback can potentially be invoked multiple times, - concurrently from different threads (e.g. when multiple connections - are being created for the same credentials). - - The associated with the callback - true if verification succeeded, false otherwise. - Note: experimental API that can change or be removed without any prior notice. - - - - Client-side SSL credentials. - - - - - Creates client-side SSL credentials loaded from - disk file pointed to by the GRPC_DEFAULT_SSL_ROOTS_FILE_PATH environment variable. - If that fails, gets the roots certificates from a well known place on disk. - - - - - Creates client-side SSL credentials from - a string containing PEM encoded root certificates. - - - - - Creates client-side SSL credentials. - - string containing PEM encoded server root certificates. - a key certificate pair. - - - - Creates client-side SSL credentials. - - string containing PEM encoded server root certificates. - a key certificate pair. - a callback to verify peer's target name and certificate. - Note: experimental API that can change or be removed without any prior notice. - - - - PEM encoding of the server root certificates. - - - - - Client side key and certificate pair. - If null, client will not use key and certificate pair. - - - - - Populates channel credentials configurator with this instance's configuration. - End users never need to invoke this method as it is part of internal implementation. - - - - - Represents RPC result, which consists of and an optional detail string. - - - - - Default result of a successful RPC. StatusCode=OK, empty details message. - - - - - Default result of a cancelled RPC. StatusCode=Cancelled, empty details message. - - - - - Creates a new instance of Status. - - Status code. - Detail. - - - - Gets the gRPC status code. OK indicates success, all other values indicate an error. - - - - - Gets the detail. - - - - - Returns a that represents the current . - - - - - Result of a remote procedure call. - Based on grpc_status_code from grpc/status.h - - - - Not an error; returned on success. - - - The operation was cancelled (typically by the caller). - - - - Unknown error. An example of where this error may be returned is - if a Status value received from another address space belongs to - an error-space that is not known in this address space. Also - errors raised by APIs that do not return enough error information - may be converted to this error. - - - - - Client specified an invalid argument. Note that this differs - from FAILED_PRECONDITION. INVALID_ARGUMENT indicates arguments - that are problematic regardless of the state of the system - (e.g., a malformed file name). - - - - - Deadline expired before operation could complete. For operations - that change the state of the system, this error may be returned - even if the operation has completed successfully. For example, a - successful response from a server could have been delayed long - enough for the deadline to expire. - - - - Some requested entity (e.g., file or directory) was not found. - - - Some entity that we attempted to create (e.g., file or directory) already exists. - - - - The caller does not have permission to execute the specified - operation. PERMISSION_DENIED must not be used for rejections - caused by exhausting some resource (use RESOURCE_EXHAUSTED - instead for those errors). PERMISSION_DENIED must not be - used if the caller can not be identified (use UNAUTHENTICATED - instead for those errors). - - - - The request does not have valid authentication credentials for the operation. - - - - Some resource has been exhausted, perhaps a per-user quota, or - perhaps the entire file system is out of space. - - - - - Operation was rejected because the system is not in a state - required for the operation's execution. For example, directory - to be deleted may be non-empty, an rmdir operation is applied to - a non-directory, etc. - - - - - The operation was aborted, typically due to a concurrency issue - like sequencer check failures, transaction aborts, etc. - - - - - Operation was attempted past the valid range. E.g., seeking or - reading past end of file. - - - - Operation is not implemented or not supported/enabled in this service. - - - - Internal errors. Means some invariants expected by underlying - system has been broken. If you see one of these errors, - something is very broken. - - - - - The service is currently unavailable. This is a most likely a - transient condition and may be corrected by retrying with - a backoff. Note that it is not always safe to retry - non-idempotent operations. - - - - Unrecoverable data loss or corruption. - - - - Converts byte* pointing to an encoded byte array to a string using the provided Encoding. - - - - - Converts IntPtr pointing to a encoded byte array to a string using the provided Encoding. - - - - - Utility methods to simplify checking preconditions in the code. - - - - - Throws if condition is false. - - The condition. - - - - Throws with given message if condition is false. - - The condition. - The error message. - - - - Throws if reference is null. - - The reference. - - - - Throws if reference is null. - - The reference. - The parameter name. - - - - Throws if condition is false. - - The condition. - - - - Throws with given message if condition is false. - - The condition. - The error message. - - - - Verification context for VerifyPeerCallback. - Note: experimental API that can change or be removed without any prior notice. - - - - - Initializes a new instance of the class. - - The target name of the peer. - The PEM encoded certificate of the peer. - - - - The target name of the peer. - - - - - The PEM encoded certificate of the peer. - - - - - Provides info about current version of gRPC. - See https://codingforsmarties.wordpress.com/2016/01/21/how-to-version-assemblies-destined-for-nuget/ - for rationale about assembly versioning. - - - - - Current AssemblyVersion attribute of gRPC C# assemblies - - - - - Current AssemblyFileVersion of gRPC C# assemblies - - - - - Current version of gRPC C# - - - - - Flags for write operations. - - - - - Hint that the write may be buffered and need not go out on the wire immediately. - gRPC is free to buffer the message until the next non-buffered - write, or until write stream completion, but it need not buffer completely or at all. - - - - - Force compression to be disabled for a particular write. - - - - - Options for write operations. - - - - - Default write options. - - - - - Initializes a new instance of WriteOptions class. - - The write flags. - - - - Gets the write flags. - - - - diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.xml.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.xml.meta deleted file mode 100644 index 4cbb443b8..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.xml.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 0a4fb8823a783423880c9d8c9d3b5cf4 -timeCreated: 1531219386 -licenseType: Free -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib.meta deleted file mode 100644 index 7943c131c..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 1f862d451f11a2442aeac99ad2827285 -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib/net45.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib/net45.meta deleted file mode 100644 index 95fcbbd9e..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib/net45.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 89bdbe2a1282d4e40ba11e96b1481d09 -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll deleted file mode 100755 index 54f1a072b..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll.meta deleted file mode 100644 index ee32a9072..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll.meta +++ /dev/null @@ -1,32 +0,0 @@ -fileFormatVersion: 2 -guid: 63fdcd70d29d1dc49b4e61e22a9e96e1 -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 1 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 0 - settings: - CPU: AnyCPU - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml deleted file mode 100644 index 96aa0ba40..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml +++ /dev/null @@ -1,2173 +0,0 @@ - - - - Grpc.Core - - - - - Details about a client-side call to be invoked. - - Request message type for the call. - Response message type for the call. - - - - Initializes a new instance of the struct. - - Channel to use for this call. - Method to call. - Call options. - - - - Initializes a new instance of the struct. - - Channel to use for this call. - Method to call. - Host that contains the method. if null, default host will be used. - Call options. - - - - Initializes a new instance of the struct. - - Channel to use for this call. - Qualified method name. - Host that contains the method. - Request marshaller. - Response marshaller. - Call options. - - - - Get channel associated with this call. - - - - - Gets name of method to be called. - - - - - Get name of host. - - - - - Gets marshaller used to serialize requests. - - - - - Gets marshaller used to deserialized responses. - - - - - Gets the call options. - - - - - Returns new instance of with - Options set to the value provided. Values of all other fields are preserved. - - - - - Helper methods for generated clients to make RPC calls. - Most users will use this class only indirectly and will be - making calls using client object generated from protocol - buffer definition files. - - - - - Invokes a simple remote call in a blocking fashion. - - The response. - The call definition. - Request message. - Type of request message. - The of response message. - - - - Invokes a simple remote call asynchronously. - - An awaitable call object providing access to the response. - The call definition. - Request message. - Type of request message. - The of response message. - - - - Invokes a server streaming call asynchronously. - In server streaming scenario, client sends on request and server responds with a stream of responses. - - A call object providing access to the asynchronous response stream. - The call definition. - Request message. - Type of request message. - The of response messages. - - - - Invokes a client streaming call asynchronously. - In client streaming scenario, client sends a stream of requests and server responds with a single response. - - The call definition. - An awaitable call object providing access to the response. - Type of request messages. - The of response message. - - - - Invokes a duplex streaming call asynchronously. - In duplex streaming scenario, client sends a stream of requests and server responds with a stream of responses. - The response stream is completely independent and both side can be sending messages at the same time. - - A call object providing access to the asynchronous request and response streams. - The call definition. - Type of request messages. - Type of responsemessages. - - - - Represents a gRPC channel. Channels are an abstraction of long-lived connections to remote servers. - More client objects can reuse the same channel. Creating a channel is an expensive operation compared to invoking - a remote call so in general you should reuse a single channel for as many calls as possible. - - - - - Creates a channel that connects to a specific host. - Port will default to 80 for an unsecure channel and to 443 for a secure channel. - - Target of the channel. - Credentials to secure the channel. - - - - Creates a channel that connects to a specific host. - Port will default to 80 for an unsecure channel or to 443 for a secure channel. - - Target of the channel. - Credentials to secure the channel. - Channel options. - - - - Creates a channel that connects to a specific host and port. - - The name or IP address of the host. - The port. - Credentials to secure the channel. - - - - Creates a channel that connects to a specific host and port. - - The name or IP address of the host. - The port. - Credentials to secure the channel. - Channel options. - - - - Gets current connectivity state of this channel. - After channel has been shutdown, ChannelState.Shutdown will be returned. - - - - - Returned tasks completes once channel state has become different from - given lastObservedState. - If deadline is reached or an error occurs, returned task is cancelled. - - - - - Returned tasks completes once channel state has become different from - given lastObservedState (true is returned) or if the wait has timed out (false is returned). - - - - Resolved address of the remote endpoint in URI format. - - - - Returns a token that gets cancelled once ShutdownAsync is invoked. - - - - - Allows explicitly requesting channel to connect without starting an RPC. - Returned task completes once state Ready was seen. If the deadline is reached, - or channel enters the Shutdown state, the task is cancelled. - There is no need to call this explicitly unless your use case requires that. - Starting an RPC on a new channel will request connection implicitly. - - The deadline. null indicates no deadline. - - - Provides implementation of a non-virtual public member. - - - - Create a new for the channel. - - A new . - - - - Channel option specified when creating a channel. - Corresponds to grpc_channel_args from grpc/grpc.h. - Commonly used channel option names are defined in ChannelOptions, - but any of the GRPC_ARG_* channel options names defined in grpc_types.h can be used. - - - - - Type of ChannelOption. - - - - - Channel option with integer value. - - - - - Channel option with string value. - - - - - Creates a channel option with a string value. - - Name. - String value. - - - - Creates a channel option with an integer value. - - Name. - Integer value. - - - - Gets the type of the ChannelOption. - - - - - Gets the name of the ChannelOption. - - - - - Gets the integer value the ChannelOption. - - - - - Gets the string value the ChannelOption. - - - - - Determines whether the specified object is equal to the current object. - - - - - Determines whether the specified object is equal to the current object. - - - - - A hash code for the current object. - - - - - Equality operator. - - - - - Inequality operator. - - - - - Defines names of most commonly used channel options. - Other supported options names can be found in grpc_types.h (GRPC_ARG_* definitions) - - - - Override SSL target check. Only to be used for testing. - - - Enable census for tracing and stats collection - - - Maximum number of concurrent incoming streams to allow on a http2 connection - - - Maximum message length that the channel can receive - - - Maximum message length that the channel can send - - - Obsolete, for backward compatibility only. - - - Initial sequence number for http2 transports - - - Default authority for calls. - - - Primary user agent: goes at the start of the user-agent metadata - - - Secondary user agent: goes at the end of the user-agent metadata - - - If non-zero, allow the use of SO_REUSEPORT for server if it's available (default 1) - - - - Creates native object for a collection of channel options. - - The native channel arguments. - - - - Connectivity state of a channel. - Based on grpc_connectivity_state from grpc/grpc.h - - - - - Channel is idle - - - - - Channel is connecting - - - - - Channel is ready for work - - - - - Channel has seen a failure but expects to recover - - - - - Channel has seen a failure that it cannot recover from - - - - - Compression level based on grpc_compression_level from grpc/compression.h - - - - - No compression. - - - - - Low compression. - - - - - Medium compression. - - - - - High compression. - - - - - Invokes client RPCs using . - - - - - Initializes a new instance of the class. - - Channel to use. - - - - Invokes a simple remote call in a blocking fashion. - - - - - Invokes a simple remote call asynchronously. - - - - - Invokes a server streaming call asynchronously. - In server streaming scenario, client sends on request and server responds with a stream of responses. - - - - - Invokes a client streaming call asynchronously. - In client streaming scenario, client sends a stream of requests and server responds with a single response. - - - - - Invokes a duplex streaming call asynchronously. - In duplex streaming scenario, client sends a stream of requests and server responds with a stream of responses. - The response stream is completely independent and both side can be sending messages at the same time. - - - - Creates call invocation details for given method. - - - - Encapsulates initialization and shutdown of gRPC library. - - - - - Returns a reference-counted instance of initialized gRPC environment. - Subsequent invocations return the same instance unless reference count has dropped to zero previously. - - - - - Decrements the reference count for currently active environment and asynchronously shuts down the gRPC environment if reference count drops to zero. - - - - - Requests shutdown of all channels created by the current process. - - - - - Requests immediate shutdown of all servers created by the current process. - - - - - Gets application-wide logger used by gRPC. - - The logger. - - - - Sets the application-wide logger that should be used by gRPC. - - - - - Sets the number of threads in the gRPC thread pool that polls for internal RPC events. - Can be only invoked before the GrpcEnviroment is started and cannot be changed afterwards. - Setting thread pool size is an advanced setting and you should only use it if you know what you are doing. - Most users should rely on the default value provided by gRPC library. - Note: this method is part of an experimental API that can change or be removed without any prior notice. - - - - - Sets the number of completion queues in the gRPC thread pool that polls for internal RPC events. - Can be only invoked before the GrpcEnviroment is started and cannot be changed afterwards. - Setting the number of completions queues is an advanced setting and you should only use it if you know what you are doing. - Most users should rely on the default value provided by gRPC library. - Note: this method is part of an experimental API that can change or be removed without any prior notice. - - - - - By default, gRPC's internal event handlers get offloaded to .NET default thread pool thread (inlineHandlers=false). - Setting inlineHandlers to true will allow scheduling the event handlers directly to - GrpcThreadPool internal threads. That can lead to significant performance gains in some situations, - but requires user to never block in async code (incorrectly written code can easily lead to deadlocks). - Inlining handlers is an advanced setting and you should only use it if you know what you are doing. - Most users should rely on the default value provided by gRPC library. - Note: this method is part of an experimental API that can change or be removed without any prior notice. - Note: inlineHandlers=true was the default in gRPC C# v1.4.x and earlier. - - - - - Sets the parameters for a pool that caches batch context instances. Reusing batch context instances - instead of creating a new one for every C core operation helps reducing the GC pressure. - Can be only invoked before the GrpcEnviroment is started and cannot be changed afterwards. - This is an advanced setting and you should only use it if you know what you are doing. - Most users should rely on the default value provided by gRPC library. - Note: this method is part of an experimental API that can change or be removed without any prior notice. - - - - - Sets the parameters for a pool that caches request call context instances. Reusing request call context instances - instead of creating a new one for every requested call in C core helps reducing the GC pressure. - Can be only invoked before the GrpcEnviroment is started and cannot be changed afterwards. - This is an advanced setting and you should only use it if you know what you are doing. - Most users should rely on the default value provided by gRPC library. - Note: this method is part of an experimental API that can change or be removed without any prior notice. - - - - - Occurs when GrpcEnvironment is about the start the shutdown logic. - If GrpcEnvironment is later initialized and shutdown, the event will be fired again (unless unregistered first). - - - - - Creates gRPC environment. - - - - - Gets the completion queues used by this gRPC environment. - - - - - Picks a completion queue in a round-robin fashion. - Shouldn't be invoked on a per-call basis (used at per-channel basis). - - - - - Gets the completion queue used by this gRPC environment. - - - - - Gets version of gRPC C core. - - - - - Shuts down this environment. - - - - - Handler for AppDomain.DomainUnload, AppDomain.ProcessExit and AssemblyLoadContext.Unloading hooks. - - - - - Extends the ServerServiceDefinition class to add methods used to register interceptors on the server side. - - - - - Returns a instance that - intercepts incoming calls to the underlying service handler through the given interceptor. - - The instance to register interceptors on. - The interceptor to intercept the incoming invocations with. - - Multiple interceptors can be added on top of each other by calling - "serverServiceDefinition.Intercept(a, b, c)". The order of invocation will be "a", "b", and then "c". - Interceptors can be later added to an existing intercepted service definition, effectively - building a chain like "serverServiceDefinition.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Returns a instance that - intercepts incoming calls to the underlying service handler through the given interceptors. - - The instance to register interceptors on. - - An array of interceptors to intercept the incoming invocations with. - Control is passed to the interceptors in the order specified. - - - Multiple interceptors can be added on top of each other by calling - "serverServiceDefinition.Intercept(a, b, c)". The order of invocation will be "a", "b", and then "c". - Interceptors can be later added to an existing intercepted service definition, effectively - building a chain like "serverServiceDefinition.Intercept(c).Intercept(b).Intercept(a)". Note that - in this case, the last interceptor added will be the first to take control. - - - - - Helper for creating ServerServiceDefinition with intercepted handlers. - - - - - Manages client side native call lifecycle. - - - - - This constructor should only be used for testing. - - - - - Blocking unary request - unary response call. - - - - - Starts a unary request - unary response call. - - - - - Starts a streamed request - unary response call. - Use StartSendMessage and StartSendCloseFromClient to stream requests. - - - - - Starts a unary request - streamed response call. - - - - - Starts a streaming request - streaming response call. - Use StartSendMessage and StartSendCloseFromClient to stream requests. - - - - - Sends a streaming request. Only one pending send action is allowed at any given time. - - - - - Receives a streaming response. Only one pending read action is allowed at any given time. - - - - - Sends halfclose, indicating client is done with streaming requests. - Only one pending send action is allowed at any given time. - - - - - Get the task that completes once if streaming response call finishes with ok status and throws RpcException with given status otherwise. - - - - - Get the task that completes once response headers are received. - - - - - Gets the resulting status if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Gets the trailing metadata if the call has already finished. - Throws InvalidOperationException otherwise. - - - - - Gets WriteFlags set in callDetails.Options.WriteOptions - - - - - Handles receive status completion for calls with streaming response. - - - - - Handler for unary response completion. - - - - - Handles receive status completion for calls with streaming response. - - - - - Base for handling both client side and server side calls. - Manages native call lifecycle and provides convenience methods. - - - - - Requests cancelling the call. - - - - - Requests cancelling the call with given status. - - - - - Initiates sending a message. Only one send operation can be active at a time. - - - - - Initiates reading a message. Only one read operation can be active at a time. - - - - - If there are no more pending actions and no new actions can be started, releases - the underlying native resources. - - - - - Returns an exception to throw for a failed send operation. - It is only allowed to call this method for a call that has already finished. - - - - - Checks if sending is allowed and possibly returns a Task that allows short-circuiting the send - logic by directly returning the write operation result task. Normally, null is returned. - - - - - Handles send completion (including SendCloseFromClient). - - - - - Handles send status from server completion. - - - - - Handles streaming read completion. - - - - - Manages server side native call lifecycle. - - - - - Only for testing purposes. - - - - - Starts a server side call. - - - - - Sends a streaming response. Only one pending send action is allowed at any given time. - - - - - Receives a streaming request. Only one pending read action is allowed at any given time. - - - - - Initiates sending a initial metadata. - Even though C-core allows sending metadata in parallel to sending messages, we will treat sending metadata as a send message operation - to make things simpler. - - - - - Sends call result status, indicating we are done with writes. - Sending a status different from StatusCode.OK will also implicitly cancel the call. - - - - - Gets cancellation token that gets cancelled once close completion - is received and the cancelled flag is set. - - - - - Handles the server side close completion. - - - - - grpc_auth_context - - - - - Copies contents of the native auth context into a new AuthContext instance. - - - - - grpc_auth_property - - - - - grpc_auth_property_iterator - - - - - grpcsharp_batch_context - - - - - grpc_call_credentials from grpc/grpc_security.h - - - - - grpc_call_error from grpc/grpc.h - - - - - Checks the call API invocation's result is OK. - - - - - Returns a new instance of with - all previously unset values set to their defaults and deadline and cancellation - token propagated when appropriate. - - - - - grpc_call from grpc/grpc.h - - - - - Only for testing. - - - - - grpc_channel_args from grpc/grpc.h - - - - - grpc_channel_credentials from grpc/grpc_security.h - - - - - grpc_channel from grpc/grpc.h - - - - - Writes requests asynchronously to an underlying AsyncCall object. - - - - - Status + metadata received on client side when call finishes. - (when receive_status_on_client operation finishes). - - - - - gpr_clock_type from grpc/support/time.h - - - - - grpc_event from grpc/grpc.h - - - - - grpc_completion_type from grpc/grpc.h - - - - - grpc_completion_queue from grpc/grpc.h - - - - - Create a completion queue that can only be used for Pluck operations. - - - - - Create a completion queue that can only be used for Next operations. - - - - - Creates a new usage scope for this completion queue. Once successfully created, - the completion queue won't be shutdown before scope.Dispose() is called. - - - - - Completion registry associated with this completion queue. - Doesn't need to be set if only using Pluck() operations. - - - - - For testing purposes only. NOT threadsafe. - - - - - IntPtr doesn't implement IEquatable{IntPtr} so we need to use custom comparer to avoid boxing. - - - - - Context propagation flags from grpc/grpc.h. - - - - - Implementation of ContextPropagationToken that carries - all fields needed for context propagation by C-core based implementation of gRPC. - Instances of ContextPropagationToken that are not of this - type will be recognized as "foreign" and will be silently ignored - (treated as if null). - - - - - Default propagation mask used by C core. - - - - - Default propagation mask used by C# - we want to propagate deadline - and cancellation token by our own means, everything else will be propagated - by C core automatically (according to DefaultCoreMask). - - - - - Gets the native handle of the parent call. - - - - - Gets the parent call's deadline. - - - - - Gets the parent call's cancellation token. - - - - - Get the context propagation options. - - - - - Converts given ContextPropagationToken to ContextPropagationTokenImpl - if possible or returns null. - Being able to convert means that the context propagation token is recognized as - "ours" (was created by this implementation). - - - - - Owned char* object. - - - - - Checks the debug stats and take action for any inconsistency found. - - - - - Creates native call credential objects from instances of CallCredentials. - - - - - Creates native object for the credentials. - - The native credentials. - - - - Creates native call credential objects from instances of ChannelCredentials. - - - - - Creates native object for the credentials. - - The native credentials. - - - - Pool of objects that combines a shared pool and a thread local pool. - - - - - Initializes a new instance of DefaultObjectPool with given shared capacity and thread local capacity. - Thread local capacity should be significantly smaller than the shared capacity as we don't guarantee immediately - disposing the objects in the thread local pool after this pool is disposed (they will eventually be garbage collected - after the thread that owns them has finished). - On average, the shared pool will only be accessed approx. once for every threadLocalCapacity / 2 rent or lease - operations. - - - - - Leases an item from the pool or creates a new instance if the pool is empty. - Attempts to retrieve the item from the thread local pool first. - If the thread local pool is empty, the item is taken from the shared pool - along with more items that are moved to the thread local pool to avoid - prevent acquiring the lock for shared pool too often. - The methods should not be called after the pool is disposed, but it won't - results in an error to do so (after depleting the items potentially left - in the thread local pool, it will continue returning new objects created by the factory). - - - - - Returns an item to the pool. - Attempts to add the item to the thread local pool first. - If the thread local pool is full, item is added to a shared pool, - along with half of the items for the thread local pool, which - should prevent acquiring the lock for shared pool too often. - If called after the pool is disposed, we make best effort not to - add anything to the thread local pool and we guarantee not to add - anything to the shared pool (items will be disposed instead). - - - - - Expose serializer as buffer writer - - - - - Complete the payload written so far. - - - - - Overrides the content of default SSL roots. - - - - - Overrides C core's default roots with roots.pem loaded as embedded resource. - - - - - Pool of threads polling on a set of completions queues. - - - - - Creates a thread pool threads polling on a set of completions queues. - - Environment. - Pool size. - Completion queue count. - Handler inlining. - - - - Returns true if there is at least one thread pool thread that hasn't - already stopped. - Threads can either stop because all completion queues shut down or - because all foreground threads have already shutdown and process is - going to exit. - - - - - Body of the polling thread. - - - - - Abstraction of a native call object. - - - - - Pool of objects. - - - - - An object that can be pooled in IObjectPool. - - - - - - Set the action that will be invoked to return a leased object to the pool. - - - - - Exposes non-generic members of ServerReponseStream. - - - - - Asynchronously sends response headers for the current call to the client. See ServerCallContext.WriteResponseHeadersAsync for exact semantics. - - - - - Gets or sets the write options. - - - - - Useful methods for native/managed marshalling. - - - - - Converts IntPtr pointing to a UTF-8 encoded byte array to string. - - - - - UTF-8 encodes the given string into a buffer of sufficient size - - - - - Returns the maximum number of bytes required to encode a given string. - - - - - Returns the actual number of bytes required to encode a given string. - - - - - grpc_metadata_array from grpc/grpc.h - - - - - Reads metadata from pointer to grpc_metadata_array - - - - - Use this attribute to mark methods that will be called back from P/Invoke calls. - iOS (and probably other AOT platforms) needs to have delegates registered. - Instead of depending on Xamarin.iOS for this, we can just create our own, - the iOS runtime just checks for the type name. - See: https://docs.microsoft.com/en-gb/xamarin/ios/internals/limitations#reverse-callbacks - - - - - Takes care of loading C# native extension and provides access to PInvoke calls the library exports. - - - - - Gets singleton instance of this class. - The native extension is loaded when called for the first time. - - - - - Provides access to the exported native methods. - - - - - Detects which configuration of native extension to load and load it. - - - - - Loads native extension and return native methods delegates. - - - - - Return native method delegates when running on Unity platform. - Unity does not use standard NuGet packages and the native library is treated - there as a "native plugin" which is (provided it has the right metadata) - automatically made available to [DllImport] loading logic. - WARNING: Unity support is experimental and work-in-progress. Don't expect it to work. - - - - - Return native method delegates when running on the Xamarin platform. - WARNING: Xamarin support is experimental and work-in-progress. Don't expect it to work. - - - - - Logs from gRPC C core library can get lost if your application is not a console app. - This class allows redirection of logs to gRPC logger. - - - - - Redirects logs from native gRPC C core library to a general logger. - - - - - Provides access to all native methods provided by NativeExtension. - An extra level of indirection is added to P/Invoke calls to allow intelligent loading - of the right configuration of the native extension based on current platform, architecture etc. - - - - - Gets singleton instance of this class. - - - - - Delegate types for all published native methods. Declared under inner class to prevent scope pollution. - - - - - grpc_csharp_ext used as a static library (e.g Unity iOS). - - - - - grpc_csharp_ext used a shared library (e.g on Unity Standalone and Android). - - - - - Utility methods for detecting platform and architecture. - - - - - true if running on Unity platform. - - - - - true if running on Unity iOS, false otherwise. - - - - - true if running on a Xamarin platform (either Xamarin.Android or Xamarin.iOS), - false otherwise. - - - - - true if running on Xamarin.iOS, false otherwise. - - - - - true if running on Xamarin.Android, false otherwise. - - - - - true if running on .NET Core (CoreCLR), false otherwise. - - - - - Returns UnityEngine.Application.platform as a string. - See https://docs.unity3d.com/ScriptReference/Application-platform.html for possible values. - Value is obtained via reflection to avoid compile-time dependency on Unity. - This method should only be called if IsUnity is true. - - - - - grpcsharp_request_call_context - - - - - Safe handle to wrap native objects. - - - - - Handler used for unimplemented method. - - - - - grpc_server_credentials from grpc/grpc_security.h - - - - - Writes responses asynchronously to an underlying AsyncCallServer object. - - - - - Details of a newly received RPC. - - - - - grpc_server from grpc/grpc.h - - - - - Maps methods from ServerServiceDefinition to server call handlers. - - - - - Helper for converting ServerServiceDefinition to server call handlers. - - - - - Slice of native memory. - Rough equivalent of grpc_slice (but doesn't support inlined slices, just a pointer to data and length) - - - - - Returns a that represents the current . - - - - - Represents grpc_slice_buffer with some extra utility functions to allow - writing data to it using the IBufferWriter interface. - - - - - gpr_timespec from grpc/support/time.h - - - - - Indicates whether this instance and a specified object are equal. - - - - - Returns the hash code for this instance. - - - - - Returns the full type name of this instance. - - - - - Indicates whether this instance and a specified object are equal. - - - - - Timespec a long time in the future. - - - - - Timespec a long time in the past. - - - - - Return Timespec representing the current time. - - - - - Seconds since unix epoch. - - - - - The nanoseconds part of timeval. - - - - - Converts the timespec to desired clock type. - - - - - Converts Timespec to DateTime. - Timespec needs to be of type GPRClockType.Realtime and needs to represent a legal value. - DateTime has lower resolution (100ns), so rounding can occurs. - Value are always rounded up to the nearest DateTime value in the future. - - For Timespec.InfFuture or if timespec is after the largest representable DateTime, DateTime.MaxValue is returned. - For Timespec.InfPast or if timespec is before the lowest representable DateTime, DateTime.MinValue is returned. - - Unless DateTime.MaxValue or DateTime.MinValue is returned, the resulting DateTime is always in UTC - (DateTimeKind.Utc) - - - - - Creates DateTime to Timespec. - DateTime has to be in UTC (DateTimeKind.Utc) unless it's DateTime.MaxValue or DateTime.MinValue. - For DateTime.MaxValue of date time after the largest representable Timespec, Timespec.InfFuture is returned. - For DateTime.MinValue of date time before the lowest representable Timespec, Timespec.InfPast is returned. - - The date time. - Date time. - - - - Gets current timestamp using GPRClockType.Precise. - Only available internally because core needs to be compiled with - GRPC_TIMERS_RDTSC support for this to use RDTSC. - - - - - Call invoker that throws NotImplementedException for all requests. - - - - - Represents a dynamically loaded unmanaged library in a (partially) platform independent manner. - First, the native library is loaded using dlopen (on Unix systems) or using LoadLibrary (on Windows). - dlsym or GetProcAddress are then used to obtain symbol addresses. Marshal.GetDelegateForFunctionPointer - transforms the addresses into delegates to native methods. - See http://stackoverflow.com/questions/13461989/p-invoke-to-dynamically-loaded-library-on-mono. - - - - - Loads symbol in a platform specific way. - - - - - - - Loads library in a platform specific way. - - - - - On Linux systems, using dlopen and dlsym results in - DllNotFoundException("libdl.so not found") if libc6-dev - is not installed. As a workaround, we load symbols for - dlopen and dlsym from the current process as on Linux - Mono sure is linked against these symbols. - - - - - Similarly as for Mono on Linux, we load symbols for - dlopen and dlsym from the "libcoreclr.so", - to avoid the dependency on libc-dev Linux. - - - - - Utility type for identifying "well-known" strings (i.e. headers/keys etc that - we expect to see frequently, and don't want to allocate lots of copies of) - - - - - Test whether the provided byte sequence is recognized as a well-known string; if - so, return a shared instance of that string; otherwise, return null - - - - - Test whether the provided byte sequence is recognized as a well-known string; if - so, return a shared instance of that string; otherwise, return null - - - - - Default implementation of ServerCallContext. - - - - - Creates a new instance of ServerCallContext. - To allow reuse of ServerCallContext API by different gRPC implementations, the implementation of some members is provided externally. - To provide state, this ServerCallContext instance and extraData will be passed to the member implementations. - - - - Logger that logs to System.Console. - - - Creates a console logger not associated to any specific type. - - - Creates a console logger that logs messsage specific for given type. - - - - Returns a logger associated with the specified type. - - - - For logging messages. - - - Returns a logger associated with the specified type. - - - Logs a message with severity Debug. - - - Logs a formatted message with severity Debug. - - - Logs a message with severity Info. - - - Logs a formatted message with severity Info. - - - Logs a message with severity Warning. - - - Logs a formatted message with severity Warning. - - - Logs a message and an associated exception with severity Warning. - - - Logs a message with severity Error. - - - Logs a formatted message with severity Error. - - - Logs a message and an associated exception with severity Error. - - - Standard logging levels. - - - - Debug severity. - - - - - Info severity. - - - - - Warning severity. - - - - - Error severity. - - - - - Logging is off. - - - - Logger that filters out messages below certain log level. - - - - Creates and instance of LogLevelFilter. - - - - - Creates and instance of LogLevelFilter. - The fromEnvironmentVariable parameter allows looking up "GRPC_VERBOSITY" setting provided by C-core - and uses the same log level for C# logs. Using this setting is recommended as it can prevent unintentionally hiding - C core logs requested by "GRPC_VERBOSITY" environment variable (which could happen if C# logger's log level was set to a more restrictive value). - - the logger to forward filtered logs to. - the default log level, unless overriden by env variable. - if true, override log level with setting from environment variable. - - - - Returns a logger associated with the specified type. - - - - Logs a message with severity Debug. - - - Logs a formatted message with severity Debug. - - - Logs a message with severity Info. - - - Logs a formatted message with severity Info. - - - Logs a message with severity Warning. - - - Logs a formatted message with severity Warning. - - - Logs a message and an associated exception with severity Warning. - - - Logs a message with severity Error. - - - Logs a formatted message with severity Error. - - - Logs a message and an associated exception with severity Error. - - - Get log level based on a default and lookup of GRPC_VERBOSITY environment variable. - - - - Logger which doesn't log any information anywhere. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - Returns a reference to the instance on which the method is called, as - instances aren't associated with specific types. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - - As with all logging calls on this logger, this method is a no-op. - - - - Logger that logs to an arbitrary System.IO.TextWriter. - - - - Creates a console logger not associated to any specific type and writes to given System.IO.TextWriter. - User is responsible for providing an instance of TextWriter that is thread-safe. - - - - - Creates a console logger not associated to any specific type and writes to a System.IO.TextWriter obtained from given provider. - User is responsible for providing an instance of TextWriter that is thread-safe. - - - - Creates a console logger that logs messsage specific for given type. - - - - Returns a logger associated with the specified type. - - - - Logs a message with severity Debug. - - - Logs a formatted message with severity Debug. - - - Logs a message with severity Info. - - - Logs a formatted message with severity Info. - - - Logs a message with severity Warning. - - - Logs a formatted message with severity Warning. - - - Logs a message and an associated exception with severity Warning. - - - Logs a message with severity Error. - - - Logs a formatted message with severity Error. - - - Logs a message and an associated exception with severity Error. - - - Gets the type associated with this logger. - - - - gRPC server. A single server can serve an arbitrary number of services and can listen on more than one port. - - - - - Creates a new server. - - - - - Creates a new server. - - Channel options. - - - - Services that will be exported by the server once started. Register a service with this - server by adding its definition to this collection. - - - - - Ports on which the server will listen once started. Register a port with this - server by adding its definition to this collection. - - - - - To allow awaiting termination of the server. - - - - - Experimental API. Might anytime change without prior notice. - Number or calls requested via grpc_server_request_call at any given time for each completion queue. - - - - - Starts the server. - Throws IOException if not successful. - - - - - Requests server shutdown and when there are no more calls being serviced, - cleans up used resources. The returned task finishes when shutdown procedure - is complete. - - - It is strongly recommended to shutdown all previously created servers before exiting from the process. - - - - - Requests server shutdown while cancelling all the in-progress calls. - The returned task finishes when shutdown procedure is complete. - - - It is strongly recommended to shutdown all previously created servers before exiting from the process. - - - - - Shuts down the server. - - - - - In case the environment's threadpool becomes dead, the shutdown completion will - never be delivered, but we need to release the environment's handle anyway. - - - - - Adds a service definition. - - - - - Adds a listening port. - - - - - Allows one new RPC call to be received by server. - - - - - Checks that all ports have been bound successfully. - - - - - Selects corresponding handler for given call and handles the call. - - - - - Handles the native callback. - - - - - Handles native callback. - - - - - Collection of service definitions. - - - - - Adds a service definition to the server. This is how you register - handlers for a service with the server. Only call this before Start(). - - - - - Gets enumerator for this collection. - - - - - Collection of server ports. - - - - - Adds a new port on which server should listen. - Only call this before Start(). - The port on which server will be listening. - - - - - Adds a new port on which server should listen. - The port on which server will be listening. - - the host - the port. If zero, an unused port is chosen automatically. - credentials to use to secure this port. - - - - Gets enumerator for this collection. - - - - - Server side credentials. - - - - - Returns instance of credential that provides no security and - will result in creating an unsecure server port with no encryption whatsoever. - - - - - Creates native object for the credentials. - - The native credentials. - - - - Modes of requesting client's SSL certificate by the server. - Corresponds to grpc_ssl_client_certificate_request_type. - - - - - Server does not request client certificate. - The certificate presented by the client is not checked by the server at - all. (A client may present a self signed or signed certificate or not - present a certificate at all and any of those option would be accepted) - - - - - Server requests client certificate but does not enforce that the client - presents a certificate. - If the client presents a certificate, the client authentication is left to - the application (the necessary metadata will be available to the - application via authentication context properties, see grpc_auth_context). - The client's key certificate pair must be valid for the SSL connection to - be established. - - - - - Server requests client certificate but does not enforce that the client - presents a certificate. - If the client presents a certificate, the client authentication is done by - the gRPC framework. (For a successful connection the client needs to either - present a certificate that can be verified against the root certificate - configured by the server or not present a certificate at all) - The client's key certificate pair must be valid for the SSL connection to - be established. - - - - - Server requests client certificate and enforces that the client presents a - certificate. - If the client presents a certificate, the client authentication is left to - the application (the necessary metadata will be available to the - application via authentication context properties, see grpc_auth_context). - The client's key certificate pair must be valid for the SSL connection to - be established. - - - - - Server requests client certificate and enforces that the client presents a - certificate. - The certificate presented by the client is verified by the gRPC framework. - (For a successful connection the client needs to present a certificate that - can be verified against the root certificate configured by the server) - The client's key certificate pair must be valid for the SSL connection to - be established. - - - - - Server-side SSL credentials. - - - - - Creates server-side SSL credentials. - - Key-certificates to use. - PEM encoded client root certificates used to authenticate client. - Deprecated, use clientCertificateRequest overload instead. - - - - Creates server-side SSL credentials. - - Key-certificates to use. - PEM encoded client root certificates used to authenticate client. - Options for requesting and verifying client certificate. - - - - Creates server-side SSL credentials. - This constructor should be used if you do not wish to authenticate the client. - (client certificate won't be requested and checked by the server at all). - - Key-certificates to use. - - - - Key-certificate pairs. - - - - - PEM encoded client root certificates. - - - - - Deprecated. If true, the authenticity of client check will be enforced. - - - - - Mode of requesting certificate from client by the server. - - - - - A port exposed by a server. - - - - - Pass this value as port to have the server choose an unused listening port for you. - Ports added to a server will contain the bound port in their property. - - - - - Creates a new port on which server should listen. - - The port on which server will be listening. - the host - the port. If zero, an unused port is chosen automatically. - credentials to use to secure this port. - - - - Creates a port from an existing ServerPort instance and boundPort value. - - - - The host. - - - The port. - - - The server credentials. - - - - The port actually bound by the server. This is useful if you let server - pick port automatically. - - - - - Extension methods that simplify work with gRPC streaming calls. - - - - - Reads the entire stream and executes an async action for each element. - - - - - Reads the entire stream and creates a list containing all the elements read. - - - - - Writes all elements from given enumerable to the stream. - Completes the stream afterwards unless close = false. - - - - - Writes all elements from given enumerable to the stream. - - - - - Utility methods to run microbenchmarks. - - - - - Runs a simple benchmark preceded by warmup phase. - - - - - Utility methods for task parallel library. - - - - - Framework independent equivalent of Task.CompletedTask. - - - - diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml.meta deleted file mode 100644 index 5bb672132..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: ec9cf7702008ac648af0687c05064f78 -timeCreated: 1531219386 -licenseType: Free -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes.meta deleted file mode 100644 index bab625c12..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 643bdb9ca01174f4eb77e3e15f8324b3 -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android.meta deleted file mode 100644 index a3ecb3140..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: f7f79be62cf24a940be0211dab5d2e5e -folderAsset: yes -timeCreated: 1531220113 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a.meta deleted file mode 100644 index cd533b850..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 47ba39f5fad6b49c5aae011940e9eea2 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a/libgrpc_csharp_ext.so b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a/libgrpc_csharp_ext.so deleted file mode 100644 index d915b258c..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a/libgrpc_csharp_ext.so and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a/libgrpc_csharp_ext.so.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a/libgrpc_csharp_ext.so.meta deleted file mode 100644 index 0d34a3814..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a/libgrpc_csharp_ext.so.meta +++ /dev/null @@ -1,102 +0,0 @@ -fileFormatVersion: 2 -guid: e1f44cc7ecd4244448817ccae6de42a3 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 0 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 1 - settings: - CPU: ARM64 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - AddToEmbeddedBinaries: false - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a.meta deleted file mode 100644 index 5fdf3f409..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: de2aa4d10bc38f54fb8345aca9b21195 -folderAsset: yes -timeCreated: 1531220167 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a/libgrpc_csharp_ext.so b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a/libgrpc_csharp_ext.so deleted file mode 100644 index 322af4a46..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a/libgrpc_csharp_ext.so and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a/libgrpc_csharp_ext.so.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a/libgrpc_csharp_ext.so.meta deleted file mode 100644 index 8ff441d0f..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a/libgrpc_csharp_ext.so.meta +++ /dev/null @@ -1,102 +0,0 @@ -fileFormatVersion: 2 -guid: 04fe0e4dcf310416b991e57c99e5d55f -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 0 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 1 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - AddToEmbeddedBinaries: false - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86.meta deleted file mode 100644 index 4e7acc453..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 800ab3aa15d1b49b19df1caf1315bd3e -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86/libgrpc_csharp_ext.so b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86/libgrpc_csharp_ext.so deleted file mode 100644 index 62b919cda..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86/libgrpc_csharp_ext.so and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86/libgrpc_csharp_ext.so.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86/libgrpc_csharp_ext.so.meta deleted file mode 100644 index c1a6da132..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/android/x86/libgrpc_csharp_ext.so.meta +++ /dev/null @@ -1,102 +0,0 @@ -fileFormatVersion: 2 -guid: 245e3d515096b414fbcdd1fd4160161a -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 0 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 1 - settings: - CPU: x86 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - AddToEmbeddedBinaries: false - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/grpc_csharp_ext_dummy_stubs.c b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/grpc_csharp_ext_dummy_stubs.c deleted file mode 100644 index f304e429b..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/grpc_csharp_ext_dummy_stubs.c +++ /dev/null @@ -1,436 +0,0 @@ - -// Copyright 2019 The gRPC Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// When building for Unity Android with il2cpp backend, Unity tries to link -// the __Internal PInvoke definitions (which are required by iOS) even though -// the .so/.dll will be actually used. This file provides dummy stubs to -// make il2cpp happy. -// See https://github.com/grpc/grpc/issues/16012 - -#include -#include - -void grpcsharp_init() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_shutdown() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_version_string() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_recv_initial_metadata() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_recv_message_length() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_recv_message_next_slice_peek() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_recv_status_on_client_status() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_recv_status_on_client_details() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_recv_status_on_client_trailing_metadata() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_recv_close_on_server_cancelled() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_reset() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_batch_context_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_call() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_method() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_host() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_deadline() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_request_metadata() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_reset() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_request_call_context_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_composite_call_credentials_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_credentials_release() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_cancel() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_cancel_with_status() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_start_unary() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_start_client_streaming() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_start_server_streaming() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_start_duplex_streaming() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_send_message() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_send_close_from_client() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_send_status_from_server() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_recv_message() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_recv_initial_metadata() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_start_serverside() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_send_initial_metadata() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_set_credentials() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_get_peer() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_args_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_args_set_string() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_args_set_integer() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_args_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_override_default_ssl_roots() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_ssl_credentials_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_composite_channel_credentials_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_credentials_release() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_insecure_channel_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_secure_channel_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_create_call() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_check_connectivity_state() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_watch_connectivity_state() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_get_target() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_channel_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_sizeof_grpc_event() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_completion_queue_create_async() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_completion_queue_create_sync() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_completion_queue_shutdown() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_completion_queue_next() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_completion_queue_pluck() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_completion_queue_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void gprsharp_free() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_array_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_array_add() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_array_count() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_array_get_key() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_array_get_value() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_array_destroy_full() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_redirect_log() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_native_callback_dispatcher_init() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_credentials_create_from_plugin() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_metadata_credentials_notify_from_plugin() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_ssl_server_credentials_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_credentials_release() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_register_completion_queue() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_add_insecure_http2_port() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_add_secure_http2_port() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_start() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_request_call() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_cancel_all_calls() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_shutdown_and_notify_callback() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_server_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_call_auth_context() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_auth_context_peer_identity_property_name() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_auth_context_property_iterator() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_auth_property_iterator_next() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_auth_context_release() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_slice_buffer_create() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_slice_buffer_adjust_tail_space() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_slice_buffer_slice_count() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_slice_buffer_slice_peek() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_slice_buffer_reset_and_unref() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_slice_buffer_destroy() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void gprsharp_now() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void gprsharp_inf_future() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void gprsharp_inf_past() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void gprsharp_convert_clock_type() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void gprsharp_sizeof_timespec() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_test_callback() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_test_nop() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_test_override_method() { - fprintf(stderr, "Should never reach here"); - abort(); -} -void grpcsharp_test_call_start_unary_echo() { - fprintf(stderr, "Should never reach here"); - abort(); -} diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/grpc_csharp_ext_dummy_stubs.c.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/grpc_csharp_ext_dummy_stubs.c.meta deleted file mode 100644 index e8ca2dedf..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/grpc_csharp_ext_dummy_stubs.c.meta +++ /dev/null @@ -1,93 +0,0 @@ -fileFormatVersion: 2 -guid: 576b78662f1f8af4fa751f709b620f52 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 0 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude Win: 0 - Exclude Win64: 0 - - first: - Android: Android - second: - enabled: 1 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 1 - settings: - CPU: AnyCPU - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/ios.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/ios.meta deleted file mode 100644 index 56a372b0f..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/ios.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: a5f54f019e6510541ac61eeec96aa82d -folderAsset: yes -timeCreated: 1531456012 -licenseType: Pro -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a deleted file mode 100644 index 37b269972..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a.meta deleted file mode 100644 index 0ecd6da5e..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a.meta +++ /dev/null @@ -1,95 +0,0 @@ -fileFormatVersion: 2 -guid: dde9f75258bae4033a4f778fd1149ccd -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 0 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 1 - settings: - AddToEmbeddedBinaries: false - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a deleted file mode 100644 index 11e1cadca..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a.meta deleted file mode 100644 index cdfdcef12..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: 83f99c0e7db71754ba8927bbfb83c668 -timeCreated: 1531456013 -licenseType: Pro -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 0 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 1 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux.meta deleted file mode 100644 index b2abb490d..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 1ff40de7dc502c14e8893c7679e9f44a -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64.meta deleted file mode 100644 index bac2e3031..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 08ccfdbfbd8d2d6458eb44d41a7b0b0a -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64/libgrpc_csharp_ext.so b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64/libgrpc_csharp_ext.so deleted file mode 100644 index d88f865e7..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64/libgrpc_csharp_ext.so and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64/libgrpc_csharp_ext.so.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64/libgrpc_csharp_ext.so.meta deleted file mode 100644 index 11c5eb863..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x64/libgrpc_csharp_ext.so.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: c176dc12f2803e14bb37bcd0ba4a0718 -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 0 - Exclude Linux: 1 - Exclude Linux64: 0 - Exclude LinuxUniversal: 0 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 0 - Exclude Win64: 0 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: x86_64 - DefaultValueInitialized: true - OS: Linux - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Linux64 - second: - enabled: 1 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 1 - settings: - CPU: x86_64 - - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86.meta deleted file mode 100644 index ec1d6e662..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: d62d998e3cdebd542a967743103c64b6 -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86/libgrpc_csharp_ext.so b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86/libgrpc_csharp_ext.so deleted file mode 100644 index 3ab77a048..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86/libgrpc_csharp_ext.so and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86/libgrpc_csharp_ext.so.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86/libgrpc_csharp_ext.so.meta deleted file mode 100644 index 0d3fafe73..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/linux/x86/libgrpc_csharp_ext.so.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: 0165d78fa73d0cc4c8984f3d4f2a6c86 -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 0 - Exclude Linux: 0 - Exclude Linux64: 1 - Exclude LinuxUniversal: 0 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 0 - Exclude Win64: 0 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: x86 - DefaultValueInitialized: true - OS: Linux - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 1 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: LinuxUniversal - second: - enabled: 1 - settings: - CPU: x86 - - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx.meta deleted file mode 100644 index 7a335aef8..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 7b1ebe888da0a174c95a712766d2558c -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64.meta deleted file mode 100644 index 3daab8a08..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: ccea531b15a71974a91329186dd65075 -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64/grpc_csharp_ext.bundle b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64/grpc_csharp_ext.bundle deleted file mode 100644 index 03b1b55de..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64/grpc_csharp_ext.bundle and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64/grpc_csharp_ext.bundle.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64/grpc_csharp_ext.bundle.meta deleted file mode 100644 index ed81db0e2..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x64/grpc_csharp_ext.bundle.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: da53c729add26524fbecb84a7b599289 -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 0 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 0 - Exclude OSXUniversal: 0 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: x86_64 - DefaultValueInitialized: true - OS: OSX - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXIntel64 - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXUniversal - second: - enabled: 1 - settings: - CPU: x86_64 - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86.meta deleted file mode 100644 index 0b0fca5ba..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 2ee63d0ffcfa72a4fbd7ad04ba34cadb -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86/grpc_csharp_ext.bundle b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86/grpc_csharp_ext.bundle deleted file mode 100644 index c1eafc783..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86/grpc_csharp_ext.bundle and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86/grpc_csharp_ext.bundle.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86/grpc_csharp_ext.bundle.meta deleted file mode 100644 index 25c745221..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/osx/x86/grpc_csharp_ext.bundle.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: 34ec9b69f128d6d4fa3fb46bc70b547c -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 0 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 0 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 0 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: x86 - DefaultValueInitialized: true - OS: OSX - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXIntel - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 1 - settings: - CPU: x86 - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win.meta deleted file mode 100644 index 8d4d8a9ad..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 928a9392668000344b70b6fd126e522c -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64.meta deleted file mode 100644 index eaf428e5d..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 34969b8c99d7a934eaa5e84da9fcf326 -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64/grpc_csharp_ext.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64/grpc_csharp_ext.dll deleted file mode 100755 index d0af0386e..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64/grpc_csharp_ext.dll and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64/grpc_csharp_ext.dll.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64/grpc_csharp_ext.dll.meta deleted file mode 100644 index a64743b69..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x64/grpc_csharp_ext.dll.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: cb634ddbaed75c344a6b79bc91ca996e -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 0 - Exclude Linux: 0 - Exclude Linux64: 0 - Exclude LinuxUniversal: 0 - Exclude OSXIntel: 0 - Exclude OSXIntel64: 0 - Exclude OSXUniversal: 0 - Exclude Win: 1 - Exclude Win64: 0 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: x86_64 - DefaultValueInitialized: true - OS: Windows - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: None - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 1 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 1 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXIntel - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXIntel64 - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXUniversal - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win64 - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86.meta deleted file mode 100644 index a25760b42..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: ed5c6044f868f9a4f955b7db2d2df619 -folderAsset: yes -timeCreated: 1531219385 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86/grpc_csharp_ext.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86/grpc_csharp_ext.dll deleted file mode 100755 index e95a081b0..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86/grpc_csharp_ext.dll and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86/grpc_csharp_ext.dll.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86/grpc_csharp_ext.dll.meta deleted file mode 100644 index 345fde981..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Core/runtimes/win/x86/grpc_csharp_ext.dll.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: fe9aa1338bfc3864eb50df0f9d648316 -timeCreated: 1531219386 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 0 - Exclude Linux: 0 - Exclude Linux64: 0 - Exclude LinuxUniversal: 0 - Exclude OSXIntel: 0 - Exclude OSXIntel64: 0 - Exclude OSXUniversal: 0 - Exclude Win: 0 - Exclude Win64: 1 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: x86 - DefaultValueInitialized: true - OS: Windows - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Linux - second: - enabled: 1 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 1 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXIntel - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXIntel64 - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXUniversal - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: None - - first: - iPhone: iOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client.meta new file mode 100644 index 000000000..63018789c --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9032340b584d11b4bbb746804ac76dd2 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0.meta new file mode 100644 index 000000000..14b139fd8 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 26da1e8bb7e7a174e8758be6080905d9 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib.meta new file mode 100644 index 000000000..2eef9be60 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e940fa43977f2c9419e5758092025ac8 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1.meta new file mode 100644 index 000000000..35619d6fe --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 50e11ef32721afa4fa4955d8ade4056b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1/Grpc.Net.Client.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1/Grpc.Net.Client.dll new file mode 100644 index 000000000..455828186 Binary files /dev/null and b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1/Grpc.Net.Client.dll differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1/Grpc.Net.Client.dll.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1/Grpc.Net.Client.dll.meta new file mode 100644 index 000000000..d36c3f6b4 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Client/2.55.0/lib/netstandard2.1/Grpc.Net.Client.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 593526ffa808b7941a4edf310d5f3f74 +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common.meta new file mode 100644 index 000000000..afd8c1843 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b5b55f623667b5a45859397abf2b8576 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0.meta new file mode 100644 index 000000000..cd9740471 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2efcb7882ebd82043936a67e92bb06c1 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib.meta new file mode 100644 index 000000000..3541b615a --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5fa2d3034f2608e418c22f254c4c9b9a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1.meta new file mode 100644 index 000000000..5b33ce3cc --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3dcde79e23d6bc441af2108d403994f7 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1/Grpc.Net.Common.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1/Grpc.Net.Common.dll new file mode 100644 index 000000000..249f55a9d Binary files /dev/null and b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1/Grpc.Net.Common.dll differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1/Grpc.Net.Common.dll.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1/Grpc.Net.Common.dll.meta new file mode 100644 index 000000000..3709a4a97 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Grpc.Net.Common/2.55.0/lib/netstandard2.1/Grpc.Net.Common.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 0e36fcf6dc9e90f48b014543b013684f +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions.meta new file mode 100644 index 000000000..1bf2a44b9 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d01ed726fc50e514998711f3d9c32ac2 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3.meta new file mode 100644 index 000000000..1de7f38f9 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6577fa02c7b7e974aa46aad82da62d27 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib.meta new file mode 100644 index 000000000..7a06081a8 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e8ca6e2f1d82b3940b0ca3e71c7d12b2 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0.meta new file mode 100644 index 000000000..aedae87d3 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0a4c7a9f6f61b9e448e61342c66052a7 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll new file mode 100644 index 000000000..7a6011ee8 Binary files /dev/null and b/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll.meta new file mode 100644 index 000000000..1eb0d76d2 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/Microsoft.Extensions.Logging.Abstractions/3.0.3/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 3cc6650ebcd4fbb48abc1835fad7ef7f +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers.dll deleted file mode 100644 index b6d9c7782..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers.dll and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers.meta new file mode 100644 index 000000000..3d80a354f --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b0ceabf217d24c44d9bc6e0a27362649 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1.meta new file mode 100644 index 000000000..0117a28d5 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: bda47dbbac61b4546b3bcb9964822c60 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/LICENSE.TXT b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/LICENSE.TXT.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/LICENSE.TXT.meta new file mode 100644 index 000000000..75d4a0505 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/LICENSE.TXT.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 60a0dd44878308d41b4fc1e8d09c2da8 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/lib.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/lib.meta new file mode 100644 index 000000000..3edd4550c --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ea2bf4eef977a9943af5e23b4c74132e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0.meta new file mode 100644 index 000000000..7f0bd1fba --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8f123020e213f2140b71d7ded5ca6cad +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0/System.Buffers.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0/System.Buffers.dll new file mode 100644 index 000000000..c0970c078 Binary files /dev/null and b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0/System.Buffers.dll differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers.dll.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0/System.Buffers.dll.meta similarity index 93% rename from samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers.dll.meta rename to src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0/System.Buffers.dll.meta index cfafcc673..b962010e6 100644 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Buffers.dll.meta +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Buffers/4.5.1/lib/netstandard2.0/System.Buffers.dll.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: cfed5f4adebd4cc6586d1ffea90646fc +guid: 034c8ccffa8a4ce42a4019b543fbbd63 PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource.meta new file mode 100644 index 000000000..3a615819a --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5bae2b1d59d526b41867a775ce4d6206 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1.meta new file mode 100644 index 000000000..d47dec215 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 43210671c7eae89469e818db41ff6615 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/LICENSE.TXT b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/LICENSE.TXT.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/LICENSE.TXT.meta new file mode 100644 index 000000000..2f75fc9e0 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/LICENSE.TXT.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: c0f588f26a98af24a9fd3ef3e97409f5 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib.meta new file mode 100644 index 000000000..d2db85e68 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f4c2d8fb562ae5545af69a7b0d5db4d7 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3.meta new file mode 100644 index 000000000..59eaf545c --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3834ad519843fb6449f88ef086c50c9c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll new file mode 100644 index 000000000..487852936 Binary files /dev/null and b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll.meta new file mode 100644 index 000000000..996bdb28e --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Diagnostics.DiagnosticSource/4.5.1/lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 05a9fc7425607194d807609bd3145b71 +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines.meta new file mode 100644 index 000000000..0366a0765 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3dbc4bf0456d5fe4d863eb17b0009293 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0.meta new file mode 100644 index 000000000..1f1331735 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 72fd45a61cf02ac48aa0953e3608a355 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/LICENSE.TXT b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/LICENSE.TXT.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/LICENSE.TXT.meta new file mode 100644 index 000000000..db5bd12fc --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/LICENSE.TXT.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 122f6925539035e4c8ec7818f1ed3041 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib.meta new file mode 100644 index 000000000..d5d2139bb --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 844cf36f54c4a864fbc3a6dc14b31e35 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0.meta new file mode 100644 index 000000000..6d847458f --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1fe2747055f61444e84b32e3bf7cd132 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0/System.IO.Pipelines.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0/System.IO.Pipelines.dll new file mode 100644 index 000000000..82614bde6 Binary files /dev/null and b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0/System.IO.Pipelines.dll differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0/System.IO.Pipelines.dll.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0/System.IO.Pipelines.dll.meta new file mode 100644 index 000000000..71ff88310 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.IO.Pipelines/7.0.0/lib/netstandard2.0/System.IO.Pipelines.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 86cf57ad0273d8b4f9f8026679a01d8c +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory.meta new file mode 100644 index 000000000..7b0765957 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8caf5d2de0c7052479703b395bf9de17 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5.meta new file mode 100644 index 000000000..480d924a3 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f40fc9018f6457e4798fe8bdbb9c02bc +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/LICENSE.TXT b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/LICENSE.TXT.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/LICENSE.TXT.meta new file mode 100644 index 000000000..64c3957a0 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/LICENSE.TXT.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 9f6bdb6ef7eaa2a48a7eb456afbee6f7 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/lib.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/lib.meta new file mode 100644 index 000000000..7c568769b --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0ebe045392ea6ed4c9e7e0c1232f4d2f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0.meta new file mode 100644 index 000000000..21cee5232 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: aa66ddfe11ca3ed41af4ac08935245f8 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0/System.Memory.dll similarity index 88% rename from samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory.dll rename to src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0/System.Memory.dll index bdfc501e9..1e6aef802 100644 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory.dll and b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0/System.Memory.dll differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory.dll.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0/System.Memory.dll.meta similarity index 93% rename from samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory.dll.meta rename to src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0/System.Memory.dll.meta index 3611bd488..6dceb28f8 100644 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Memory.dll.meta +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Memory/4.5.5/lib/netstandard2.0/System.Memory.dll.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 4b54c65c745fd3f8b9b5d1ee2b691920 +guid: 3229389b03983374295bc4014bbe7efd PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors.meta new file mode 100644 index 000000000..9a764f96b --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cfdca11ddb1ba1f4ca56b3b7c0c9649e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0.meta new file mode 100644 index 000000000..8d25a695c --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 41b46d466cc89c9469a397b0d09f450a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/LICENSE.TXT b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/LICENSE.TXT.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/LICENSE.TXT.meta new file mode 100644 index 000000000..abf5d335d --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/LICENSE.TXT.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 3f50a56950b1f1a40b9b6c80e4f84894 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib.meta new file mode 100644 index 000000000..a92e08788 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 79af075e16e999c40b78a30a6b088458 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0.meta new file mode 100644 index 000000000..aaa55d151 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6396b94a9fa5546478678c67a56c1c80 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0/System.Numerics.Vectors.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0/System.Numerics.Vectors.dll new file mode 100644 index 000000000..a808165ac Binary files /dev/null and b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0/System.Numerics.Vectors.dll differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0/System.Numerics.Vectors.dll.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0/System.Numerics.Vectors.dll.meta new file mode 100644 index 000000000..b5a0ab101 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Numerics.Vectors/4.4.0/lib/netstandard2.0/System.Numerics.Vectors.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: eab6077fafffb304c893ca71f5e6935e +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll deleted file mode 100644 index 315623926..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.meta new file mode 100644 index 000000000..3e45506c4 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cb692e4c9423215479cad5ae0a27a193 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3.meta new file mode 100644 index 000000000..7d88c6606 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3678f684ba0ddf0418c167aaf16f2590 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/LICENSE.TXT b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/LICENSE.TXT.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/LICENSE.TXT.meta new file mode 100644 index 000000000..36397b605 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/LICENSE.TXT.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 9283c1071a90544459e0ee04b50d4c74 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib.meta new file mode 100644 index 000000000..bbc4c7efa --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b3091605d79fe954eaa8a54060538480 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0.meta new file mode 100644 index 000000000..37240ebde --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: aeb51b78fe0050144a66144f9faffe9f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..b17135bc9 Binary files /dev/null and b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll.meta similarity index 93% rename from src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll.meta rename to src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll.meta index bfe10c68a..f2fc88a31 100644 --- a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll.meta +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Runtime.CompilerServices.Unsafe/4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 1b23775a59c7085cdb02341c16a19ef4 +guid: 1f632f6335fa84d4ab38cf5af7380cbd PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.meta new file mode 100644 index 000000000..f483f02c5 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4e4af5cf070511d49bb00d062ab41ae3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4.meta new file mode 100644 index 000000000..e52a5b5d9 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d05fd9652564ed44d9c969ee32fa56be +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/LICENSE.TXT b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/LICENSE.TXT.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/LICENSE.TXT.meta new file mode 100644 index 000000000..07442ab8d --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/LICENSE.TXT.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2809dedca2a099842996065d6613e1e2 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib.meta new file mode 100644 index 000000000..ca0fa3534 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e636c32c5f802f448b4853f5fdac62db +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0.meta new file mode 100644 index 000000000..84ee5ef0e --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 86cb2cbe9302c8c4b88cecf3d6ba323e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.dll b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll similarity index 56% rename from samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.dll rename to src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll index e059050bb..dfab23478 100644 Binary files a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.dll and b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll differ diff --git a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.dll.meta b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll.meta similarity index 93% rename from samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.dll.meta rename to src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll.meta index fe9eaacfd..f8f21df28 100644 --- a/samples/ChatApp/ChatApp.Unity/Assets/Plugins/System.Threading.Tasks.Extensions.dll.meta +++ b/src/MagicOnion.Client.Unity/Assets/Plugins/System.Threading.Tasks.Extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 79b471354b1f5b597bf692d41ee441a4 +guid: 095d75ce444d56d41837c8612a8a5748 PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/src/MagicOnion.Client.Unity/Assets/Scenes/BugReproductionScene.cs b/src/MagicOnion.Client.Unity/Assets/Scenes/BugReproductionScene.cs deleted file mode 100644 index 45569659b..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scenes/BugReproductionScene.cs +++ /dev/null @@ -1,59 +0,0 @@ -using Grpc.Core; -using MagicOnion; -using MagicOnion.Client; -using Sandbox.NetCoreServer.Hubs; -using System.Threading.Tasks; -using UnityEngine; -using UnityEngine.UI; - -public class BugReproductionScene : MonoBehaviour, IBugReproductionHubReceiver -{ - private Channel channel; - private IBugReproductionHub client; - - public Button Button; - - async void Start() - { - this.channel = new Channel("localhost", 12345, ChannelCredentials.Insecure); - this.client = StreamingHubClient.Connect(this.channel, this); - - await this.client.JoinAsync(); - - this.Button.onClick.AddListener(CallAsync); - } - - public async void CallAsync() - { - await this.client.CallAsync(); - } - - public void OnCall() - { - Debug.Log("OnCall!!"); - } - - async void OnDestroy() - { - await client.DisposeAsync(); - await channel.ShutdownAsync(); - } -} - - -namespace Sandbox.NetCoreServer.Hubs -{ - - public interface IBugReproductionHubReceiver - { - void OnCall(); - } - - public interface IBugReproductionHub : IStreamingHub - { - Task JoinAsync(); - - Task CallAsync(); - } - -} \ No newline at end of file diff --git a/src/MagicOnion.Client.Unity/Assets/Scenes/BugReproductionScene.unity b/src/MagicOnion.Client.Unity/Assets/Scenes/BugReproductionScene.unity deleted file mode 100644 index e781a0b79..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Scenes/BugReproductionScene.unity and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Scenes/New Scene.unity b/src/MagicOnion.Client.Unity/Assets/Scenes/New Scene.unity deleted file mode 100644 index 8a67b7ffd..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Scenes/New Scene.unity and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Scenes/Sandbox.cs b/src/MagicOnion.Client.Unity/Assets/Scenes/Sandbox.cs deleted file mode 100644 index 845d6ab1f..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scenes/Sandbox.cs +++ /dev/null @@ -1,60 +0,0 @@ -using MagicOnion; -using MessagePack; -using MessagePack.Resolvers; -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -namespace MagicOnionUnity -{ - public class Sandbox : MonoBehaviour - { - // Start is called before the first frame update - void Start() - { - //UnsafeDirectBlitResolver.Register(); - //CompositeResolver.RegisterAndSetAsDefault( - // UnsafeDirectBlitResolver.Instance, - - // BuiltinResolver.Instance - - // ); - - //var f = new Foo { A = 10, B = 9999, C = 9999999 }; - //var doudarou = MessagePackSerializer.Serialize(f, UnsafeDirectBlitResolver.Instance); - //var two = MessagePackSerializer.Deserialize(doudarou); - - - //Debug.Log(string.Join(", ", doudarou)); - //Debug.Log(two.ToString()); - - //var f2 = new[]{ - // new Foo { A = 10, B = 9999, C = 9999999 }, - // new Foo { A = 101, B = 43, C = 234 }, - // new Foo { A = 20, B = 5666, C = 1111 }, - //}; - //var doudarou2 = MessagePackSerializer.Serialize(f2, UnsafeDirectBlitResolver.Instance); - //var two2 = MessagePackSerializer.Deserialize(doudarou2); - - //Debug.Log(string.Join(", ", doudarou2)); - //foreach (var item in two2) - //{ - // Debug.Log(item.ToString()); - //} - } - - } - - public struct Foo - { - public byte A; - public long B; - public int C; - - public override string ToString() - { - return $"A:{A} B:{B} C:{C}"; - } - } - -} \ No newline at end of file diff --git a/src/MagicOnion.Client.Unity/Assets/Scenes/Sandbox.unity b/src/MagicOnion.Client.Unity/Assets/Scenes/Sandbox.unity index 82c28ea58..58a108a11 100644 Binary files a/src/MagicOnion.Client.Unity/Assets/Scenes/Sandbox.unity and b/src/MagicOnion.Client.Unity/Assets/Scenes/Sandbox.unity differ diff --git a/src/MagicOnion.Client.Unity/Assets/Scenes/TestExecution.cs b/src/MagicOnion.Client.Unity/Assets/Scenes/TestExecution.cs deleted file mode 100644 index 0d8d6e31a..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scenes/TestExecution.cs +++ /dev/null @@ -1,96 +0,0 @@ -using Grpc.Core; -using MagicOnion; -using MagicOnion.Client; -using MessagePack; -using System; -using System.Collections; -using System.Collections.Generic; -using System.Threading.Tasks; -using UnityEngine; - -public class TestExecution : MonoBehaviour -{ - - // Start is called before the first frame update - void Start() - { - Do(); - } - - async void Do() - { - await new ClientProgram().Start("hoge", "huga"); - } - - // Update is called once per frame - private void OnDestroy() - { - } -} - -public class ClientProgram : IMessageReceiver -{ - public async Task Start(string user, string room) - { - Debug.Log("Start Create Channel"); - var channel = new Channel("localhost:12345", ChannelCredentials.Insecure); - - Debug.Log("Start Connect Channel"); - var client = StreamingHubClient.Connect(channel, this); - // RegisterDisconnect(client); - try - { - Debug.Log("Start Join"); - - await client.JoinAsync(user, room); - - Debug.Log("Start Send"); - await client.SendMessageAsync("Who"); - await client.SendMessageAsync("Bar"); - await client.SendMessageAsync("Baz"); - - await client.LeaveAsync(); - } - catch (Exception ex) - { - Debug.LogException(ex); - } - finally - { - await client.DisposeAsync(); - } - } - - async void RegisterDisconnect(IChatHub client) - { - try - { - // you can wait disconnected event - await client.WaitForDisconnect(); - } - finally - { - // try-to-reconnect? logging event? etc... - Debug.Log("disconnected"); - } - } - -#pragma warning disable CS1998 - - public async Task OnReceiveMessage(string senderUser, string message) - { - Debug.Log(senderUser + ":" + message); - } -} - -public interface IMessageReceiver -{ - Task OnReceiveMessage(string senderUser, string message); -} - -public interface IChatHub : IStreamingHub -{ - Task JoinAsync(string userName, string roomName); - Task LeaveAsync(); - Task SendMessageAsync(string message); -} \ No newline at end of file diff --git a/src/MagicOnion.Client.Unity/Assets/Scenes/TestScene.unity b/src/MagicOnion.Client.Unity/Assets/Scenes/TestScene.unity deleted file mode 100644 index 726449fd3..000000000 Binary files a/src/MagicOnion.Client.Unity/Assets/Scenes/TestScene.unity and /dev/null differ diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/ChatShare.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/ChatShare.cs deleted file mode 100644 index d9944427e..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/ChatShare.cs +++ /dev/null @@ -1,159 +0,0 @@ -using Grpc.Core; -using MagicOnion; -using MagicOnion.Client; -using MagicOnion.Server.Hubs; -using MessagePack; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using UnityEngine; - -namespace Sandbox.NetCoreServer.Hubs -{ - [MessagePackObject] - public struct RoomMember - { - [Key(0)] - public readonly string Id; - [Key(1)] - public readonly string Name; - - public RoomMember(string id, string name) - { - Id = id; - Name = name; - } - - public override string ToString() - { - return Id + ":" + Name; - } - } - - [MessagePackObject] - public class ChatMessage - { - [Key(0)] - public virtual RoomMember Sender { get; set; } - [Key(1)] - public virtual string Message { get; set; } - - public override string ToString() - { - return Sender.Name + ": " + Message; - } - } - - [MessagePackObject] - public class ChatRoomResponse - { - [Key(0)] - public virtual string Id { get; set; } - [Key(1)] - public virtual string Name { get; set; } - - public override string ToString() - { - return Id + ":" + Name; - } - } - - public interface IGamingHubReceiver - { - void OnJoin(Player player); - void OnLeave(Player player); - void OnMove(Player player); - } - - [MessagePackObject] - public class Player - { - [Key(0)] - public string Name { get; set; } - [Key(1)] - public Vector3 Position { get; set; } - [Key(2)] - public Quaternion Rotation { get; set; } - } - - - public interface IGamingHub : IStreamingHub - { - Task JoinAsync(string roomName, string userName, Vector3 position, Quaternion rotation); - Task LeaveAsync(); - Task MoveAsync(Vector3 position, Quaternion rotation); - } - - public class GamingHubClient2 : IGamingHubReceiver - { - Dictionary players = new Dictionary(); - - IGamingHub client; - - public async Task ConnectAsync(Channel grpcChannel, string roomName, string playerName) - { - client = StreamingHubClient.Connect(grpcChannel, this); - - var roomPlayers = await client.JoinAsync(roomName, playerName, Vector3.zero, Quaternion.identity); - foreach (var player in roomPlayers) - { - (this as IGamingHubReceiver).OnJoin(player); - } - - return players[playerName]; - } - - - public Task LeaveAsync() - { - return client.LeaveAsync(); - } - - public Task MoveAsync(Vector3 position, Quaternion rotation) - { - return client.MoveAsync(position, rotation); - } - - public Task DisposeAsync() - { - return client.DisposeAsync(); - } - - public Task WaitForDisconnect() - { - return client.WaitForDisconnect(); - } - - void IGamingHubReceiver.OnJoin(Player player) - { - Debug.Log("Join Player:" + player.Name); - - var cube = GameObject.CreatePrimitive(PrimitiveType.Cube); - cube.name = player.Name; - cube.transform.SetPositionAndRotation(player.Position, player.Rotation); - players[player.Name] = cube; - } - - void IGamingHubReceiver.OnLeave(Player player) - { - Debug.Log("Leave Player:" + player.Name); - - if (players.TryGetValue(player.Name, out var cube)) - { - GameObject.Destroy(cube); - } - } - - void IGamingHubReceiver.OnMove(Player player) - { - Debug.Log("Move Player:" + player.Name); - - if (players.TryGetValue(player.Name, out var cube)) - { - cube.transform.SetPositionAndRotation(player.Position, player.Rotation); - } - } - } -} diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/ChatShare.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/ChatShare.cs.meta deleted file mode 100644 index 033662818..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/ChatShare.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: efff26b4153b6ef459e59ac58bbbd8cd -timeCreated: 1488552925 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/Loader.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/Loader.cs deleted file mode 100644 index d8ce33769..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/Loader.cs +++ /dev/null @@ -1,85 +0,0 @@ -#if FALSE - -using RuntimeUnitTestToolkit; -using UnityEngine; -using System.Collections; -using SharedLibrary; -using MessagePack; -using System; -using Grpc.Core.Logging; -using System.IO; -using System.Text; -using Grpc.Core; -using MagicOnion.Client; -using MessagePack.Resolvers; - -namespace MagicOnion.Tests -{ - public static class UnitTestLoader - { - [UnityEngine.RuntimeInitializeOnLoadMethod(UnityEngine.RuntimeInitializeLoadType.BeforeSceneLoad)] - public static void Register() - { - // Register First - // MagicOnionInitializer.Register(); - - MessagePack.Resolvers.CompositeResolver.RegisterAndSetAsDefault( - // MagicOnionResolver.Instance, - BuiltinResolver.Instance, - // Note:needs MessagePack generated resolver - StandardResolver.Instance); - - // Button ON - RuntimeUnitTestToolkit.UnitTest.AddCustomAction("Use Local", () => - { - UnitTestClient.endPoint = "local"; - }); - RuntimeUnitTestToolkit.UnitTest.AddCustomAction("Use Remote", () => - { - UnitTestClient.endPoint = "104.199.192.165"; // where is? - }); - -#if UNITY_EDITOR_WIN - // Debugger Attached, avoid UnityEditor crash - if (System.Diagnostics.Debugger.IsAttached) - { - // Grpc.Core.GrpcEnvironment.IsDebugging = true; - } -#endif - - // gRPC Config - // Environment.SetEnvironmentVariable("GRPC_VERBOSITY", "DEBUG"); - // Environment.SetEnvironmentVariable("GRPC_TRACE", "all"); - Grpc.Core.GrpcEnvironment.SetLogger(new MagicOnion.UnityDebugLogger()); - - // Register Tests - //UnitTest.RegisterAllMethods(); - //UnitTest.RegisterAllMethods(); - //UnitTest.RegisterAllMethods(); - //UnitTest.RegisterAllMethods(); - //UnitTest.RegisterAllMethods(); - } - } - - public static class UnitTestClient - { - internal static string endPoint = "localhost"; - - public static T Create() where T : IService - { - var channel = new Channel(endPoint, 12345, ChannelCredentials.Insecure); - - var client = MagicOnionClient.Create(channel).WithDeadline(DateTime.UtcNow.AddSeconds(10)); - - return client; - } - - public static Channel GetChannel() - { - var channel = new Channel(endPoint, 12345, ChannelCredentials.Insecure); - return channel; - } - } -} - -#endif \ No newline at end of file diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/Loader.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/Loader.cs.meta deleted file mode 100644 index ee8c319ea..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/Loader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 364a43a87b660934abd8c88d8242ffb2 -timeCreated: 1481692536 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/Internal/BoxClientStreamWriter.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/Internal/BoxClientStreamWriter.cs deleted file mode 100644 index 3a1ad6169..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/Internal/BoxClientStreamWriter.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System.Threading.Tasks; -using Grpc.Core; - -namespace MagicOnion.Internal -{ - internal class BoxClientStreamWriter : IClientStreamWriter - { - readonly IClientStreamWriter> inner; - - public BoxClientStreamWriter(IClientStreamWriter> inner) - { - this.inner = inner; - } - - public Task WriteAsync(T message) - => inner.WriteAsync(new Box(message)); - - public WriteOptions WriteOptions - { - get => inner.WriteOptions; - set => inner.WriteOptions = value; - } - public Task CompleteAsync() - => inner.CompleteAsync(); - } -} \ No newline at end of file diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/Internal/UnboxAsyncStreamReader.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/Internal/UnboxAsyncStreamReader.cs deleted file mode 100644 index 9014a03fe..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/Internal/UnboxAsyncStreamReader.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Threading; -using System.Threading.Tasks; -using Grpc.Core; - -namespace MagicOnion.Internal -{ - internal class UnboxAsyncStreamReader : IAsyncStreamReader - { - readonly IAsyncStreamReader> inner; - - public UnboxAsyncStreamReader(IAsyncStreamReader> inner) - { - this.inner = inner; - } - - public Task MoveNext(CancellationToken cancellationToken) - => inner.MoveNext(cancellationToken); - - public T Current - => inner.Current.Value; - } -} \ No newline at end of file diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/Internal/UnboxAsyncStreamReader.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/Internal/UnboxAsyncStreamReader.cs.meta deleted file mode 100644 index 973508d6e..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/Internal/UnboxAsyncStreamReader.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c498291066439cb4da01fcfcaf762b27 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/ChannelExtensions.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/ChannelExtensions.cs index 4260a9e95..edb4e0e71 100644 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/ChannelExtensions.cs +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/ChannelExtensions.cs @@ -1,4 +1,4 @@ -#if !USE_GRPC_NET_CLIENT_ONLY +#if USE_GRPC_CCORE using Grpc.Core; using System; using System.Collections.Generic; @@ -18,4 +18,4 @@ public static void RegisterStreamingSubscription(this Channel channel, IDisposab } } } -#endif \ No newline at end of file +#endif diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/DefaultGrpcChannelProvider.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/DefaultGrpcChannelProvider.cs new file mode 100644 index 000000000..8a87ffa67 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/DefaultGrpcChannelProvider.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +#if USE_GRPC_CCORE +using Grpc.Core; +#else +using Grpc.Net.Client; +#endif +using MagicOnion.Client; + +namespace MagicOnion.Unity +{ + /// + /// Provide and manage gRPC channels for MagicOnion. + /// +#if USE_GRPC_CCORE + public class DefaultGrpcChannelProvider : GrpcCCoreGrpcChannelProvider + { + public DefaultGrpcChannelProvider() : base() { } + public DefaultGrpcChannelProvider(IReadOnlyList channelOptions) : base(channelOptions) { } + public DefaultGrpcChannelProvider(GrpcCCoreChannelOptions channelOptions) : base(channelOptions) { } + } +#else + public class DefaultGrpcChannelProvider : GrpcNetClientGrpcChannelProvider + { + public DefaultGrpcChannelProvider() : base() {} + public DefaultGrpcChannelProvider(GrpcChannelOptions channelOptions) : base(channelOptions) {} + public DefaultGrpcChannelProvider(Func channelOptionsFactory) : base(channelOptionsFactory) {} + } +#endif +} diff --git a/src/MagicOnion.Client.Unity/Assets/Scenes/BugReproductionScene.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/DefaultGrpcChannelProvider.cs.meta similarity index 83% rename from src/MagicOnion.Client.Unity/Assets/Scenes/BugReproductionScene.cs.meta rename to src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/DefaultGrpcChannelProvider.cs.meta index 693386536..b4cb706db 100644 --- a/src/MagicOnion.Client.Unity/Assets/Scenes/BugReproductionScene.cs.meta +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/DefaultGrpcChannelProvider.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 624d79cfd43f00749a2da125ff3563c1 +guid: 29b23fa09d3f10e45a53b3fa2f050793 MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/Editor/GrpcChannelProviderMonitor.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/Editor/GrpcChannelProviderMonitor.cs index 363d08fb7..57179a3ce 100644 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/Editor/GrpcChannelProviderMonitor.cs +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/Editor/GrpcChannelProviderMonitor.cs @@ -4,10 +4,10 @@ using System.Linq; #if MAGICONION_UNITASK_SUPPORT using Cysharp.Threading.Tasks; -using Channel = Grpc.Core.Channel; #endif -using Grpc.Core; -#if USE_GRPC_NET_CLIENT +#if USE_GRPC_CCORE +using Channel = Grpc.Core.Channel; +#else using Grpc.Net.Client; #endif using MagicOnion.Client; @@ -73,7 +73,7 @@ public void DrawChannels() { using (new EditorGUILayout.HorizontalScope()) { -#if !USE_GRPC_NET_CLIENT_ONLY +#if USE_GRPC_CCORE if (diagInfo.UnderlyingChannel is Channel grpcCCoreChannel) { EditorGUILayout.LabelField($"Channel: {channel.Id} ({channel.Target}; State={grpcCCoreChannel.State})", EditorStyles.boldLabel); @@ -400,4 +400,4 @@ public static string Humanize(long value) } } } -} \ No newline at end of file +} diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcCCoreGrpcChannelProvider.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcCCoreGrpcChannelProvider.cs new file mode 100644 index 000000000..1ef749fc4 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcCCoreGrpcChannelProvider.cs @@ -0,0 +1,69 @@ +#if USE_GRPC_CCORE +using System; +using System.Collections.Generic; +using Grpc.Core; + +namespace MagicOnion.Unity +{ + /// + /// Provide and manage gRPC channels using gRPC C-core for MagicOnion. + /// + public class GrpcCCoreGrpcChannelProvider : GrpcChannelProviderBase + { + private readonly GrpcCCoreChannelOptions defaultChannelOptions; + + public GrpcCCoreGrpcChannelProvider() + : this(new GrpcCCoreChannelOptions()) + { + } + + public GrpcCCoreGrpcChannelProvider(IReadOnlyList channelOptions) + : this(new GrpcCCoreChannelOptions(channelOptions)) + { + } + + public GrpcCCoreGrpcChannelProvider(GrpcCCoreChannelOptions channelOptions) + { + defaultChannelOptions = channelOptions ?? throw new ArgumentNullException(nameof(channelOptions)); + } + + /// + /// Create a channel to the target and register the channel under the management of the provider. + /// + protected override GrpcChannelx CreateChannelCore(int id, CreateGrpcChannelContext context) + { + var channelOptions = context.ChannelOptions.GetOrDefault() ?? defaultChannelOptions; + var channel = new Channel(context.Target.Host, context.Target.Port, context.Target.IsInsecure ? ChannelCredentials.Insecure : channelOptions.ChannelCredentials, channelOptions.ChannelOptions); + var channelHolder = new GrpcChannelx( + id, + context.Provider.UnregisterChannel /* Root provider may be wrapped outside this provider class. */, + channel, + new Uri((context.Target.IsInsecure ? "http" : "https") + $"://{context.Target.Host}:{context.Target.Port}"), + new GrpcChannelOptionsBag(channelOptions) + ); + + return channelHolder; + } + } + + public sealed class GrpcCCoreChannelOptions : IChannelOptionsValueProvider + { + public IReadOnlyList ChannelOptions { get; set; } + public ChannelCredentials ChannelCredentials { get; set; } + + public GrpcCCoreChannelOptions(IReadOnlyList? channelOptions = null, ChannelCredentials? channelCredentials = null) + { + ChannelOptions = channelOptions ?? Array.Empty(); + ChannelCredentials = channelCredentials ?? new SslCredentials(); + } + + public IEnumerable> GetValues() + { + foreach (var channelOption in ChannelOptions) + { + yield return new KeyValuePair(channelOption.Name, channelOption.Type == ChannelOption.OptionType.Integer ? channelOption.IntValue : channelOption.StringValue); + } + } + } +} +#endif diff --git a/src/MagicOnion.Client.Unity/Assets/Scenes/Sandbox.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcCCoreGrpcChannelProvider.cs.meta similarity index 83% rename from src/MagicOnion.Client.Unity/Assets/Scenes/Sandbox.cs.meta rename to src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcCCoreGrpcChannelProvider.cs.meta index df485b7ec..7152acd92 100644 --- a/src/MagicOnion.Client.Unity/Assets/Scenes/Sandbox.cs.meta +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcCCoreGrpcChannelProvider.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 5ce7b8a82444a664f8ef0bd1068a323f +guid: 1afd4fa77d5192c479991e76874080a4 MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelOptionsBag.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelOptionsBag.cs new file mode 100644 index 000000000..ed5b1d0c1 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelOptionsBag.cs @@ -0,0 +1,48 @@ +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; + +namespace MagicOnion.Unity +{ + public class GrpcChannelOptionsBag + { + readonly object? options; + + public GrpcChannelOptionsBag(object? options) + { + this.options = options; + } + + public T? GetOrDefault() + { + return TryGet(out var value) ? value : default; + } + + public bool TryGet([NotNullWhen(true)] out T? value) + { + if (options is T optionT) + { + value = optionT; + return true; + } + + value = default; + return false; + } + + public IEnumerable> GetValues() + { + if (TryGet(out var valueProvider)) + { + foreach (var keyValue in valueProvider.GetValues()) + { + yield return keyValue; + } + } + } + } + + public interface IChannelOptionsValueProvider + { + IEnumerable> GetValues(); + } +} diff --git a/src/MagicOnion.Client.Unity/Assets/Scenes/TestExecution.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelOptionsBag.cs.meta similarity index 83% rename from src/MagicOnion.Client.Unity/Assets/Scenes/TestExecution.cs.meta rename to src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelOptionsBag.cs.meta index 0c42040c8..c1b834737 100644 --- a/src/MagicOnion.Client.Unity/Assets/Scenes/TestExecution.cs.meta +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelOptionsBag.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 40275faca20983e489295c61c7f62515 +guid: 86db4ec6b7e1b6940bf8ba70024ed4a1 MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProvider.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProvider.cs index 73abccd90..1187690bf 100644 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProvider.cs +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProvider.cs @@ -1,40 +1,10 @@ using System; -using System.Collections; using System.Collections.Generic; -using System.Linq; using System.Threading; -using Grpc.Core; -#if USE_GRPC_NET_CLIENT -using Grpc.Net.Client; -#endif using UnityEngine; namespace MagicOnion.Unity { - public static class GrpcChannelProviderExtensions - { - /// - /// Create a channel to the target and register the channel under the management of the provider. - /// - public static GrpcChannelx CreateChannel(this IGrpcChannelProvider provider, GrpcChannelTarget target) - => provider.CreateChannel(new CreateGrpcChannelContext(provider, target)); - -#if USE_GRPC_NET_CLIENT - /// - /// Create a channel to the target and register the channel under the management of the provider. - /// - public static GrpcChannelx CreateChannel(this IGrpcChannelProvider provider, GrpcChannelTarget target, GrpcChannelOptions channelOptions) - => provider.CreateChannel(new CreateGrpcChannelContext(provider, target, channelOptions)); -#endif -#if !USE_GRPC_NET_CLIENT_ONLY - /// - /// Create a channel to the target and register the channel under the management of the provider. - /// - public static GrpcChannelx CreateChannel(this IGrpcChannelProvider provider, GrpcChannelTarget target, ChannelCredentials channelCredentials, IReadOnlyList channelOptions) - => provider.CreateChannel(new CreateGrpcChannelContext(provider, target, new GrpcCCoreChannelOptions(channelOptions, channelCredentials))); -#endif - } - /// /// Provide and manage gRPC channels for MagicOnion. /// @@ -160,121 +130,4 @@ public void ShutdownAllChannels() } } } - - /// - /// Provide and manage gRPC channels for MagicOnion. - /// -#if USE_GRPC_NET_CLIENT && USE_GRPC_NET_CLIENT_ONLY - public class DefaultGrpcChannelProvider : GrpcNetClientGrpcChannelProvider - { - public DefaultGrpcChannelProvider() : base() {} - public DefaultGrpcChannelProvider(GrpcChannelOptions channelOptions) : base(channelOptions) {} - public DefaultGrpcChannelProvider(Func channelOptionsFactory) : base(channelOptionsFactory) {} - } -#else - public class DefaultGrpcChannelProvider : GrpcCCoreGrpcChannelProvider - { - public DefaultGrpcChannelProvider() : base() { } - public DefaultGrpcChannelProvider(IReadOnlyList channelOptions) : base(channelOptions) { } - public DefaultGrpcChannelProvider(GrpcCCoreChannelOptions channelOptions) : base(channelOptions) { } - } -#endif - -#if USE_GRPC_NET_CLIENT - /// - /// Provide and manage gRPC channels using Grpc.Net.Client for MagicOnion. - /// - public class GrpcNetClientGrpcChannelProvider : GrpcChannelProviderBase - { - readonly Func defaultChannelOptionsFactory; - public GrpcNetClientGrpcChannelProvider() - : this(new GrpcChannelOptions()) - { - } - - public GrpcNetClientGrpcChannelProvider(GrpcChannelOptions options) - : this(() => options) - { - } - - public GrpcNetClientGrpcChannelProvider(Func optionsFactory) - { - defaultChannelOptionsFactory = optionsFactory ?? throw new ArgumentNullException(nameof(optionsFactory)); - } - - /// - /// Create a channel to the target and register the channel under the management of the provider. - /// - protected override GrpcChannelx CreateChannelCore(int id, CreateGrpcChannelContext context) - { - var address = new Uri((context.Target.IsInsecure ? "http" : "https") + $"://{context.Target.Host}:{context.Target.Port}"); - var channelOptions = context.ChannelOptions.GetOrDefault() ?? defaultChannelOptionsFactory(); - var channel = GrpcChannel.ForAddress(address, channelOptions); - var channelHolder = new GrpcChannelx( - id, - context.Provider.UnregisterChannel /* Root provider may be wrapped outside this provider class. */, - channel, - address, - new GrpcChannelOptionsBag(channelOptions) - ); - - return channelHolder; - } - } -#endif - -#if !USE_GRPC_NET_CLIENT_ONLY - /// - /// Provide and manage gRPC channels using gRPC C-core for MagicOnion. - /// - public class GrpcCCoreGrpcChannelProvider : GrpcChannelProviderBase - { - private readonly GrpcCCoreChannelOptions defaultChannelOptions; - - public GrpcCCoreGrpcChannelProvider() - : this(new GrpcCCoreChannelOptions()) - { - } - - public GrpcCCoreGrpcChannelProvider(IReadOnlyList channelOptions) - : this(new GrpcCCoreChannelOptions(channelOptions)) - { - } - - public GrpcCCoreGrpcChannelProvider(GrpcCCoreChannelOptions channelOptions) - { - defaultChannelOptions = channelOptions ?? throw new ArgumentNullException(nameof(channelOptions)); - } - - /// - /// Create a channel to the target and register the channel under the management of the provider. - /// - protected override GrpcChannelx CreateChannelCore(int id, CreateGrpcChannelContext context) - { - var channelOptions = context.ChannelOptions.GetOrDefault() ?? defaultChannelOptions; - var channel = new Channel(context.Target.Host, context.Target.Port, context.Target.IsInsecure ? ChannelCredentials.Insecure : channelOptions.ChannelCredentials, channelOptions.ChannelOptions); - var channelHolder = new GrpcChannelx( - id, - context.Provider.UnregisterChannel /* Root provider may be wrapped outside this provider class. */, - channel, - new Uri((context.Target.IsInsecure ? "http" : "https") + $"://{context.Target.Host}:{context.Target.Port}"), - new GrpcChannelOptionsBag(channelOptions) - ); - - return channelHolder; - } - } - - public sealed class GrpcCCoreChannelOptions - { - public IReadOnlyList ChannelOptions { get; set; } - public ChannelCredentials ChannelCredentials { get; set; } - - public GrpcCCoreChannelOptions(IReadOnlyList? channelOptions = null, ChannelCredentials? channelCredentials = null) - { - ChannelOptions = channelOptions ?? Array.Empty(); - ChannelCredentials = channelCredentials ?? new SslCredentials(); - } - } -#endif } diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.CCore.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.CCore.cs new file mode 100644 index 000000000..43da9b838 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.CCore.cs @@ -0,0 +1,16 @@ +#if USE_GRPC_CCORE +using System.Collections.Generic; +using Grpc.Core; + +namespace MagicOnion.Unity +{ + public static partial class GrpcChannelProviderExtensions + { + /// + /// Create a channel to the target and register the channel under the management of the provider. + /// + public static GrpcChannelx CreateChannel(this IGrpcChannelProvider provider, GrpcChannelTarget target, ChannelCredentials channelCredentials, IReadOnlyList channelOptions) + => provider.CreateChannel(new CreateGrpcChannelContext(provider, target, new GrpcCCoreChannelOptions(channelOptions, channelCredentials))); + } +} +#endif diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/Internal/BoxClientStreamWriter.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.CCore.cs.meta similarity index 83% rename from src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/Internal/BoxClientStreamWriter.cs.meta rename to src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.CCore.cs.meta index 99b8f2e89..2da1a9c84 100644 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/Internal/BoxClientStreamWriter.cs.meta +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.CCore.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: d4226d00cdd376e47a429621a58a2ac7 +guid: 71818e923ce4eb741887a0b6a599b517 MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.GrpcNet.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.GrpcNet.cs new file mode 100644 index 000000000..7597409a7 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.GrpcNet.cs @@ -0,0 +1,15 @@ +#if !USE_GRPC_CCORE +using Grpc.Net.Client; + +namespace MagicOnion.Unity +{ + public static partial class GrpcChannelProviderExtensions + { + /// + /// Create a channel to the target and register the channel under the management of the provider. + /// + public static GrpcChannelx CreateChannel(this IGrpcChannelProvider provider, GrpcChannelTarget target, GrpcChannelOptions channelOptions) + => provider.CreateChannel(new CreateGrpcChannelContext(provider, target, channelOptions)); + } +} +#endif diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.GrpcNet.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.GrpcNet.cs.meta new file mode 100644 index 000000000..3b189599b --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.GrpcNet.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d7ffb932e3e54e34e8dccef448676c50 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.cs new file mode 100644 index 000000000..2da2ef48b --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.cs @@ -0,0 +1,11 @@ +namespace MagicOnion.Unity +{ + public static partial class GrpcChannelProviderExtensions + { + /// + /// Create a channel to the target and register the channel under the management of the provider. + /// + public static GrpcChannelx CreateChannel(this IGrpcChannelProvider provider, GrpcChannelTarget target) + => provider.CreateChannel(new CreateGrpcChannelContext(provider, target)); + } +} diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.cs.meta new file mode 100644 index 000000000..ebbb3ceca --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelProviderExtensions.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c057bd5533b53a5498741295dc271e9d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelx.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelx.cs index d1a3abf60..089f8098f 100644 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelx.cs +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcChannelx.cs @@ -8,12 +8,11 @@ using System.Threading.Tasks; #if MAGICONION_UNITASK_SUPPORT using Cysharp.Threading.Tasks; -#if !USE_GRPC_NET_CLIENT_ONLY -using Channel = Grpc.Core.Channel; -#endif #endif using Grpc.Core; -#if USE_GRPC_NET_CLIENT +#if USE_GRPC_CCORE +using Channel = Grpc.Core.Channel; +#else using Grpc.Net.Client; #endif using MagicOnion.Client; @@ -147,11 +146,13 @@ protected override async Task ShutdownAsyncCore() #if MAGICONION_UNITASK_SUPPORT public async UniTask ConnectAsync(DateTime? deadline = null) #else +#pragma warning disable CS1998 public async Task ConnectAsync(DateTime? deadline = null) +#pragma warning restore CS1998 #endif { ThrowIfDisposed(); -#if !USE_GRPC_NET_CLIENT_ONLY +#if USE_GRPC_CCORE if (_channel is Channel grpcCChannel) { await grpcCChannel.ConnectAsync(deadline); @@ -387,31 +388,31 @@ public WrappedCallInvoker(ChannelStats channelStats, CallInvoker callInvoker) _baseCallInvoker = callInvoker; } - public override TResponse BlockingUnaryCall(Method method, string host, CallOptions options, TRequest request) + public override TResponse BlockingUnaryCall(Method method, string? host, CallOptions options, TRequest request) { //Debug.Log($"Unary(Blocking): {method.FullName}"); return _baseCallInvoker.BlockingUnaryCall(WrapMethod(method), host, options, request); } - public override AsyncUnaryCall AsyncUnaryCall(Method method, string host, CallOptions options, TRequest request) + public override AsyncUnaryCall AsyncUnaryCall(Method method, string? host, CallOptions options, TRequest request) { //Debug.Log($"Unary: {method.FullName}"); return _baseCallInvoker.AsyncUnaryCall(WrapMethod(method), host, options, request); } - public override AsyncServerStreamingCall AsyncServerStreamingCall(Method method, string host, CallOptions options, TRequest request) + public override AsyncServerStreamingCall AsyncServerStreamingCall(Method method, string? host, CallOptions options, TRequest request) { //Debug.Log($"ServerStreaming: {method.FullName}"); return _baseCallInvoker.AsyncServerStreamingCall(WrapMethod(method), host, options, request); } - public override AsyncClientStreamingCall AsyncClientStreamingCall(Method method, string host, CallOptions options) + public override AsyncClientStreamingCall AsyncClientStreamingCall(Method method, string? host, CallOptions options) { //Debug.Log($"ClientStreaming: {method.FullName}"); return _baseCallInvoker.AsyncClientStreamingCall(WrapMethod(method), host, options); } - public override AsyncDuplexStreamingCall AsyncDuplexStreamingCall(Method method, string host, CallOptions options) + public override AsyncDuplexStreamingCall AsyncDuplexStreamingCall(Method method, string? host, CallOptions options) { //Debug.Log($"DuplexStreaming: {method.FullName}"); return _baseCallInvoker.AsyncDuplexStreamingCall(WrapMethod(method), host, options); diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcNetClientGrpcChannelProvider.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcNetClientGrpcChannelProvider.cs new file mode 100644 index 000000000..2def88797 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcNetClientGrpcChannelProvider.cs @@ -0,0 +1,69 @@ +#if !USE_GRPC_CCORE +using System; +using System.Collections.Generic; +using Grpc.Net.Client; +using MagicOnion.Unity; + +namespace MagicOnion.Client +{ + /// + /// Provide and manage gRPC channels using Grpc.Net.Client for MagicOnion. + /// + public class GrpcNetClientGrpcChannelProvider : GrpcChannelProviderBase + { + readonly Func defaultChannelOptionsFactory; + public GrpcNetClientGrpcChannelProvider() + : this(new GrpcChannelOptions()) + { + } + + public GrpcNetClientGrpcChannelProvider(GrpcChannelOptions options) + : this(() => options) + { + } + + public GrpcNetClientGrpcChannelProvider(Func optionsFactory) + { + defaultChannelOptionsFactory = optionsFactory ?? throw new ArgumentNullException(nameof(optionsFactory)); + } + + /// + /// Create a channel to the target and register the channel under the management of the provider. + /// + protected override GrpcChannelx CreateChannelCore(int id, CreateGrpcChannelContext context) + { + var address = new Uri((context.Target.IsInsecure ? "http" : "https") + $"://{context.Target.Host}:{context.Target.Port}"); + var channelOptions = context.ChannelOptions.GetOrDefault() ?? defaultChannelOptionsFactory(); + var channel = GrpcChannel.ForAddress(address, channelOptions); + var channelHolder = new GrpcChannelx( + id, + context.Provider.UnregisterChannel /* Root provider may be wrapped outside this provider class. */, + channel, + address, + new GrpcChannelOptionsBag(new GrpcChannelOptionsValueProvider(channelOptions)) + ); + + return channelHolder; + } + + class GrpcChannelOptionsValueProvider : IChannelOptionsValueProvider + { + readonly GrpcChannelOptions options; + + public GrpcChannelOptionsValueProvider(GrpcChannelOptions options) + { + this.options = options; + } + + public IEnumerable> GetValues() + { + yield return new KeyValuePair(nameof(options.MaxReceiveMessageSize), options.MaxReceiveMessageSize ?? -1); + yield return new KeyValuePair(nameof(options.MaxRetryAttempts), options.MaxRetryAttempts ?? -1); + yield return new KeyValuePair(nameof(options.MaxRetryBufferPerCallSize), options.MaxRetryBufferPerCallSize ?? -1); + yield return new KeyValuePair(nameof(options.MaxRetryBufferSize), options.MaxRetryBufferSize ?? -1); + yield return new KeyValuePair(nameof(options.MaxSendMessageSize), options.MaxSendMessageSize ?? -1); + } + } + } +} +#endif diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcNetClientGrpcChannelProvider.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcNetClientGrpcChannelProvider.cs.meta new file mode 100644 index 000000000..8666fdcbe --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/GrpcNetClientGrpcChannelProvider.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2546d9dc10de5d8449c56ff9a6bc24d9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/IGrpcChannelProvider.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/IGrpcChannelProvider.cs index b60a13769..2854fe725 100644 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/IGrpcChannelProvider.cs +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/IGrpcChannelProvider.cs @@ -1,10 +1,5 @@ using System; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; -using Grpc.Core; -#if USE_GRPC_NET_CLIENT -using Grpc.Net.Client; -#endif namespace MagicOnion.Unity { @@ -49,54 +44,4 @@ public CreateGrpcChannelContext(IGrpcChannelProvider provider, GrpcChannelTarget ChannelOptions = new GrpcChannelOptionsBag(channelOptions); } } - - public class GrpcChannelOptionsBag - { - private readonly object? _options; - - public GrpcChannelOptionsBag(object? options) - { - _options = options; - } - - public T? GetOrDefault() - { - return TryGet(out var value) ? value : default; - } - - public bool TryGet([NotNullWhen(true)] out T? value) - { - if (_options is T optionT) - { - value = optionT; - return true; - } - - value = default; - return false; - } - - public IEnumerable> GetValues() - { -#if USE_GRPC_NET_CLIENT - if (TryGet(out var grpcChannelOptions)) - { - yield return new KeyValuePair(nameof(grpcChannelOptions.MaxReceiveMessageSize), grpcChannelOptions.MaxReceiveMessageSize ?? -1); - yield return new KeyValuePair(nameof(grpcChannelOptions.MaxRetryAttempts), grpcChannelOptions.MaxRetryAttempts ?? -1); - yield return new KeyValuePair(nameof(grpcChannelOptions.MaxRetryBufferPerCallSize), grpcChannelOptions.MaxRetryBufferPerCallSize ?? -1); - yield return new KeyValuePair(nameof(grpcChannelOptions.MaxRetryBufferSize), grpcChannelOptions.MaxRetryBufferSize ?? -1); - yield return new KeyValuePair(nameof(grpcChannelOptions.MaxSendMessageSize), grpcChannelOptions.MaxSendMessageSize ?? -1); - } -#endif -#if !USE_GRPC_NET_CLIENT_ONLY - if (TryGet(out var channelOptionsForCCore)) - { - foreach (var channelOption in channelOptionsForCCore.ChannelOptions) - { - yield return new KeyValuePair(channelOption.Name, channelOption.Type == ChannelOption.OptionType.Integer ? (object)channelOption.IntValue : channelOption.StringValue); - } - } -#endif - } - } } diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/UnityDebugLogger.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/UnityDebugLogger.cs deleted file mode 100644 index 3783a18a1..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/UnityDebugLogger.cs +++ /dev/null @@ -1,159 +0,0 @@ -#if !USE_GRPC_NET_CLIENT_ONLY -using Grpc.Core.Logging; -using System; - -namespace MagicOnion -{ - public class UnityDebugLogger : ILogger - { - readonly Type? forType; - readonly string forTypeString; - readonly bool errorToWarn = true; // default is true(gRPC internal log show to warn) - - public UnityDebugLogger() - : this(null) - { - } - - public UnityDebugLogger(bool errorToWarn) - : this(null) - { - this.errorToWarn = errorToWarn; - } - - protected UnityDebugLogger(Type? forType) - { - this.forType = forType; - if (forType != null) - { - var namespaceStr = forType.Namespace ?? ""; - if (namespaceStr.Length > 0) - { - namespaceStr += "."; - } - this.forTypeString = namespaceStr + forType.Name + " "; - } - else - { - this.forTypeString = ""; - } - } - - /// - /// Returns a logger associated with the specified type. - /// - public virtual ILogger ForType() - { - if (typeof(T) == forType) - { - return this; - } - return new UnityDebugLogger(typeof(T)); - } - - /// Logs a message with severity Debug. - public void Debug(string message) - { - UnityEngine.Debug.Log(BuildMessage(message)); - } - - /// Logs a formatted message with severity Debug. - public void Debug(string format, params object[] formatArgs) - { - UnityEngine.Debug.Log(BuildMessage(format, formatArgs)); - } - - /// Logs a message with severity Info. - public void Info(string message) - { - UnityEngine.Debug.Log(BuildMessage(message)); - } - - /// Logs a formatted message with severity Info. - public void Info(string format, params object[] formatArgs) - { - UnityEngine.Debug.Log(BuildMessage(format, formatArgs)); - } - - /// Logs a message with severity Warning. - public void Warning(string message) - { - UnityEngine.Debug.LogWarning(BuildMessage(message)); - } - - /// Logs a formatted message with severity Warning. - public void Warning(string format, params object[] formatArgs) - { - UnityEngine.Debug.LogWarning(BuildMessage(format, formatArgs)); - } - - /// Logs a message and an associated exception with severity Warning. - public void Warning(Exception exception, string message) - { - Warning(message + " " + exception); - } - - /// Logs a message with severity Error. - public void Error(string message) - { - if (errorToWarn) - { - UnityEngine.Debug.LogWarning(BuildMessage(message)); - } - else - { - UnityEngine.Debug.LogError(BuildMessage(message)); - } - } - - /// Logs a formatted message with severity Error. - public void Error(string format, params object[] formatArgs) - { - if (errorToWarn) - { - UnityEngine.Debug.LogWarning(BuildMessage(format, formatArgs)); - } - else - { - UnityEngine.Debug.LogError(BuildMessage(format, formatArgs)); - } - } - - /// Logs a message and an associated exception with severity Error. - public void Error(Exception exception, string message) - { - Error(message + " " + exception); - } - - /// Gets the type associated with this logger. - protected Type? AssociatedType - { - get { return forType; } - } - - string BuildMessage(string message) - { - if (forType != null) - { - return forTypeString + message; - } - else - { - return message; - } - } - - string BuildMessage(string format, object[] args) - { - if (forType != null) - { - return forTypeString + string.Format(format, args); - } - else - { - return string.Format(format, args); - } - } - } -} -#endif diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/UnityDebugLogger.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/UnityDebugLogger.cs.meta deleted file mode 100644 index 728e9ab29..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Unity/UnityDebugLogger.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 5a9b20988ba163244a107c806f58c14f -timeCreated: 1482380673 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/RuntimeUnitTestToolkit/UnitTest.unity b/src/MagicOnion.Client.Unity/Assets/Scripts/RuntimeUnitTestToolkit/UnitTest.unity index 2477c2bd0..f0b52929f 100644 Binary files a/src/MagicOnion.Client.Unity/Assets/Scripts/RuntimeUnitTestToolkit/UnitTest.unity and b/src/MagicOnion.Client.Unity/Assets/Scripts/RuntimeUnitTestToolkit/UnitTest.unity differ diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/RuntimeUnitTestToolkit/UnitTestSettings.lighting b/src/MagicOnion.Client.Unity/Assets/Scripts/RuntimeUnitTestToolkit/UnitTestSettings.lighting new file mode 100644 index 000000000..5e577c7a0 --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/RuntimeUnitTestToolkit/UnitTestSettings.lighting @@ -0,0 +1,64 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!850595691 &4890085278179872738 +LightingSettings: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: UnitTestSettings + serializedVersion: 4 + m_GIWorkflowMode: 1 + m_EnableBakedLightmaps: 0 + m_EnableRealtimeLightmaps: 0 + m_RealtimeEnvironmentLighting: 1 + m_BounceScale: 1 + m_AlbedoBoost: 1 + m_IndirectOutputScale: 1 + m_UsingShadowmask: 0 + m_BakeBackend: 0 + m_LightmapMaxSize: 1024 + m_BakeResolution: 40 + m_Padding: 2 + m_LightmapCompression: 3 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAO: 0 + m_MixedBakeMode: 1 + m_LightmapsBakeMode: 1 + m_FilterMode: 1 + m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0} + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_RealtimeResolution: 2 + m_ForceWhiteAlbedo: 0 + m_ForceUpdates: 0 + m_FinalGather: 0 + m_FinalGatherRayCount: 256 + m_FinalGatherFiltering: 1 + m_PVRCulling: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVREnvironmentSampleCount: 512 + m_PVREnvironmentReferencePointCount: 2048 + m_LightProbeSampleCountMultiplier: 4 + m_PVRBounces: 2 + m_PVRMinBounces: 2 + m_PVREnvironmentMIS: 0 + m_PVRFilteringMode: 0 + m_PVRDenoiserTypeDirect: 0 + m_PVRDenoiserTypeIndirect: 0 + m_PVRDenoiserTypeAO: 0 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_PVRTiledBaking: 0 diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/RuntimeUnitTestToolkit/UnitTestSettings.lighting.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/RuntimeUnitTestToolkit/UnitTestSettings.lighting.meta new file mode 100644 index 000000000..98df5264b --- /dev/null +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/RuntimeUnitTestToolkit/UnitTestSettings.lighting.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: fe8e37766780eaa4582be60de241f714 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 4890085278179872738 + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/ShareTypes.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/ShareTypes.cs deleted file mode 100644 index 2b684f350..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/ShareTypes.cs +++ /dev/null @@ -1,236 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; -using MagicOnion; -using MessagePack; - -namespace SharedLibrary -{ - [MessagePackObject] - public class MyRequest - { - [Key(0)] - public int Id { get; set; } - [Key(1)] - public string Data { get; set; } - } - - [MessagePackObject] - public struct MyStructRequest - { - [Key(0)] - public int X; - [Key(1)] - public int Y; - - public MyStructRequest(int x, int y) - { - this.X = x; - this.Y = y; - } - } - - [MessagePackObject] - public struct MyStructResponse - { - [Key(0)] - public int X; - [Key(1)] - public int Y; - - public MyStructResponse(int x, int y) - { - this.X = x; - this.Y = y; - } - } - - [MessagePackObject] - public class MyResponse - { - [Key(0)] - public int Id { get; set; } - [Key(1)] - public string Data { get; set; } - } - - [MessagePackObject] - public class MyHugeResponse - { - [Key(0)] - public int x { get; set; } - [Key(1)] - public int y { get; set; } - [Key(2)] - public string z { get; set; } - [Key(3)] - public MyEnum e { get; set; } - [Key(4)] - public MyStructResponse soho { get; set; } - [Key(5)] - public ulong zzz { get; set; } - [Key(6)] - public MyRequest req { get; set; } - } - - public enum MyEnum - { - Apple, Orange, Grape - } - - [MessagePackObject] - public class MyClass2 - { - [Key(0)] - public string Name { get; set; } - [Key(1)] - public int Sum { get; set; } - } - - public enum MyEnum2 - { - A = 2, - B = 3, - C = 4 - } -} - -namespace Sandbox.NetCoreServer.Hubs -{ - public interface IMessageReceiver - { - Task ZeroArgument(); - Task OneArgument(int x); - Task MoreArgument(int x, string y, double z); - void VoidZeroArgument(); - void VoidOneArgument(int x); - void VoidMoreArgument(int x, string y, double z); - Task OneArgument2(TestObject x); - void VoidOneArgument2(TestObject x); - Task OneArgument3(TestObject[] x); - void VoidOneArgument3(TestObject[] x); - } - - public interface ITestHub : IStreamingHub - { - Task ZeroArgument(); - Task OneArgument(int x); - Task MoreArgument(int x, string y, double z); - - Task RetrunZeroArgument(); - Task RetrunOneArgument(int x); - Task RetrunMoreArgument(int x, string y, double z); - - Task OneArgument2(TestObject x); - Task RetrunOneArgument2(TestObject x); - - Task OneArgument3(TestObject[] x); - Task RetrunOneArgument3(TestObject[] x); - } - - [MessagePackObject] - public class TestObject - { - [Key(0)] - public int X { get; set; } - [Key(1)] - public int Y { get; set; } - [Key(2)] - public int Z { get; set; } - } - - public enum TestEnum - { - - } - - - public class OreOreRequest - { - - } - - - public class OreOreResponse - { - - } -} - -namespace Sandbox.NetCoreServer.Services -{ - public interface IMyFirstService : IService - { - UnaryResult ZeroAsync(); - UnaryResult OneAsync(int z); - UnaryResult SumAsync(int x, int y); - UnaryResult OreOreAsync(OreOreRequest z); - UnaryResult OreOre2Async(OreOreRequest z); - UnaryResult> OreOre3Async(OreOreRequest z); - - - Task> LegacyZeroAsync(); - Task> LegacyOneAsync(int z); - Task> LegacySumAsync(int x, int y); - Task> LegacyOreOreAsync(OreOreRequest z); - Task> LegacyOreOre2Async(OreOreRequest z); - Task>> LegacyOreOre3Async(OreOreRequest z); - - // use hub instead:) - - Task> ClientStreamingSampleAsync(); - Task> ServertSreamingSampleAsync(int x, int y, int z); - Task> DuplexStreamingSampleAync(); - } - - public enum TestEnum - { - - } - - - public class OreOreRequest - { - - } - - - public class OreOreResponse - { - - } -} - -namespace Sandbox.NetCoreServer.Hubs -{ - public interface IMessageReceiver2 - { - void OnReceiveMessage(string senderUser, string message); - void Foo2(Foo foo2); - } - - public interface IChatHub : IStreamingHub - { - Task JoinAsync(string userName, string roomName); - Task LeaveAsync(); - Task SendMessageAsync(string message); - } - - public interface ITestService : IService - { - UnaryResult FooBarBaz(string x, long y); - } -} - -namespace Sandbox.NetCoreServer -{ - public class Foo - { - public void Hage() - { - - - - } - } -} \ No newline at end of file diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/ShareTypes.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/ShareTypes.cs.meta deleted file mode 100644 index ae635ed27..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/ShareTypes.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 6facc440b8efc1444acf481b319e879b -timeCreated: 1488552695 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/Tests.meta deleted file mode 100644 index 2ab83eab4..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 0c4e2b0928f72a348a9f33b9997162d4 -folderAsset: yes -timeCreated: 1481692528 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/ArgumentPatternTest.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/ArgumentPatternTest.cs deleted file mode 100644 index 99da3a3fc..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/ArgumentPatternTest.cs +++ /dev/null @@ -1,164 +0,0 @@ -//using UnityEngine; -//using RuntimeUnitTestToolkit; -//using UniRx; -//using System.Collections; -//using Grpc.Core; -//using MagicOnion.Client; -//using Sandbox.ConsoleServer; -//using System.Collections.Generic; -//using SharedLibrary; -//using System; - -//namespace MagicOnion.Tests -//{ -// public class ArgumentPatternTest -// { -// IArgumentPattern GetClient() -// { -// return UnitTestClient.Create(); -// } - -// public IEnumerator Unary1() -// { -// var r = GetClient() -// .Unary1(300, 200, "hogehoge", SharedLibrary.MyEnum.Grape, -// new SharedLibrary.MyStructResponse(999, 9999), 4, -// new SharedLibrary.MyRequest -// { -// Id = 3232, -// Data = "hugahuga" -// }) -// .ResponseAsync.ToYieldInstruction(); - -// yield return r; - -// var res = r.Result; -// res.x.Is(300); -// res.y.Is(200); -// res.z.Is("hogehoge"); -// res.e.Is(SharedLibrary.MyEnum.Grape); -// res.soho.X.Is(999); -// res.soho.Y.Is(9999); -// res.zzz.Is((ulong)4); -// res.req.Id.Is(3232); -// res.req.Data.Is("hugahuga"); -// } - - -// public IEnumerator Unary2() -// { -// var r = GetClient() -// .Unary2( -// new SharedLibrary.MyRequest -// { -// Id = 3232, -// Data = "hugahuga" -// }) -// .ResponseAsync.ToYieldInstruction(); - -// yield return r; - -// var res = r.Result; -// res.Id.Is(3232); -// res.Data.Is("hugahuga"); -// } - - - -// public IEnumerator Unary3() -// { -// var r = GetClient() -// .Unary3() -// .ResponseAsync.ToYieldInstruction(); - -// yield return r; - -// var res = r.Result; -// res.Id.Is(-1); -// res.Data.Is("empty"); -// } - - - -// public IEnumerator Unary5() -// { -// var r = GetClient() -// .Unary5(new SharedLibrary.MyStructRequest(300, 400)) -// .ResponseAsync.ToYieldInstruction(); - -// yield return r; - -// var res = r.Result; -// res.X.Is(300); -// res.Y.Is(400); -// } - - - -// public IEnumerator ServerStreamingResult1() -// { -// MyResponse res = null; -// yield return GetClient() -// .ServerStreamingResult1(3, 4, "5") -// .ResponseStream -// .ForEachAsync(x => res = x) -// .ToYieldInstruction(); - -// res.Id.Is(7); -// res.Data.Is("5"); -// } - - - -// public IEnumerator ServerStreamingResult2() -// { -// MyResponse res = null; -// yield return GetClient() -// .ServerStreamingResult2(new SharedLibrary.MyRequest { Id = 32, Data = "dt" }) -// .ResponseStream -// .ForEachAsync(x => res = x) -// .ToYieldInstruction(); - -// res.Id.Is(32); -// res.Data.Is("dt"); -// } - - - -// public IEnumerator ServerStreamingResult3() -// { -// MyResponse res = null; -// yield return GetClient() -// .ServerStreamingResult3() -// .ResponseStream -// .ForEachAsync(x => res = x) -// .ToYieldInstruction(); - -// res.Id.Is(-1); -// res.Data.Is("empty"); -// } - - -// public IEnumerator ServerStreamingResult4() -// { -// yield return GetClient() -// .ServerStreamingResult4() -// .ResponseStream -// .ForEachAsync(x => { }) -// .ToYieldInstruction(); -// } - -// public IEnumerator ServerStreamingResult5() -// { -// object res = null; -// yield return GetClient() -// .ServerStreamingResult5(new MyStructRequest(43, 643)) -// .ResponseStream -// .ForEachAsync(x => res = x) -// .ToYieldInstruction(); - -// ((MyStructResponse)res).X.Is(43); -// ((MyStructResponse)res).Y.Is(643); -// } -// } -//} \ No newline at end of file diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/ArgumentPatternTest.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/ArgumentPatternTest.cs.meta deleted file mode 100644 index e4f0e69a7..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/ArgumentPatternTest.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 22f211b5b2ec02047a5d1cbdfdaceabc -timeCreated: 1481804090 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/HeartbeatTest.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/HeartbeatTest.cs deleted file mode 100644 index 3a999c1d6..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/HeartbeatTest.cs +++ /dev/null @@ -1,46 +0,0 @@ -//using UnityEngine; -//using RuntimeUnitTestToolkit; -//using UniRx; -//using System.Collections; -//using Grpc.Core; -//using MagicOnion.Client; -//using Sandbox.ConsoleServer; -//using System.Collections.Generic; -//using System; - -//namespace MagicOnion.Tests -//{ -// public class HeartbeatTest -// { -// public IEnumerator Ping() -// { -// var channel = UnitTestClient.GetChannel(); - -// var ping = new MagicOnion.Client.EmbeddedServices.PingClient(channel).Ping().ResponseAsync.ToYieldInstruction(); - -// yield return ping; - -// if (ping.HasError) -// { -// throw ping.Error; -// //} -// else -// { -// Debug.Log("Client -> Server: " + ping.Result + "ms"); -// } -// } - -// public IEnumerator Heartbeat() -// { -// var channel = UnitTestClient.GetChannel(); -// var context = new ChannelContext(channel); - -// yield return context.WaitConnectComplete().ToYieldInstruction(); - - -// yield return new WaitForSeconds(3); - -// context.Dispose(); -// } -// } -//} \ No newline at end of file diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/HeartbeatTest.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/HeartbeatTest.cs.meta deleted file mode 100644 index e29328dfd..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/HeartbeatTest.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f1554db0295b4ab4bb477143ce57acc7 -timeCreated: 1485184395 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/MetadataTest.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/MetadataTest.cs deleted file mode 100644 index bb204d2aa..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/MetadataTest.cs +++ /dev/null @@ -1,48 +0,0 @@ -//using UnityEngine; -//using RuntimeUnitTestToolkit; -//using UniRx; -//using System.Collections; -//using Grpc.Core; -//using MagicOnion.Client; -//using Sandbox.ConsoleServer; -//using System.Collections.Generic; -//using System; - -//namespace MagicOnion.Tests -//{ -// public class MetadataTest -// { -// public IEnumerator Pomu() -// { -// var channel = UnitTestClient.GetChannel(); - -// var client = MagicOnionClient.Create(channel); - -// var pongpong = client.PangPong(); - -// var res = pongpong.ResponseAsync.ToYieldInstruction(); -// yield return res; - -// if (res.HasError) -// { -// Debug.Log("Error:" + res.Error.ToString()); -// } -// else -// { -// Debug.Log("No Error"); -// } - -// channel.ShutdownAsync().Subscribe(); -// } - -// //static Channel _staticChannel; -// //static ChannelContext _ctx; - -// //public IEnumerator Humo() -// //{ -// // _staticChannel = UnitTestClient.GetChannel(); -// // _ctx = new ChannelContext(_staticChannel); -// // yield return _ctx.WaitConnectComplete().ToYieldInstruction(); -// //} -// } -//} \ No newline at end of file diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/MetadataTest.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/MetadataTest.cs.meta deleted file mode 100644 index 46fd7e1aa..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/MetadataTest.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 08360e75212eb0942aded2bc07d5990b -timeCreated: 1485503750 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/SimpleTest.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/SimpleTest.cs deleted file mode 100644 index 6a6272404..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/SimpleTest.cs +++ /dev/null @@ -1,79 +0,0 @@ -//using UnityEngine; -//using RuntimeUnitTestToolkit; -//using UniRx; -//using System.Collections; -//using Grpc.Core; -//using MagicOnion.Client; -//using Sandbox.ConsoleServer; -//using System.Collections.Generic; -//using System; - -//namespace MagicOnion.Tests -//{ -// public class SimpleTest -// { -// IMyFirstService GetClient() -// { -// return UnitTestClient.Create(); -// } - -// public IEnumerator Unary() -// { -// var r = GetClient().SumAsync(1, 10).ResponseAsync.ToYieldInstruction(); -// yield return r; - -// r.Result.Is("11"); -// } - -// public IEnumerator ClientStreaming() -// { -// var client = GetClient().StreamingOne(); - -// yield return client.RequestStream.WriteAsync(1000).ToYieldInstruction(); -// yield return client.RequestStream.WriteAsync(2000).ToYieldInstruction(); -// yield return client.RequestStream.WriteAsync(3000).ToYieldInstruction(); - -// yield return client.RequestStream.CompleteAsync().ToYieldInstruction(); - -// var r = client.ResponseAsync.ToYieldInstruction(); -// yield return r; - -// r.Result.Is("finished"); -// } - -// public IEnumerator ServerStreaming() -// { -// var client = GetClient().StreamingTwo(10, 20, 3); - -// var list = new List(); -// yield return client.ResponseStream.ForEachAsync(x => -// { -// list.Add(x); -// }).ToYieldInstruction(); - -// list.IsCollection("30", "60", "90"); -// } - -// public IEnumerator DuplexStreaming() -// { -// var client = GetClient().StreamingThree(); - -// var l = new List(); -// var responseAwaiter = client.ResponseStream.ForEachAsync(x => -// { -// l.Add(x); -// }) -// .ToYieldInstruction(); - -// yield return client.RequestStream.WriteAsync(1).ToYieldInstruction(); -// yield return client.RequestStream.WriteAsync(2).ToYieldInstruction(); -// yield return client.RequestStream.WriteAsync(3).ToYieldInstruction(); - -// yield return client.RequestStream.CompleteAsync().ToYieldInstruction(); - -// yield return responseAwaiter; - -// l.IsCollection("test1", "test2", "finish"); -// } -// } -//} \ No newline at end of file diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/SimpleTest.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/SimpleTest.cs.meta deleted file mode 100644 index 2e8a797d9..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/SimpleTest.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: fb30750869a71634fa543611778ef1b2 -timeCreated: 1481692635 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/StandardTest.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/StandardTest.cs deleted file mode 100644 index 05231a408..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/StandardTest.cs +++ /dev/null @@ -1,78 +0,0 @@ -//using UnityEngine; -//using RuntimeUnitTestToolkit; -//using UniRx; -//using System.Collections; -//using Grpc.Core; -//using MagicOnion.Client; -//using Sandbox.ConsoleServer; -//using System.Collections.Generic; - -//namespace MagicOnion.Tests -//{ -// public class StandardTest -// { -// IStandard GetClient() -// { -// return UnitTestClient.Create(); -// } - -// public IEnumerator Unary() -// { -// var r = GetClient().Unary1(999, 3000).ResponseAsync.ToYieldInstruction(); -// yield return r; - -// r.Result.Is(3999); -// } - -// public IEnumerator ClientStreaming() -// { -// var client = GetClient().ClientStreaming1Async(); - -// yield return client.RequestStream.WriteAsync(1000).ToYieldInstruction(); -// yield return client.RequestStream.WriteAsync(2000).ToYieldInstruction(); -// yield return client.RequestStream.WriteAsync(3000).ToYieldInstruction(); - -// yield return client.RequestStream.CompleteAsync().ToYieldInstruction(); - -// var r = client.ResponseAsync.ToYieldInstruction(); -// yield return r; - -// r.Result.Is("1000, 2000, 3000"); -// } - -// public IEnumerator ServerStreaming() -// { -// var client = GetClient().ServerStreamingAsync(10, 20, 3); - -// var list = new List(); -// yield return client.ResponseStream.ForEachAsync(x => -// { -// list.Add(x); -// }).ToYieldInstruction(); - -// list.IsCollection(30, 30, 30); -// } - -// public IEnumerator DuplexStreaming() -// { -// var client = GetClient().DuplexStreamingAsync(); - -// var l = new List(); -// var responseAwaiter = client.ResponseStream.ForEachAsync(x => -// { -// l.Add(x); -// }) -// .ToYieldInstruction(); - -// yield return client.RequestStream.WriteAsync(1).ToYieldInstruction(); -// yield return client.RequestStream.WriteAsync(2).ToYieldInstruction(); -// yield return client.RequestStream.WriteAsync(3).ToYieldInstruction(); - -// yield return client.RequestStream.CompleteAsync().ToYieldInstruction(); - -// yield return responseAwaiter; - -// l.IsCollection(1, 2, 3); -// } -// } -//} \ No newline at end of file diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/StandardTest.cs.meta b/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/StandardTest.cs.meta deleted file mode 100644 index e825abf00..000000000 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/Tests/StandardTest.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 5bd0f05c3cb152b4f955be1c5ad6923d -timeCreated: 1481804090 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/AudioManager.asset b/src/MagicOnion.Client.Unity/ProjectSettings/AudioManager.asset index 6fd7eeb8d..df1e8090a 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/AudioManager.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/AudioManager.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/ClusterInputManager.asset b/src/MagicOnion.Client.Unity/ProjectSettings/ClusterInputManager.asset index 9df73dc29..e7886b266 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/ClusterInputManager.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/ClusterInputManager.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/DynamicsManager.asset b/src/MagicOnion.Client.Unity/ProjectSettings/DynamicsManager.asset index 4d7aaa984..648582d42 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/DynamicsManager.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/DynamicsManager.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/EditorBuildSettings.asset b/src/MagicOnion.Client.Unity/ProjectSettings/EditorBuildSettings.asset index c6d3ca33f..d63649259 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/EditorBuildSettings.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/EditorBuildSettings.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/EditorSettings.asset b/src/MagicOnion.Client.Unity/ProjectSettings/EditorSettings.asset index 8601705f5..de02837ea 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/EditorSettings.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/EditorSettings.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/GraphicsSettings.asset b/src/MagicOnion.Client.Unity/ProjectSettings/GraphicsSettings.asset index f6cc2436b..80d098e16 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/GraphicsSettings.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/GraphicsSettings.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/InputManager.asset b/src/MagicOnion.Client.Unity/ProjectSettings/InputManager.asset index 4b300285e..b00cb7976 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/InputManager.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/InputManager.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/MemorySettings.asset b/src/MagicOnion.Client.Unity/ProjectSettings/MemorySettings.asset new file mode 100644 index 000000000..5b5faceca --- /dev/null +++ b/src/MagicOnion.Client.Unity/ProjectSettings/MemorySettings.asset @@ -0,0 +1,35 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!387306366 &1 +MemorySettings: + m_ObjectHideFlags: 0 + m_EditorMemorySettings: + m_MainAllocatorBlockSize: -1 + m_ThreadAllocatorBlockSize: -1 + m_MainGfxBlockSize: -1 + m_ThreadGfxBlockSize: -1 + m_CacheBlockSize: -1 + m_TypetreeBlockSize: -1 + m_ProfilerBlockSize: -1 + m_ProfilerEditorBlockSize: -1 + m_BucketAllocatorGranularity: -1 + m_BucketAllocatorBucketsCount: -1 + m_BucketAllocatorBlockSize: -1 + m_BucketAllocatorBlockCount: -1 + m_ProfilerBucketAllocatorGranularity: -1 + m_ProfilerBucketAllocatorBucketsCount: -1 + m_ProfilerBucketAllocatorBlockSize: -1 + m_ProfilerBucketAllocatorBlockCount: -1 + m_TempAllocatorSizeMain: -1 + m_JobTempAllocatorBlockSize: -1 + m_BackgroundJobTempAllocatorBlockSize: -1 + m_JobTempAllocatorReducedBlockSize: -1 + m_TempAllocatorSizeGIBakingWorker: -1 + m_TempAllocatorSizeNavMeshWorker: -1 + m_TempAllocatorSizeAudioWorker: -1 + m_TempAllocatorSizeCloudWorker: -1 + m_TempAllocatorSizeGfx: -1 + m_TempAllocatorSizeJobWorker: -1 + m_TempAllocatorSizeBackgroundWorker: -1 + m_TempAllocatorSizePreloadManager: -1 + m_PlatformMemorySettings: {} diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/NavMeshAreas.asset b/src/MagicOnion.Client.Unity/ProjectSettings/NavMeshAreas.asset index 26b477a21..ad2654e02 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/NavMeshAreas.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/NavMeshAreas.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/Physics2DSettings.asset b/src/MagicOnion.Client.Unity/ProjectSettings/Physics2DSettings.asset index 990343bfe..842aee05a 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/Physics2DSettings.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/Physics2DSettings.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/PresetManager.asset b/src/MagicOnion.Client.Unity/ProjectSettings/PresetManager.asset index e58f57cea..67a94daef 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/PresetManager.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/PresetManager.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/ProjectSettings.asset b/src/MagicOnion.Client.Unity/ProjectSettings/ProjectSettings.asset index 4f3b2d419..f114020dd 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/ProjectSettings.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/ProjectSettings.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/ProjectVersion.txt b/src/MagicOnion.Client.Unity/ProjectSettings/ProjectVersion.txt index 02057f267..3384268eb 100644 --- a/src/MagicOnion.Client.Unity/ProjectSettings/ProjectVersion.txt +++ b/src/MagicOnion.Client.Unity/ProjectSettings/ProjectVersion.txt @@ -1,2 +1,2 @@ -m_EditorVersion: 2020.3.33f1 -m_EditorVersionWithRevision: 2020.3.33f1 (915a7af8b0d5) +m_EditorVersion: 2021.3.0f1 +m_EditorVersionWithRevision: 2021.3.0f1 (6eacc8284459) diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/QualitySettings.asset b/src/MagicOnion.Client.Unity/ProjectSettings/QualitySettings.asset index 415989d91..3b69600a5 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/QualitySettings.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/QualitySettings.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/SceneTemplateSettings.json b/src/MagicOnion.Client.Unity/ProjectSettings/SceneTemplateSettings.json new file mode 100644 index 000000000..6f3e60fd8 --- /dev/null +++ b/src/MagicOnion.Client.Unity/ProjectSettings/SceneTemplateSettings.json @@ -0,0 +1,167 @@ +{ + "templatePinStates": [], + "dependencyTypeInfos": [ + { + "userAdded": false, + "type": "UnityEngine.AnimationClip", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEditor.Animations.AnimatorController", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.AnimatorOverrideController", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEditor.Audio.AudioMixerController", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.ComputeShader", + "ignore": true, + "defaultInstantiationMode": 1, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Cubemap", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.GameObject", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEditor.LightingDataAsset", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": false + }, + { + "userAdded": false, + "type": "UnityEngine.LightingSettings", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Material", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEditor.MonoScript", + "ignore": true, + "defaultInstantiationMode": 1, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.PhysicMaterial", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.PhysicsMaterial2D", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Rendering.PostProcessing.PostProcessResources", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Rendering.VolumeProfile", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEditor.SceneAsset", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": false + }, + { + "userAdded": false, + "type": "UnityEngine.Shader", + "ignore": true, + "defaultInstantiationMode": 1, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.ShaderVariantCollection", + "ignore": true, + "defaultInstantiationMode": 1, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Texture", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Texture2D", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Timeline.TimelineAsset", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + } + ], + "defaultDependencyTypeInfo": { + "userAdded": false, + "type": "", + "ignore": false, + "defaultInstantiationMode": 1, + "supportsModification": true + }, + "newSceneOverride": 0 +} \ No newline at end of file diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/TagManager.asset b/src/MagicOnion.Client.Unity/ProjectSettings/TagManager.asset index 36949153c..1c92a7840 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/TagManager.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/TagManager.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/TimeManager.asset b/src/MagicOnion.Client.Unity/ProjectSettings/TimeManager.asset index 6c91c9ca9..558a017e1 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/TimeManager.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/TimeManager.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/UnityConnectSettings.asset b/src/MagicOnion.Client.Unity/ProjectSettings/UnityConnectSettings.asset index 7b5665a0a..6125b308a 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/UnityConnectSettings.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/UnityConnectSettings.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/VFXManager.asset b/src/MagicOnion.Client.Unity/ProjectSettings/VFXManager.asset index 066e79089..82b46d93b 100644 Binary files a/src/MagicOnion.Client.Unity/ProjectSettings/VFXManager.asset and b/src/MagicOnion.Client.Unity/ProjectSettings/VFXManager.asset differ diff --git a/src/MagicOnion.Client.Unity/ProjectSettings/boot.config b/src/MagicOnion.Client.Unity/ProjectSettings/boot.config new file mode 100644 index 000000000..e69de29bb