Initial Client/Server Communication
#1 Followed the MagicOnion quickstart guide, borrowing code from the chat sample app to get something working
This commit is contained in:
parent
52b0d4d8ff
commit
a0c8dbee72
493 changed files with 57790 additions and 3 deletions
3
.gitattributes
vendored
3
.gitattributes
vendored
|
|
@ -51,4 +51,5 @@
|
|||
*.dylib filter=lfs diff=lfs merge=lfs -text
|
||||
*.bundle filter=lfs diff=lfs merge=lfs -text
|
||||
*.engine filter=lfs diff=lfs merge=lfs -text
|
||||
*.sbsar filter=lfs diff=lfs merge=lfs -text
|
||||
*.sbsar filter=lfs diff=lfs merge=lfs -text
|
||||
*.a filter=lfs diff=lfs merge=lfs -text
|
||||
0
.idea/.gitignore
generated
vendored
Normal file
0
.idea/.gitignore
generated
vendored
Normal file
2
.idea/.idea.Aetheria-Economy/.idea/.gitignore
generated
vendored
Normal file
2
.idea/.idea.Aetheria-Economy/.idea/.gitignore
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Default ignored files
|
||||
/workspace.xml
|
||||
221
.idea/.idea.Aetheria-Economy/.idea/contentModel.xml
generated
Normal file
221
.idea/.idea.Aetheria-Economy/.idea/contentModel.xml
generated
Normal file
|
|
@ -0,0 +1,221 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ContentModelStore">
|
||||
<e p="C:\Users\rwvens\.Rider2019.3\system\extResources" t="IncludeRecursive" />
|
||||
<e p="C:\Users\rwvens\.Rider2019.3\system\resharper-host\local\Transient\ReSharperHost\v193\SolutionCaches\_Aetheria-Economy.1697668203.00" t="ExcludeRecursive" />
|
||||
<e p="C:\Users\rwvens\Documents\GitHub\Aetheria-Economy" t="IncludeRecursive">
|
||||
<e p="Aetheria-Economy.sln" t="IncludeFlat" />
|
||||
<e p="Assembly-CSharp.csproj" t="IncludeRecursive" />
|
||||
<e p="Assets" t="Include">
|
||||
<e p="Scripts" t="Include">
|
||||
<e p="ChatComponent.cs" t="Include" />
|
||||
<e p="Generated" t="Include">
|
||||
<e p="MagicOnion.Generated.cs" t="Include" />
|
||||
<e p="MessagePack.Generated.cs" t="Include" />
|
||||
</e>
|
||||
<e p="InitialSettings.cs" t="Include" />
|
||||
<e p="MagicOnion" t="Include">
|
||||
<e p="AsyncLock.cs" t="Include" />
|
||||
<e p="AsyncStreamReaderExtensions.cs" t="Include" />
|
||||
<e p="Client" t="Include">
|
||||
<e p="ClientFilter.cs" t="Include" />
|
||||
<e p="DynamicClientBuilder.cs" t="Include" />
|
||||
<e p="InterceptInvokeHelper.cs" t="Include" />
|
||||
<e p="MagicOnionClient.cs" t="Include" />
|
||||
<e p="MagicOnionClientBase.cs" t="Include" />
|
||||
<e p="StreamingHubClient.cs" t="Include" />
|
||||
<e p="StreamingHubClientBase.cs" t="Include" />
|
||||
<e p="StreamingHubClientBuilder.cs" t="Include" />
|
||||
</e>
|
||||
<e p="DynamicArgumentTuple.cs" t="Include" />
|
||||
<e p="MagicOnion.asmdef" t="Include" />
|
||||
<e p="MagicOnionMarshallers.cs" t="Include" />
|
||||
<e p="MetadataExtensions.cs" t="Include" />
|
||||
<e p="ReturnStatusException.cs" t="Include" />
|
||||
<e p="Server" t="Include">
|
||||
<e p="Hubs" t="Include">
|
||||
<e p="BroadcasterHelper.cs" t="Include" />
|
||||
</e>
|
||||
</e>
|
||||
<e p="UnsafeDirectBlitResolver.cs" t="Include" />
|
||||
<e p="Utils" t="Include">
|
||||
<e p="ArrayPoolBufferWriter.cs" t="Include" />
|
||||
<e p="AsyncLocalShim.cs" t="Include" />
|
||||
<e p="DynamicAssembly.cs" t="Include" />
|
||||
<e p="FNV1A32.cs" t="Include" />
|
||||
<e p="ILGeneratorExtensions.cs" t="Include" />
|
||||
<e p="ReflectionExtensions.cs" t="Include" />
|
||||
<e p="ReservedWhenAllPromise.cs" t="Include" />
|
||||
<e p="TaskCompletionSourceEx.cs" t="Include" />
|
||||
<e p="TaskEx.cs" t="Include" />
|
||||
<e p="UniqueHashDictionary.cs" t="Include" />
|
||||
</e>
|
||||
</e>
|
||||
<e p="MagicOnion.Abstractions" t="Include">
|
||||
<e p="Client" t="Include">
|
||||
<e p="IResponseContext.cs" t="Include" />
|
||||
</e>
|
||||
<e p="ClientStreamingResult.cs" t="Include" />
|
||||
<e p="CompilerServices" t="Include">
|
||||
<e p="AsyncUnaryResultMethodBuilder.cs" t="Include" />
|
||||
</e>
|
||||
<e p="DuplexStreamingResult.cs" t="Include" />
|
||||
<e p="GenerateDefineDebugAttribute.cs" t="Include" />
|
||||
<e p="IgnoreAttribute.cs" t="Include" />
|
||||
<e p="IService.cs" t="Include" />
|
||||
<e p="IStreamingHub.cs" t="Include" />
|
||||
<e p="MagicOnion.Abstractions.asmdef" t="Include" />
|
||||
<e p="Server" t="Include">
|
||||
<e p="Hubs" t="Include">
|
||||
<e p="MethodIdAttribute.cs" t="Include" />
|
||||
</e>
|
||||
</e>
|
||||
<e p="ServerStreamingResult.cs" t="Include" />
|
||||
<e p="UnaryResult.cs" t="Include" />
|
||||
</e>
|
||||
<e p="MagicOnion.Unity" t="Include">
|
||||
<e p="ChannelExtensions.cs" t="Include" />
|
||||
<e p="MagicOnion.Unity.asmdef" t="Include" />
|
||||
<e p="UnityDebugLogger.cs" t="Include" />
|
||||
</e>
|
||||
<e p="MessagePack" t="Include">
|
||||
<e p="Annotations" t="Include">
|
||||
<e p="Attributes.cs" t="Include" />
|
||||
<e p="IMessagePackSerializationCallbackReceiver.cs" t="Include" />
|
||||
</e>
|
||||
<e p="BitOperations.cs" t="Include" />
|
||||
<e p="BufferWriter.cs" t="Include" />
|
||||
<e p="ExtensionHeader.cs" t="Include" />
|
||||
<e p="ExtensionResult.cs" t="Include" />
|
||||
<e p="Formatters" t="Include">
|
||||
<e p="CollectionFormatter.cs" t="Include" />
|
||||
<e p="CollectionHelpers`2.cs" t="Include" />
|
||||
<e p="DateTimeFormatters.cs" t="Include" />
|
||||
<e p="DictionaryFormatter.cs" t="Include" />
|
||||
<e p="DynamicObjectTypeFallbackFormatter.cs" t="Include" />
|
||||
<e p="EnumAsStringFormatter`1.cs" t="Include" />
|
||||
<e p="GenericEnumFormatter`1.cs" t="Include" />
|
||||
<e p="IgnoreFormatter`1.cs" t="Include" />
|
||||
<e p="IMessagePackFormatter`1.cs" t="Include" />
|
||||
<e p="MultiDimensionalArrayFormatter.cs" t="Include" />
|
||||
<e p="NilFormatter.cs" t="Include" />
|
||||
<e p="NullableFormatter.cs" t="Include" />
|
||||
<e p="PrimitiveObjectFormatter.cs" t="Include" />
|
||||
<e p="StandardClassLibraryFormatter.cs" t="Include" />
|
||||
<e p="TypelessFormatter.cs" t="Include" />
|
||||
<e p="UnsafeBinaryFormatters.cs" t="Include" />
|
||||
</e>
|
||||
<e p="HashCode.cs" t="Include" />
|
||||
<e p="IFormatterResolver.cs" t="Include" />
|
||||
<e p="Internal" t="Include">
|
||||
<e p="AsymmetricKeyHashTable.cs" t="Include" />
|
||||
<e p="AutomataDictionary.cs" t="Include" />
|
||||
<e p="ByteArrayStringHashTable.cs" t="Include" />
|
||||
<e p="CodeGenHelpers.cs" t="Include" />
|
||||
<e p="DateTimeConstants.cs" t="Include" />
|
||||
<e p="DynamicAssembly.cs" t="Include" />
|
||||
<e p="ExpressionUtility.cs" t="Include" />
|
||||
<e p="FarmHash.cs" t="Include" />
|
||||
<e p="GuidBits.cs" t="Include" />
|
||||
<e p="ILGeneratorExtensions.cs" t="Include" />
|
||||
<e p="ReflectionExtensions.cs" t="Include" />
|
||||
<e p="Sequence`1.cs" t="Include" />
|
||||
<e p="ThreadsafeTypeKeyHashTable.cs" t="Include" />
|
||||
<e p="TinyJsonReader.cs" t="Include" />
|
||||
<e p="UnsafeMemory.Low.cs" t="Include" />
|
||||
</e>
|
||||
<e p="LZ4" t="Include">
|
||||
<e p="LZ4Codec.cs" t="Include" />
|
||||
<e p="LZ4Codec.Helper.cs" t="Include" />
|
||||
<e p="LZ4Codec.Safe.cs" t="Include" />
|
||||
<e p="LZ4Codec.Safe32.Dirty.cs" t="Include" />
|
||||
<e p="LZ4Codec.Safe64.Dirty.cs" t="Include" />
|
||||
<e p="LZ4Codec.Unsafe.cs" t="Include" />
|
||||
<e p="LZ4Codec.Unsafe32.Dirty.cs" t="Include" />
|
||||
<e p="LZ4Codec.Unsafe64.Dirty.cs" t="Include" />
|
||||
</e>
|
||||
<e p="MessagePack.asmdef" t="Include" />
|
||||
<e p="MessagePackCode.cs" t="Include" />
|
||||
<e p="MessagePackCompression.cs" t="Include" />
|
||||
<e p="MessagePackReader.cs" t="Include" />
|
||||
<e p="MessagePackSecurity.cs" t="Include" />
|
||||
<e p="MessagePackSerializationException.cs" t="Include" />
|
||||
<e p="MessagePackSerializer.cs" t="Include" />
|
||||
<e p="MessagePackSerializer.Json.cs" t="Include" />
|
||||
<e p="MessagePackSerializer.NonGeneric.cs" t="Include" />
|
||||
<e p="MessagePackSerializerOptions.cs" t="Include" />
|
||||
<e p="MessagePackStreamReader.cs" t="Include" />
|
||||
<e p="MessagePackWriter.cs" t="Include" />
|
||||
<e p="Nil.cs" t="Include" />
|
||||
<e p="Resolvers" t="Include">
|
||||
<e p="AttributeFormatterResolver.cs" t="Include" />
|
||||
<e p="BuiltinResolver.cs" t="Include" />
|
||||
<e p="CachingFormatterResolver.cs" t="Include" />
|
||||
<e p="CompositeResolver.cs" t="Include" />
|
||||
<e p="ContractlessReflectionObjectResolver.cs" t="Include" />
|
||||
<e p="DynamicEnumAsStringResolver.cs" t="Include" />
|
||||
<e p="DynamicEnumResolver.cs" t="Include" />
|
||||
<e p="DynamicGenericResolver.cs" t="Include" />
|
||||
<e p="DynamicObjectResolver.cs" t="Include" />
|
||||
<e p="DynamicUnionResolver.cs" t="Include" />
|
||||
<e p="NativeDateTimeResolver.cs" t="Include" />
|
||||
<e p="NativeDecimalResolver.cs" t="Include" />
|
||||
<e p="NativeGuidResolver.cs" t="Include" />
|
||||
<e p="PrimitiveObjectResolver.cs" t="Include" />
|
||||
<e p="StandardResolver.cs" t="Include" />
|
||||
<e p="StaticCompositeResolver.cs" t="Include" />
|
||||
<e p="TypelessContractlessStandardResolver.cs" t="Include" />
|
||||
<e p="TypelessObjectResolver.cs" t="Include" />
|
||||
</e>
|
||||
<e p="SequencePool.cs" t="Include" />
|
||||
<e p="SequenceReader.cs" t="Include" />
|
||||
<e p="SequenceReaderExtensions.cs" t="Include" />
|
||||
<e p="StreamPolyfillExtensions.cs" t="Include" />
|
||||
<e p="StringEncoding.cs" t="Include" />
|
||||
<e p="T4" t="Include">
|
||||
<e p="ForceSizePrimitiveFormatter.cs" t="Include" />
|
||||
<e p="MessagePackReader.Integers.cs" t="Include" />
|
||||
<e p="PrimitiveFormatter.cs" t="Include" />
|
||||
<e p="TupleFormatter.cs" t="Include" />
|
||||
<e p="UnsafeMemory.cs" t="Include" />
|
||||
<e p="ValueTupleFormatter.cs" t="Include" />
|
||||
</e>
|
||||
<e p="ThisLibraryExtensionTypeCodes.cs" t="Include" />
|
||||
<e p="Unity" t="Include">
|
||||
<e p="Extension" t="Include">
|
||||
<e p="UnityBlitResolver.cs" t="Include" />
|
||||
<e p="UnsafeBlitFormatter.cs" t="Include" />
|
||||
</e>
|
||||
<e p="Formatters.cs" t="Include" />
|
||||
<e p="MessagePackWindow.cs" t="Include" />
|
||||
<e p="UnityResolver.cs" t="Include" />
|
||||
</e>
|
||||
<e p="Utilities.cs" t="Include" />
|
||||
</e>
|
||||
<e p="ServerShared" t="Include">
|
||||
<e p="ChatApp.Shared.Unity.asmdef" t="Include" />
|
||||
<e p="Hubs" t="Include">
|
||||
<e p="IChatHub.cs" t="Include" />
|
||||
<e p="IChatHubReceiver.cs" t="Include" />
|
||||
</e>
|
||||
<e p="MessagePackObjects" t="Include">
|
||||
<e p="Requests.cs" t="Include" />
|
||||
<e p="Responses.cs" t="Include" />
|
||||
</e>
|
||||
<e p="Services" t="Include">
|
||||
<e p="IChatService.cs" t="Include" />
|
||||
</e>
|
||||
</e>
|
||||
</e>
|
||||
</e>
|
||||
<e p="ChatApp.Shared.Unity.csproj" t="IncludeRecursive" />
|
||||
<e p="MagicOnion.Abstractions.csproj" t="IncludeRecursive" />
|
||||
<e p="MagicOnion.csproj" t="IncludeRecursive" />
|
||||
<e p="MagicOnion.Unity.csproj" t="IncludeRecursive" />
|
||||
<e p="MessagePack.csproj" t="IncludeRecursive" />
|
||||
<e p="obj" t="ExcludeRecursive" />
|
||||
<e p="Packages" t="ExcludeRecursive" />
|
||||
<e p="Temp\bin" t="ExcludeRecursive" />
|
||||
</e>
|
||||
</component>
|
||||
</project>
|
||||
4
.idea/.idea.Aetheria-Economy/.idea/encodings.xml
generated
Normal file
4
.idea/.idea.Aetheria-Economy/.idea/encodings.xml
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" addBOMForNewFiles="with NO BOM" />
|
||||
</project>
|
||||
23
.idea/.idea.Aetheria-Economy/.idea/indexLayout.xml
generated
Normal file
23
.idea/.idea.Aetheria-Economy/.idea/indexLayout.xml
generated
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ContentModelUserStore">
|
||||
<attachedFolders />
|
||||
<explicitIncludes>
|
||||
<Path>Library/PackageCache/com.unity.package-manager-ui@2.0.8</Path>
|
||||
<Path>Library/PackageCache/com.unity.textmeshpro@1.4.1</Path>
|
||||
<Path>Packages</Path>
|
||||
<Path>ProjectSettings</Path>
|
||||
</explicitIncludes>
|
||||
<explicitExcludes>
|
||||
<Path>.git</Path>
|
||||
<Path>.idea</Path>
|
||||
<Path>Economy.Server</Path>
|
||||
<Path>Economy.Shared</Path>
|
||||
<Path>Library</Path>
|
||||
<Path>Logs</Path>
|
||||
<Path>Server</Path>
|
||||
<Path>Temp</Path>
|
||||
<Path>obj</Path>
|
||||
</explicitExcludes>
|
||||
</component>
|
||||
</project>
|
||||
8
.idea/.idea.Aetheria-Economy/.idea/modules.xml
generated
Normal file
8
.idea/.idea.Aetheria-Economy/.idea/modules.xml
generated
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/.idea.Aetheria-Economy/riderModule.iml" filepath="$PROJECT_DIR$/.idea/.idea.Aetheria-Economy/riderModule.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/.idea.Aetheria-Economy/.idea/projectSettingsUpdater.xml
generated
Normal file
6
.idea/.idea.Aetheria-Economy/.idea/projectSettingsUpdater.xml
generated
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RiderProjectSettingsUpdater">
|
||||
<option name="vcsConfiguration" value="1" />
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/.idea.Aetheria-Economy/.idea/vcs.xml
generated
Normal file
6
.idea/.idea.Aetheria-Economy/.idea/vcs.xml
generated
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
7
.idea/.idea.Aetheria-Economy/riderModule.iml
generated
Normal file
7
.idea/.idea.Aetheria-Economy/riderModule.iml
generated
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="RIDER_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$/../.." />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
2
.idea/.idea.Economy/.idea/.gitignore
generated
vendored
Normal file
2
.idea/.idea.Economy/.idea/.gitignore
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Default ignored files
|
||||
/workspace.xml
|
||||
1
.idea/.idea.Economy/.idea/.name
generated
Normal file
1
.idea/.idea.Economy/.idea/.name
generated
Normal file
|
|
@ -0,0 +1 @@
|
|||
Economy
|
||||
42
.idea/.idea.Economy/.idea/contentModel.xml
generated
Normal file
42
.idea/.idea.Economy/.idea/contentModel.xml
generated
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ContentModelStore">
|
||||
<e p="C:\Users\rwvens\.Rider2019.3\system\extResources" t="IncludeRecursive" />
|
||||
<e p="C:\Users\rwvens\.Rider2019.3\system\resharper-host\local\Transient\ReSharperHost\v193\SolutionCaches\_Economy.820823087.00" t="ExcludeRecursive" />
|
||||
<e p="C:\Users\rwvens\Documents\GitHub\Aetheria-Economy" t="IncludeFlat">
|
||||
<e p="Assets\Scripts\ServerShared\Hubs\IChatHub.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Hubs\IChatHubReceiver.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\MessagePackObjects\Requests.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\MessagePackObjects\Responses.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Services\IChatService.cs" t="Include" />
|
||||
<e p="Economy.Server" t="IncludeRecursive">
|
||||
<e p="appsettings.json" t="Include" />
|
||||
<e p="bin" t="ExcludeRecursive" />
|
||||
<e p="ChatHub.cs" t="Include" />
|
||||
<e p="ChatService.cs" t="Include" />
|
||||
<e p="Economy.Server.csproj" t="IncludeRecursive" />
|
||||
<e p="obj" t="ExcludeRecursive">
|
||||
<e p="Debug" t="Include">
|
||||
<e p="netcoreapp3.1" t="Include">
|
||||
<e p="Economy.Server.AssemblyInfo.cs" t="Include" />
|
||||
</e>
|
||||
</e>
|
||||
</e>
|
||||
<e p="Program.cs" t="Include" />
|
||||
</e>
|
||||
<e p="Economy.Shared" t="IncludeRecursive">
|
||||
<e p="bin" t="ExcludeRecursive" />
|
||||
<e p="Economy.Shared.csproj" t="IncludeRecursive" />
|
||||
<e p="obj" t="ExcludeRecursive">
|
||||
<e p="Debug" t="Include">
|
||||
<e p="netstandard2.0" t="Include">
|
||||
<e p="Economy.Shared.AssemblyInfo.cs" t="Include" />
|
||||
</e>
|
||||
</e>
|
||||
</e>
|
||||
</e>
|
||||
<e p="Economy.sln" t="IncludeFlat" />
|
||||
<e p="packages" t="ExcludeRecursive" />
|
||||
</e>
|
||||
</component>
|
||||
</project>
|
||||
4
.idea/.idea.Economy/.idea/encodings.xml
generated
Normal file
4
.idea/.idea.Economy/.idea/encodings.xml
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" addBOMForNewFiles="with NO BOM" />
|
||||
</project>
|
||||
22
.idea/.idea.Economy/.idea/indexLayout.xml
generated
Normal file
22
.idea/.idea.Economy/.idea/indexLayout.xml
generated
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ContentModelUserStore">
|
||||
<attachedFolders />
|
||||
<explicitIncludes>
|
||||
<Path>Assets</Path>
|
||||
<Path>Library/PackageCache/com.unity.package-manager-ui@2.0.8</Path>
|
||||
<Path>Library/PackageCache/com.unity.textmeshpro@1.4.1</Path>
|
||||
<Path>Packages</Path>
|
||||
<Path>ProjectSettings</Path>
|
||||
</explicitIncludes>
|
||||
<explicitExcludes>
|
||||
<Path>.git</Path>
|
||||
<Path>.idea</Path>
|
||||
<Path>Library</Path>
|
||||
<Path>Logs</Path>
|
||||
<Path>Server</Path>
|
||||
<Path>Temp</Path>
|
||||
<Path>obj</Path>
|
||||
</explicitExcludes>
|
||||
</component>
|
||||
</project>
|
||||
8
.idea/.idea.Economy/.idea/modules.xml
generated
Normal file
8
.idea/.idea.Economy/.idea/modules.xml
generated
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/.idea.Economy/riderModule.iml" filepath="$PROJECT_DIR$/.idea/.idea.Economy/riderModule.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/.idea.Economy/.idea/projectSettingsUpdater.xml
generated
Normal file
6
.idea/.idea.Economy/.idea/projectSettingsUpdater.xml
generated
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RiderProjectSettingsUpdater">
|
||||
<option name="vcsConfiguration" value="1" />
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/.idea.Economy/.idea/vcs.xml
generated
Normal file
6
.idea/.idea.Economy/.idea/vcs.xml
generated
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
7
.idea/.idea.Economy/riderModule.iml
generated
Normal file
7
.idea/.idea.Economy/riderModule.iml
generated
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="RIDER_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$/../.." />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
8
Assets/Plugins.meta
Normal file
8
Assets/Plugins.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 90833898188c49d46afaf79612689387
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Plugins/Editor.meta
Normal file
8
Assets/Plugins/Editor.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1829d9a4a1359de47bda1a7f40ce3d04
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Plugins/Google.Protobuf.meta
Normal file
8
Assets/Plugins/Google.Protobuf.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 4b6ebd913ac610041b63fc847ee96302
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Plugins/Google.Protobuf/lib.meta
Normal file
8
Assets/Plugins/Google.Protobuf/lib.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e4ab5b3f8a676a84a9eb3ffcf1e8138d
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Plugins/Google.Protobuf/lib/net45.meta
Normal file
8
Assets/Plugins/Google.Protobuf/lib/net45.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 4c50e24955a9a294b99ad097ae2e252a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Plugins/Google.Protobuf/lib/net45/Google.Protobuf.dll
(Stored with Git LFS)
Normal file
BIN
Assets/Plugins/Google.Protobuf/lib/net45/Google.Protobuf.dll
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,30 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 286edf5aec6aae64697e5e8b7ab9b60e
|
||||
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:
|
||||
10
Assets/Plugins/Grpc.Core.Api.meta
Normal file
10
Assets/Plugins/Grpc.Core.Api.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 9b4ba511bab164bf9a5d0db8bb681b05
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
10
Assets/Plugins/Grpc.Core.Api/lib.meta
Normal file
10
Assets/Plugins/Grpc.Core.Api/lib.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 21a3894045fc74e85a09ab84c0e35c3a
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
10
Assets/Plugins/Grpc.Core.Api/lib/net45.meta
Normal file
10
Assets/Plugins/Grpc.Core.Api/lib/net45.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 9fd1c7cd7b6ed4d5285de90a332fb93e
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.dll
(Stored with Git LFS)
Normal file
BIN
Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.dll
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,32 @@
|
|||
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:
|
||||
2539
Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.xml
Normal file
2539
Assets/Plugins/Grpc.Core.Api/lib/net45/Grpc.Core.Api.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,9 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0a4fb8823a783423880c9d8c9d3b5cf4
|
||||
timeCreated: 1531219386
|
||||
licenseType: Free
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
10
Assets/Plugins/Grpc.Core.meta
Normal file
10
Assets/Plugins/Grpc.Core.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e28eaddc034fe664591e93e8816968aa
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
10
Assets/Plugins/Grpc.Core/lib.meta
Normal file
10
Assets/Plugins/Grpc.Core/lib.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1f862d451f11a2442aeac99ad2827285
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
10
Assets/Plugins/Grpc.Core/lib/net45.meta
Normal file
10
Assets/Plugins/Grpc.Core/lib/net45.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 89bdbe2a1282d4e40ba11e96b1481d09
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll
(Stored with Git LFS)
Normal file
BIN
Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll
(Stored with Git LFS)
Normal file
Binary file not shown.
32
Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll.meta
Normal file
32
Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.dll.meta
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
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:
|
||||
2183
Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml
Normal file
2183
Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml
Normal file
File diff suppressed because it is too large
Load diff
9
Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml.meta
Normal file
9
Assets/Plugins/Grpc.Core/lib/net45/Grpc.Core.xml.meta
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ec9cf7702008ac648af0687c05064f78
|
||||
timeCreated: 1531219386
|
||||
licenseType: Free
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
10
Assets/Plugins/Grpc.Core/runtimes.meta
Normal file
10
Assets/Plugins/Grpc.Core/runtimes.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 643bdb9ca01174f4eb77e3e15f8324b3
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
10
Assets/Plugins/Grpc.Core/runtimes/android.meta
Normal file
10
Assets/Plugins/Grpc.Core/runtimes/android.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f7f79be62cf24a940be0211dab5d2e5e
|
||||
folderAsset: yes
|
||||
timeCreated: 1531220113
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a.meta
Normal file
8
Assets/Plugins/Grpc.Core/runtimes/android/arm64-v8a.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 47ba39f5fad6b49c5aae011940e9eea2
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
|
@ -0,0 +1,102 @@
|
|||
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:
|
||||
10
Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a.meta
Normal file
10
Assets/Plugins/Grpc.Core/runtimes/android/armeabi-v7a.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: de2aa4d10bc38f54fb8345aca9b21195
|
||||
folderAsset: yes
|
||||
timeCreated: 1531220167
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
|
@ -0,0 +1,102 @@
|
|||
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:
|
||||
8
Assets/Plugins/Grpc.Core/runtimes/android/x86.meta
Normal file
8
Assets/Plugins/Grpc.Core/runtimes/android/x86.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 800ab3aa15d1b49b19df1caf1315bd3e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
|
@ -0,0 +1,102 @@
|
|||
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:
|
||||
436
Assets/Plugins/Grpc.Core/runtimes/grpc_csharp_ext_dummy_stubs.c
Normal file
436
Assets/Plugins/Grpc.Core/runtimes/grpc_csharp_ext_dummy_stubs.c
Normal file
|
|
@ -0,0 +1,436 @@
|
|||
|
||||
// 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 <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
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();
|
||||
}
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
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:
|
||||
10
Assets/Plugins/Grpc.Core/runtimes/ios.meta
Normal file
10
Assets/Plugins/Grpc.Core/runtimes/ios.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a5f54f019e6510541ac61eeec96aa82d
|
||||
folderAsset: yes
|
||||
timeCreated: 1531456012
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a
(Stored with Git LFS)
Normal file
BIN
Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a
(Stored with Git LFS)
Normal file
Binary file not shown.
95
Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a.meta
Normal file
95
Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc.a.meta
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
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:
|
||||
BIN
Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a
(Stored with Git LFS)
Normal file
BIN
Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a
(Stored with Git LFS)
Normal file
Binary file not shown.
117
Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a.meta
Normal file
117
Assets/Plugins/Grpc.Core/runtimes/ios/libgrpc_csharp_ext.a.meta
Normal file
|
|
@ -0,0 +1,117 @@
|
|||
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:
|
||||
10
Assets/Plugins/Grpc.Core/runtimes/linux.meta
Normal file
10
Assets/Plugins/Grpc.Core/runtimes/linux.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1ff40de7dc502c14e8893c7679e9f44a
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
10
Assets/Plugins/Grpc.Core/runtimes/linux/x64.meta
Normal file
10
Assets/Plugins/Grpc.Core/runtimes/linux/x64.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 08ccfdbfbd8d2d6458eb44d41a7b0b0a
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
|
@ -0,0 +1,117 @@
|
|||
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:
|
||||
10
Assets/Plugins/Grpc.Core/runtimes/linux/x86.meta
Normal file
10
Assets/Plugins/Grpc.Core/runtimes/linux/x86.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d62d998e3cdebd542a967743103c64b6
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
|
@ -0,0 +1,117 @@
|
|||
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:
|
||||
10
Assets/Plugins/Grpc.Core/runtimes/osx.meta
Normal file
10
Assets/Plugins/Grpc.Core/runtimes/osx.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 7b1ebe888da0a174c95a712766d2558c
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
10
Assets/Plugins/Grpc.Core/runtimes/osx/x64.meta
Normal file
10
Assets/Plugins/Grpc.Core/runtimes/osx/x64.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ccea531b15a71974a91329186dd65075
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Plugins/Grpc.Core/runtimes/osx/x64/grpc_csharp_ext.bundle
(Stored with Git LFS)
Normal file
BIN
Assets/Plugins/Grpc.Core/runtimes/osx/x64/grpc_csharp_ext.bundle
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,117 @@
|
|||
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:
|
||||
10
Assets/Plugins/Grpc.Core/runtimes/osx/x86.meta
Normal file
10
Assets/Plugins/Grpc.Core/runtimes/osx/x86.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 2ee63d0ffcfa72a4fbd7ad04ba34cadb
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Plugins/Grpc.Core/runtimes/osx/x86/grpc_csharp_ext.bundle
(Stored with Git LFS)
Normal file
BIN
Assets/Plugins/Grpc.Core/runtimes/osx/x86/grpc_csharp_ext.bundle
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,117 @@
|
|||
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:
|
||||
10
Assets/Plugins/Grpc.Core/runtimes/win.meta
Normal file
10
Assets/Plugins/Grpc.Core/runtimes/win.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 928a9392668000344b70b6fd126e522c
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
10
Assets/Plugins/Grpc.Core/runtimes/win/x64.meta
Normal file
10
Assets/Plugins/Grpc.Core/runtimes/win/x64.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 34969b8c99d7a934eaa5e84da9fcf326
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Plugins/Grpc.Core/runtimes/win/x64/grpc_csharp_ext.dll
(Stored with Git LFS)
Normal file
BIN
Assets/Plugins/Grpc.Core/runtimes/win/x64/grpc_csharp_ext.dll
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,117 @@
|
|||
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:
|
||||
10
Assets/Plugins/Grpc.Core/runtimes/win/x86.meta
Normal file
10
Assets/Plugins/Grpc.Core/runtimes/win/x86.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ed5c6044f868f9a4f955b7db2d2df619
|
||||
folderAsset: yes
|
||||
timeCreated: 1531219385
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Plugins/Grpc.Core/runtimes/win/x86/grpc_csharp_ext.dll
(Stored with Git LFS)
Normal file
BIN
Assets/Plugins/Grpc.Core/runtimes/win/x86/grpc_csharp_ext.dll
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,117 @@
|
|||
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:
|
||||
BIN
Assets/Plugins/System.Buffers.dll
(Stored with Git LFS)
Normal file
BIN
Assets/Plugins/System.Buffers.dll
(Stored with Git LFS)
Normal file
Binary file not shown.
33
Assets/Plugins/System.Buffers.dll.meta
Normal file
33
Assets/Plugins/System.Buffers.dll.meta
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ce837d1683742b46ab956fb33360fafe
|
||||
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:
|
||||
BIN
Assets/Plugins/System.Memory.dll
(Stored with Git LFS)
Normal file
BIN
Assets/Plugins/System.Memory.dll
(Stored with Git LFS)
Normal file
Binary file not shown.
33
Assets/Plugins/System.Memory.dll.meta
Normal file
33
Assets/Plugins/System.Memory.dll.meta
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 273576731295a11c1b7fca8490ef5afd
|
||||
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:
|
||||
BIN
Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll
(Stored with Git LFS)
Normal file
BIN
Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,33 @@
|
|||
fileFormatVersion: 2
|
||||
guid: c4ad452d6724491ca843aaee0eacf0e1
|
||||
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:
|
||||
BIN
Assets/Plugins/System.Threading.Tasks.Extensions.dll
(Stored with Git LFS)
Normal file
BIN
Assets/Plugins/System.Threading.Tasks.Extensions.dll
(Stored with Git LFS)
Normal file
Binary file not shown.
33
Assets/Plugins/System.Threading.Tasks.Extensions.dll.meta
Normal file
33
Assets/Plugins/System.Threading.Tasks.Extensions.dll.meta
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 7d5fdfa6c0d89190186e8a6be326096d
|
||||
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:
|
||||
3131
Assets/Scenes/ChatScene.unity
Normal file
3131
Assets/Scenes/ChatScene.unity
Normal file
File diff suppressed because it is too large
Load diff
7
Assets/Scenes/ChatScene.unity.meta
Normal file
7
Assets/Scenes/ChatScene.unity.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ea5a8dc36702b6445b34bb7c7c5eb088
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Scripts.meta
Normal file
8
Assets/Scripts.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8e21db93f5570914091daea046edc6a5
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
223
Assets/Scripts/ChatComponent.cs
Normal file
223
Assets/Scripts/ChatComponent.cs
Normal file
|
|
@ -0,0 +1,223 @@
|
|||
using ChatApp.Shared.Hubs;
|
||||
using ChatApp.Shared.MessagePackObjects;
|
||||
using ChatApp.Shared.Services;
|
||||
using Grpc.Core;
|
||||
using MagicOnion.Client;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Assets.Scripts
|
||||
{
|
||||
public class ChatComponent : MonoBehaviour, IChatHubReceiver
|
||||
{
|
||||
private Channel channel;
|
||||
private IChatHub streamingClient;
|
||||
private IChatService client;
|
||||
|
||||
private bool isJoin;
|
||||
private bool isSelfDisConnected;
|
||||
|
||||
public Text ChatText;
|
||||
|
||||
public Button JoinOrLeaveButton;
|
||||
|
||||
public Text JoinOrLeaveButtonText;
|
||||
|
||||
public Button SendMessageButton;
|
||||
|
||||
public InputField Input;
|
||||
|
||||
public InputField ReportInput;
|
||||
|
||||
public Button SendReportButton;
|
||||
|
||||
public Button DisconnectButon;
|
||||
public Button ExceptionButton;
|
||||
public Button UnaryExceptionButton;
|
||||
|
||||
|
||||
void Start()
|
||||
{
|
||||
this.InitializeClient();
|
||||
this.InitializeUi();
|
||||
}
|
||||
|
||||
|
||||
async void OnDestroy()
|
||||
{
|
||||
// Clean up Hub and channel
|
||||
await this.streamingClient.DisposeAsync();
|
||||
await this.channel.ShutdownAsync();
|
||||
}
|
||||
|
||||
|
||||
private void InitializeClient()
|
||||
{
|
||||
// Initialize the Hub
|
||||
this.channel = new Channel("localhost", 12345, ChannelCredentials.Insecure);
|
||||
// for SSL/TLS connection
|
||||
//var serverCred = new SslCredentials(File.ReadAllText(Path.Combine(Application.streamingAssetsPath, "server.crt")));
|
||||
//this.channel = new Channel("test.example.com", 12345, serverCred);
|
||||
this.streamingClient = StreamingHubClient.Connect<IChatHub, IChatHubReceiver>(this.channel, this);
|
||||
this.RegisterDisconnectEvent(streamingClient);
|
||||
this.client = MagicOnionClient.Create<IChatService>(this.channel);
|
||||
}
|
||||
|
||||
|
||||
private void InitializeUi()
|
||||
{
|
||||
this.isJoin = false;
|
||||
|
||||
this.SendMessageButton.interactable = false;
|
||||
this.ChatText.text = string.Empty;
|
||||
this.Input.text = string.Empty;
|
||||
this.Input.placeholder.GetComponent<Text>().text = "Please enter your name.";
|
||||
this.JoinOrLeaveButtonText.text = "Enter the room";
|
||||
this.ExceptionButton.interactable = false;
|
||||
}
|
||||
|
||||
|
||||
private async void RegisterDisconnectEvent(IChatHub streamingClient)
|
||||
{
|
||||
try
|
||||
{
|
||||
// you can wait disconnected event
|
||||
await streamingClient.WaitForDisconnect();
|
||||
}
|
||||
finally
|
||||
{
|
||||
// try-to-reconnect? logging event? close? etc...
|
||||
Debug.Log("disconnected server.");
|
||||
|
||||
if (this.isSelfDisConnected)
|
||||
{
|
||||
// there is no particular meaning
|
||||
await Task.Delay(2000);
|
||||
|
||||
// reconnect
|
||||
this.ReconnectServer();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public async void DisconnectServer()
|
||||
{
|
||||
this.isSelfDisConnected = true;
|
||||
|
||||
this.JoinOrLeaveButton.interactable = false;
|
||||
this.SendMessageButton.interactable = false;
|
||||
this.SendReportButton.interactable = false;
|
||||
this.DisconnectButon.interactable = false;
|
||||
this.ExceptionButton.interactable = false;
|
||||
this.UnaryExceptionButton.interactable = false;
|
||||
|
||||
if (this.isJoin)
|
||||
this.JoinOrLeave();
|
||||
|
||||
await this.streamingClient.DisposeAsync();
|
||||
}
|
||||
|
||||
|
||||
private void ReconnectServer()
|
||||
{
|
||||
this.streamingClient = StreamingHubClient.Connect<IChatHub, IChatHubReceiver>(this.channel, this);
|
||||
this.RegisterDisconnectEvent(streamingClient);
|
||||
Debug.Log("Reconnected server.");
|
||||
|
||||
this.JoinOrLeaveButton.interactable = true;
|
||||
this.SendMessageButton.interactable = false;
|
||||
this.SendReportButton.interactable = true;
|
||||
this.DisconnectButon.interactable = true;
|
||||
this.ExceptionButton.interactable = true;
|
||||
this.UnaryExceptionButton.interactable = true;
|
||||
|
||||
this.isSelfDisConnected = false;
|
||||
}
|
||||
|
||||
|
||||
#region Client -> Server (Streaming)
|
||||
public async void JoinOrLeave()
|
||||
{
|
||||
if (this.isJoin)
|
||||
{
|
||||
await this.streamingClient.LeaveAsync();
|
||||
|
||||
this.InitializeUi();
|
||||
}
|
||||
else
|
||||
{
|
||||
var request = new JoinRequest { RoomName = "SampleRoom", UserName = this.Input.text };
|
||||
await this.streamingClient.JoinAsync(request);
|
||||
|
||||
this.isJoin = true;
|
||||
this.SendMessageButton.interactable = true;
|
||||
this.JoinOrLeaveButtonText.text = "Leave the room";
|
||||
this.Input.text = string.Empty;
|
||||
this.Input.placeholder.GetComponent<Text>().text = "Please enter a comment.";
|
||||
this.ExceptionButton.interactable = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public async void SendMessage()
|
||||
{
|
||||
if (!this.isJoin)
|
||||
return;
|
||||
|
||||
await this.streamingClient.SendMessageAsync(this.Input.text);
|
||||
|
||||
this.Input.text = string.Empty;
|
||||
}
|
||||
|
||||
public async void GenerateException()
|
||||
{
|
||||
// hub
|
||||
if (!this.isJoin) return;
|
||||
await this.streamingClient.GenerateException("client exception(streaminghub)!");
|
||||
}
|
||||
|
||||
public void SampleMethod()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#region Server -> Client (Streaming)
|
||||
public void OnJoin(string name)
|
||||
{
|
||||
this.ChatText.text += $"\n<color=grey>{name} entered the room.</color>";
|
||||
}
|
||||
|
||||
|
||||
public void OnLeave(string name)
|
||||
{
|
||||
this.ChatText.text += $"\n<color=grey>{name} left the room.</color>";
|
||||
}
|
||||
|
||||
public void OnSendMessage(MessageResponse message)
|
||||
{
|
||||
this.ChatText.text += $"\n{message.UserName}:{message.Message}";
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#region Client -> Server (Unary)
|
||||
public async void SendReport()
|
||||
{
|
||||
await this.client.SendReportAsync(this.ReportInput.text);
|
||||
|
||||
this.ReportInput.text = string.Empty;
|
||||
}
|
||||
|
||||
public async void UnaryGenerateException()
|
||||
{
|
||||
// unary
|
||||
await this.client.GenerateException("client exception(unary)!");
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/ChatComponent.cs.meta
Normal file
11
Assets/Scripts/ChatComponent.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 7ea9e77872213814ea60ab05d1064578
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Scripts/Generated.meta
Normal file
8
Assets/Scripts/Generated.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d7949e630c7ec6044af484bed87f78fd
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
397
Assets/Scripts/Generated/MagicOnion.Generated.cs
Normal file
397
Assets/Scripts/Generated/MagicOnion.Generated.cs
Normal file
|
|
@ -0,0 +1,397 @@
|
|||
// <auto-generated />
|
||||
#pragma warning disable 618
|
||||
#pragma warning disable 612
|
||||
#pragma warning disable 414
|
||||
#pragma warning disable 219
|
||||
#pragma warning disable 168
|
||||
|
||||
namespace MagicOnion
|
||||
{
|
||||
using global::System;
|
||||
using global::System.Collections.Generic;
|
||||
using global::System.Linq;
|
||||
using global::MagicOnion;
|
||||
using global::MagicOnion.Client;
|
||||
|
||||
public static partial class MagicOnionInitializer
|
||||
{
|
||||
static bool isRegistered = false;
|
||||
|
||||
[UnityEngine.RuntimeInitializeOnLoadMethod(UnityEngine.RuntimeInitializeLoadType.BeforeSceneLoad)]
|
||||
public static void Register()
|
||||
{
|
||||
if(isRegistered) return;
|
||||
isRegistered = true;
|
||||
|
||||
MagicOnionClientRegistry<ChatApp.Shared.Services.IChatService>.Register((x, y, z) => new ChatApp.Shared.Services.ChatServiceClient(x, y, z));
|
||||
|
||||
StreamingHubClientRegistry<ChatApp.Shared.Hubs.IChatHub, ChatApp.Shared.Hubs.IChatHubReceiver>.Register((a, _, b, c, d, e) => new ChatApp.Shared.Hubs.ChatHubClient(a, b, c, d, e));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pragma warning restore 168
|
||||
#pragma warning restore 219
|
||||
#pragma warning restore 414
|
||||
#pragma warning restore 612
|
||||
#pragma warning restore 618
|
||||
#pragma warning disable 618
|
||||
#pragma warning disable 612
|
||||
#pragma warning disable 414
|
||||
#pragma warning disable 219
|
||||
#pragma warning disable 168
|
||||
|
||||
namespace MagicOnion.Resolvers
|
||||
{
|
||||
using System;
|
||||
using MessagePack;
|
||||
|
||||
public class MagicOnionResolver : global::MessagePack.IFormatterResolver
|
||||
{
|
||||
public static readonly global::MessagePack.IFormatterResolver Instance = new MagicOnionResolver();
|
||||
|
||||
MagicOnionResolver()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public global::MessagePack.Formatters.IMessagePackFormatter<T> GetFormatter<T>()
|
||||
{
|
||||
return FormatterCache<T>.formatter;
|
||||
}
|
||||
|
||||
static class FormatterCache<T>
|
||||
{
|
||||
public static readonly global::MessagePack.Formatters.IMessagePackFormatter<T> formatter;
|
||||
|
||||
static FormatterCache()
|
||||
{
|
||||
var f = MagicOnionResolverGetFormatterHelper.GetFormatter(typeof(T));
|
||||
if (f != null)
|
||||
{
|
||||
formatter = (global::MessagePack.Formatters.IMessagePackFormatter<T>)f;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal static class MagicOnionResolverGetFormatterHelper
|
||||
{
|
||||
static readonly global::System.Collections.Generic.Dictionary<Type, int> lookup;
|
||||
|
||||
static MagicOnionResolverGetFormatterHelper()
|
||||
{
|
||||
lookup = new global::System.Collections.Generic.Dictionary<Type, int>(3)
|
||||
{
|
||||
{typeof(global::MagicOnion.DynamicArgumentTuple<global::System.Collections.Generic.List<int>, global::System.Collections.Generic.Dictionary<int, string>>), 0 },
|
||||
{typeof(global::System.Collections.Generic.Dictionary<int, string>), 1 },
|
||||
{typeof(global::System.Collections.Generic.List<int>), 2 },
|
||||
};
|
||||
}
|
||||
|
||||
internal static object GetFormatter(Type t)
|
||||
{
|
||||
int key;
|
||||
if (!lookup.TryGetValue(t, out key))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
switch (key)
|
||||
{
|
||||
case 0: return new global::MagicOnion.DynamicArgumentTupleFormatter<global::System.Collections.Generic.List<int>, global::System.Collections.Generic.Dictionary<int, string>>(default(global::System.Collections.Generic.List<int>), default(global::System.Collections.Generic.Dictionary<int, string>));
|
||||
case 1: return new global::MessagePack.Formatters.DictionaryFormatter<int, string>();
|
||||
case 2: return new global::MessagePack.Formatters.ListFormatter<int>();
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pragma warning restore 168
|
||||
#pragma warning restore 219
|
||||
#pragma warning restore 414
|
||||
#pragma warning restore 612
|
||||
#pragma warning restore 618
|
||||
#pragma warning disable 618
|
||||
#pragma warning disable 612
|
||||
#pragma warning disable 414
|
||||
#pragma warning disable 219
|
||||
#pragma warning disable 168
|
||||
|
||||
namespace ChatApp.Shared.Services {
|
||||
using System;
|
||||
using MagicOnion;
|
||||
using MagicOnion.Client;
|
||||
using Grpc.Core;
|
||||
using MessagePack;
|
||||
|
||||
[Ignore]
|
||||
public class ChatServiceClient : MagicOnionClientBase<global::ChatApp.Shared.Services.IChatService>, global::ChatApp.Shared.Services.IChatService
|
||||
{
|
||||
static readonly Method<byte[], byte[]> GenerateExceptionMethod;
|
||||
static readonly Func<RequestContext, ResponseContext> GenerateExceptionDelegate;
|
||||
static readonly Method<byte[], byte[]> SendReportAsyncMethod;
|
||||
static readonly Func<RequestContext, ResponseContext> SendReportAsyncDelegate;
|
||||
|
||||
static ChatServiceClient()
|
||||
{
|
||||
GenerateExceptionMethod = new Method<byte[], byte[]>(MethodType.Unary, "IChatService", "GenerateException", MagicOnionMarshallers.ThroughMarshaller, MagicOnionMarshallers.ThroughMarshaller);
|
||||
GenerateExceptionDelegate = _GenerateException;
|
||||
SendReportAsyncMethod = new Method<byte[], byte[]>(MethodType.Unary, "IChatService", "SendReportAsync", MagicOnionMarshallers.ThroughMarshaller, MagicOnionMarshallers.ThroughMarshaller);
|
||||
SendReportAsyncDelegate = _SendReportAsync;
|
||||
}
|
||||
|
||||
ChatServiceClient()
|
||||
{
|
||||
}
|
||||
|
||||
public ChatServiceClient(CallInvoker callInvoker, MessagePackSerializerOptions serializerOptions, IClientFilter[] filters)
|
||||
: base(callInvoker, serializerOptions, filters)
|
||||
{
|
||||
}
|
||||
|
||||
protected override MagicOnionClientBase<IChatService> Clone()
|
||||
{
|
||||
var clone = new ChatServiceClient();
|
||||
clone.host = this.host;
|
||||
clone.option = this.option;
|
||||
clone.callInvoker = this.callInvoker;
|
||||
clone.serializerOptions = this.serializerOptions;
|
||||
clone.filters = filters;
|
||||
return clone;
|
||||
}
|
||||
|
||||
public new IChatService WithHeaders(Metadata headers)
|
||||
{
|
||||
return base.WithHeaders(headers);
|
||||
}
|
||||
|
||||
public new IChatService WithCancellationToken(System.Threading.CancellationToken cancellationToken)
|
||||
{
|
||||
return base.WithCancellationToken(cancellationToken);
|
||||
}
|
||||
|
||||
public new IChatService WithDeadline(System.DateTime deadline)
|
||||
{
|
||||
return base.WithDeadline(deadline);
|
||||
}
|
||||
|
||||
public new IChatService WithHost(string host)
|
||||
{
|
||||
return base.WithHost(host);
|
||||
}
|
||||
|
||||
public new IChatService WithOptions(CallOptions option)
|
||||
{
|
||||
return base.WithOptions(option);
|
||||
}
|
||||
|
||||
static ResponseContext _GenerateException(RequestContext __context)
|
||||
{
|
||||
return CreateResponseContext<string, Nil>(__context, GenerateExceptionMethod);
|
||||
}
|
||||
|
||||
public global::MagicOnion.UnaryResult<Nil> GenerateException(string message)
|
||||
{
|
||||
return InvokeAsync<string, Nil>("IChatService/GenerateException", message, GenerateExceptionDelegate);
|
||||
}
|
||||
static ResponseContext _SendReportAsync(RequestContext __context)
|
||||
{
|
||||
return CreateResponseContext<string, Nil>(__context, SendReportAsyncMethod);
|
||||
}
|
||||
|
||||
public global::MagicOnion.UnaryResult<Nil> SendReportAsync(string message)
|
||||
{
|
||||
return InvokeAsync<string, Nil>("IChatService/SendReportAsync", message, SendReportAsyncDelegate);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pragma warning restore 168
|
||||
#pragma warning restore 219
|
||||
#pragma warning restore 414
|
||||
#pragma warning restore 612
|
||||
#pragma warning restore 618
|
||||
#pragma warning disable 618
|
||||
#pragma warning disable 612
|
||||
#pragma warning disable 414
|
||||
#pragma warning disable 219
|
||||
#pragma warning disable 168
|
||||
|
||||
namespace ChatApp.Shared.Hubs {
|
||||
using Grpc.Core;
|
||||
using Grpc.Core.Logging;
|
||||
using MagicOnion;
|
||||
using MagicOnion.Client;
|
||||
using MessagePack;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
[Ignore]
|
||||
public class ChatHubClient : StreamingHubClientBase<global::ChatApp.Shared.Hubs.IChatHub, global::ChatApp.Shared.Hubs.IChatHubReceiver>, global::ChatApp.Shared.Hubs.IChatHub
|
||||
{
|
||||
static readonly Method<byte[], byte[]> method = new Method<byte[], byte[]>(MethodType.DuplexStreaming, "IChatHub", "Connect", MagicOnionMarshallers.ThroughMarshaller, MagicOnionMarshallers.ThroughMarshaller);
|
||||
|
||||
protected override Method<byte[], byte[]> DuplexStreamingAsyncMethod { get { return method; } }
|
||||
|
||||
readonly global::ChatApp.Shared.Hubs.IChatHub __fireAndForgetClient;
|
||||
|
||||
public ChatHubClient(CallInvoker callInvoker, string host, CallOptions option, MessagePackSerializerOptions serializerOptions, ILogger logger)
|
||||
: base(callInvoker, host, option, serializerOptions, logger)
|
||||
{
|
||||
this.__fireAndForgetClient = new FireAndForgetClient(this);
|
||||
}
|
||||
|
||||
public global::ChatApp.Shared.Hubs.IChatHub FireAndForget()
|
||||
{
|
||||
return __fireAndForgetClient;
|
||||
}
|
||||
|
||||
protected override void OnBroadcastEvent(int methodId, ArraySegment<byte> data)
|
||||
{
|
||||
switch (methodId)
|
||||
{
|
||||
case -1297457280: // OnJoin
|
||||
{
|
||||
var result = MessagePackSerializer.Deserialize<string>(data, serializerOptions);
|
||||
receiver.OnJoin(result); break;
|
||||
}
|
||||
case 532410095: // OnLeave
|
||||
{
|
||||
var result = MessagePackSerializer.Deserialize<string>(data, serializerOptions);
|
||||
receiver.OnLeave(result); break;
|
||||
}
|
||||
case -552695459: // OnSendMessage
|
||||
{
|
||||
var result = MessagePackSerializer.Deserialize<global::ChatApp.Shared.MessagePackObjects.MessageResponse>(data, serializerOptions);
|
||||
receiver.OnSendMessage(result); break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnResponseEvent(int methodId, object taskCompletionSource, ArraySegment<byte> data)
|
||||
{
|
||||
switch (methodId)
|
||||
{
|
||||
case -733403293: // JoinAsync
|
||||
{
|
||||
var result = MessagePackSerializer.Deserialize<Nil>(data, serializerOptions);
|
||||
((TaskCompletionSource<Nil>)taskCompletionSource).TrySetResult(result);
|
||||
break;
|
||||
}
|
||||
case 1368362116: // LeaveAsync
|
||||
{
|
||||
var result = MessagePackSerializer.Deserialize<Nil>(data, serializerOptions);
|
||||
((TaskCompletionSource<Nil>)taskCompletionSource).TrySetResult(result);
|
||||
break;
|
||||
}
|
||||
case -601690414: // SendMessageAsync
|
||||
{
|
||||
var result = MessagePackSerializer.Deserialize<Nil>(data, serializerOptions);
|
||||
((TaskCompletionSource<Nil>)taskCompletionSource).TrySetResult(result);
|
||||
break;
|
||||
}
|
||||
case 517938971: // GenerateException
|
||||
{
|
||||
var result = MessagePackSerializer.Deserialize<Nil>(data, serializerOptions);
|
||||
((TaskCompletionSource<Nil>)taskCompletionSource).TrySetResult(result);
|
||||
break;
|
||||
}
|
||||
case -852153394: // SampleMethod
|
||||
{
|
||||
var result = MessagePackSerializer.Deserialize<Nil>(data, serializerOptions);
|
||||
((TaskCompletionSource<Nil>)taskCompletionSource).TrySetResult(result);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public global::System.Threading.Tasks.Task JoinAsync(global::ChatApp.Shared.MessagePackObjects.JoinRequest request)
|
||||
{
|
||||
return WriteMessageWithResponseAsync<global::ChatApp.Shared.MessagePackObjects.JoinRequest, Nil>(-733403293, request);
|
||||
}
|
||||
|
||||
public global::System.Threading.Tasks.Task LeaveAsync()
|
||||
{
|
||||
return WriteMessageWithResponseAsync<Nil, Nil>(1368362116, Nil.Default);
|
||||
}
|
||||
|
||||
public global::System.Threading.Tasks.Task SendMessageAsync(string message)
|
||||
{
|
||||
return WriteMessageWithResponseAsync<string, Nil>(-601690414, message);
|
||||
}
|
||||
|
||||
public global::System.Threading.Tasks.Task GenerateException(string message)
|
||||
{
|
||||
return WriteMessageWithResponseAsync<string, Nil>(517938971, message);
|
||||
}
|
||||
|
||||
public global::System.Threading.Tasks.Task SampleMethod(global::System.Collections.Generic.List<int> sampleList, global::System.Collections.Generic.Dictionary<int, string> sampleDictionary)
|
||||
{
|
||||
return WriteMessageWithResponseAsync<DynamicArgumentTuple<global::System.Collections.Generic.List<int>, global::System.Collections.Generic.Dictionary<int, string>>, Nil>(-852153394, new DynamicArgumentTuple<global::System.Collections.Generic.List<int>, global::System.Collections.Generic.Dictionary<int, string>>(sampleList, sampleDictionary));
|
||||
}
|
||||
|
||||
|
||||
class FireAndForgetClient : global::ChatApp.Shared.Hubs.IChatHub
|
||||
{
|
||||
readonly ChatHubClient __parent;
|
||||
|
||||
public FireAndForgetClient(ChatHubClient parentClient)
|
||||
{
|
||||
this.__parent = parentClient;
|
||||
}
|
||||
|
||||
public global::ChatApp.Shared.Hubs.IChatHub FireAndForget()
|
||||
{
|
||||
throw new NotSupportedException();
|
||||
}
|
||||
|
||||
public Task DisposeAsync()
|
||||
{
|
||||
throw new NotSupportedException();
|
||||
}
|
||||
|
||||
public Task WaitForDisconnect()
|
||||
{
|
||||
throw new NotSupportedException();
|
||||
}
|
||||
|
||||
public global::System.Threading.Tasks.Task JoinAsync(global::ChatApp.Shared.MessagePackObjects.JoinRequest request)
|
||||
{
|
||||
return __parent.WriteMessageAsync<global::ChatApp.Shared.MessagePackObjects.JoinRequest>(-733403293, request);
|
||||
}
|
||||
|
||||
public global::System.Threading.Tasks.Task LeaveAsync()
|
||||
{
|
||||
return __parent.WriteMessageAsync<Nil>(1368362116, Nil.Default);
|
||||
}
|
||||
|
||||
public global::System.Threading.Tasks.Task SendMessageAsync(string message)
|
||||
{
|
||||
return __parent.WriteMessageAsync<string>(-601690414, message);
|
||||
}
|
||||
|
||||
public global::System.Threading.Tasks.Task GenerateException(string message)
|
||||
{
|
||||
return __parent.WriteMessageAsync<string>(517938971, message);
|
||||
}
|
||||
|
||||
public global::System.Threading.Tasks.Task SampleMethod(global::System.Collections.Generic.List<int> sampleList, global::System.Collections.Generic.Dictionary<int, string> sampleDictionary)
|
||||
{
|
||||
return __parent.WriteMessageAsync<DynamicArgumentTuple<global::System.Collections.Generic.List<int>, global::System.Collections.Generic.Dictionary<int, string>>>(-852153394, new DynamicArgumentTuple<global::System.Collections.Generic.List<int>, global::System.Collections.Generic.Dictionary<int, string>>(sampleList, sampleDictionary));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pragma warning restore 168
|
||||
#pragma warning restore 219
|
||||
#pragma warning restore 414
|
||||
#pragma warning restore 618
|
||||
#pragma warning restore 612
|
||||
11
Assets/Scripts/Generated/MagicOnion.Generated.cs.meta
Normal file
11
Assets/Scripts/Generated/MagicOnion.Generated.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8101cc28afd16634bb4bbd1bff64cf99
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
223
Assets/Scripts/Generated/MessagePack.Generated.cs
Normal file
223
Assets/Scripts/Generated/MessagePack.Generated.cs
Normal file
|
|
@ -0,0 +1,223 @@
|
|||
// <auto-generated>
|
||||
// THIS (.cs) FILE IS GENERATED BY MPC(MessagePack-CSharp). DO NOT CHANGE IT.
|
||||
// </auto-generated>
|
||||
|
||||
#pragma warning disable 618
|
||||
#pragma warning disable 612
|
||||
#pragma warning disable 414
|
||||
#pragma warning disable 168
|
||||
|
||||
#pragma warning disable SA1200 // Using directives should be placed correctly
|
||||
#pragma warning disable SA1312 // Variable names should begin with lower-case letter
|
||||
#pragma warning disable SA1649 // File name should match first type name
|
||||
|
||||
namespace MessagePack.Resolvers
|
||||
{
|
||||
using System;
|
||||
using System.Buffers;
|
||||
using MessagePack;
|
||||
|
||||
public class GeneratedResolver : global::MessagePack.IFormatterResolver
|
||||
{
|
||||
public static readonly global::MessagePack.IFormatterResolver Instance = new GeneratedResolver();
|
||||
|
||||
private GeneratedResolver()
|
||||
{
|
||||
}
|
||||
|
||||
public global::MessagePack.Formatters.IMessagePackFormatter<T> GetFormatter<T>()
|
||||
{
|
||||
return FormatterCache<T>.Formatter;
|
||||
}
|
||||
|
||||
private static class FormatterCache<T>
|
||||
{
|
||||
internal static readonly global::MessagePack.Formatters.IMessagePackFormatter<T> Formatter;
|
||||
|
||||
static FormatterCache()
|
||||
{
|
||||
var f = GeneratedResolverGetFormatterHelper.GetFormatter(typeof(T));
|
||||
if (f != null)
|
||||
{
|
||||
Formatter = (global::MessagePack.Formatters.IMessagePackFormatter<T>)f;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal static class GeneratedResolverGetFormatterHelper
|
||||
{
|
||||
private static readonly global::System.Collections.Generic.Dictionary<Type, int> lookup;
|
||||
|
||||
static GeneratedResolverGetFormatterHelper()
|
||||
{
|
||||
lookup = new global::System.Collections.Generic.Dictionary<Type, int>(2)
|
||||
{
|
||||
{ typeof(global::ChatApp.Shared.MessagePackObjects.JoinRequest), 0 },
|
||||
{ typeof(global::ChatApp.Shared.MessagePackObjects.MessageResponse), 1 },
|
||||
};
|
||||
}
|
||||
|
||||
internal static object GetFormatter(Type t)
|
||||
{
|
||||
int key;
|
||||
if (!lookup.TryGetValue(t, out key))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
switch (key)
|
||||
{
|
||||
case 0: return new MessagePack.Formatters.ChatApp.Shared.MessagePackObjects.JoinRequestFormatter();
|
||||
case 1: return new MessagePack.Formatters.ChatApp.Shared.MessagePackObjects.MessageResponseFormatter();
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pragma warning restore 168
|
||||
#pragma warning restore 414
|
||||
#pragma warning restore 618
|
||||
#pragma warning restore 612
|
||||
|
||||
#pragma warning restore SA1312 // Variable names should begin with lower-case letter
|
||||
#pragma warning restore SA1200 // Using directives should be placed correctly
|
||||
#pragma warning restore SA1649 // File name should match first type name
|
||||
|
||||
|
||||
|
||||
|
||||
// <auto-generated>
|
||||
// THIS (.cs) FILE IS GENERATED BY MPC(MessagePack-CSharp). DO NOT CHANGE IT.
|
||||
// </auto-generated>
|
||||
|
||||
#pragma warning disable 618
|
||||
#pragma warning disable 612
|
||||
#pragma warning disable 414
|
||||
#pragma warning disable 168
|
||||
|
||||
#pragma warning disable SA1129 // Do not use default value type constructor
|
||||
#pragma warning disable SA1200 // Using directives should be placed correctly
|
||||
#pragma warning disable SA1309 // Field names should not begin with underscore
|
||||
#pragma warning disable SA1312 // Variable names should begin with lower-case letter
|
||||
#pragma warning disable SA1403 // File may only contain a single namespace
|
||||
#pragma warning disable SA1649 // File name should match first type name
|
||||
|
||||
namespace MessagePack.Formatters.ChatApp.Shared.MessagePackObjects
|
||||
{
|
||||
using System;
|
||||
using System.Buffers;
|
||||
using MessagePack;
|
||||
|
||||
public sealed class JoinRequestFormatter : global::MessagePack.Formatters.IMessagePackFormatter<global::ChatApp.Shared.MessagePackObjects.JoinRequest>
|
||||
{
|
||||
|
||||
|
||||
public void Serialize(ref MessagePackWriter writer, global::ChatApp.Shared.MessagePackObjects.JoinRequest value, global::MessagePack.MessagePackSerializerOptions options)
|
||||
{
|
||||
IFormatterResolver formatterResolver = options.Resolver;
|
||||
writer.WriteArrayHeader(2);
|
||||
formatterResolver.GetFormatterWithVerify<string>().Serialize(ref writer, value.RoomName, options);
|
||||
formatterResolver.GetFormatterWithVerify<string>().Serialize(ref writer, value.UserName, options);
|
||||
}
|
||||
|
||||
public global::ChatApp.Shared.MessagePackObjects.JoinRequest Deserialize(ref MessagePackReader reader, global::MessagePack.MessagePackSerializerOptions options)
|
||||
{
|
||||
if (reader.TryReadNil())
|
||||
{
|
||||
throw new InvalidOperationException("typecode is null, struct not supported");
|
||||
}
|
||||
|
||||
IFormatterResolver formatterResolver = options.Resolver;
|
||||
var length = reader.ReadArrayHeader();
|
||||
var __RoomName__ = default(string);
|
||||
var __UserName__ = default(string);
|
||||
|
||||
for (int i = 0; i < length; i++)
|
||||
{
|
||||
var key = i;
|
||||
|
||||
switch (key)
|
||||
{
|
||||
case 0:
|
||||
__RoomName__ = formatterResolver.GetFormatterWithVerify<string>().Deserialize(ref reader, options);
|
||||
break;
|
||||
case 1:
|
||||
__UserName__ = formatterResolver.GetFormatterWithVerify<string>().Deserialize(ref reader, options);
|
||||
break;
|
||||
default:
|
||||
reader.Skip();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
var ____result = new global::ChatApp.Shared.MessagePackObjects.JoinRequest();
|
||||
____result.RoomName = __RoomName__;
|
||||
____result.UserName = __UserName__;
|
||||
return ____result;
|
||||
}
|
||||
}
|
||||
|
||||
public sealed class MessageResponseFormatter : global::MessagePack.Formatters.IMessagePackFormatter<global::ChatApp.Shared.MessagePackObjects.MessageResponse>
|
||||
{
|
||||
|
||||
|
||||
public void Serialize(ref MessagePackWriter writer, global::ChatApp.Shared.MessagePackObjects.MessageResponse value, global::MessagePack.MessagePackSerializerOptions options)
|
||||
{
|
||||
IFormatterResolver formatterResolver = options.Resolver;
|
||||
writer.WriteArrayHeader(2);
|
||||
formatterResolver.GetFormatterWithVerify<string>().Serialize(ref writer, value.UserName, options);
|
||||
formatterResolver.GetFormatterWithVerify<string>().Serialize(ref writer, value.Message, options);
|
||||
}
|
||||
|
||||
public global::ChatApp.Shared.MessagePackObjects.MessageResponse Deserialize(ref MessagePackReader reader, global::MessagePack.MessagePackSerializerOptions options)
|
||||
{
|
||||
if (reader.TryReadNil())
|
||||
{
|
||||
throw new InvalidOperationException("typecode is null, struct not supported");
|
||||
}
|
||||
|
||||
IFormatterResolver formatterResolver = options.Resolver;
|
||||
var length = reader.ReadArrayHeader();
|
||||
var __UserName__ = default(string);
|
||||
var __Message__ = default(string);
|
||||
|
||||
for (int i = 0; i < length; i++)
|
||||
{
|
||||
var key = i;
|
||||
|
||||
switch (key)
|
||||
{
|
||||
case 0:
|
||||
__UserName__ = formatterResolver.GetFormatterWithVerify<string>().Deserialize(ref reader, options);
|
||||
break;
|
||||
case 1:
|
||||
__Message__ = formatterResolver.GetFormatterWithVerify<string>().Deserialize(ref reader, options);
|
||||
break;
|
||||
default:
|
||||
reader.Skip();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
var ____result = new global::ChatApp.Shared.MessagePackObjects.MessageResponse();
|
||||
____result.UserName = __UserName__;
|
||||
____result.Message = __Message__;
|
||||
return ____result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pragma warning restore 168
|
||||
#pragma warning restore 414
|
||||
#pragma warning restore 618
|
||||
#pragma warning restore 612
|
||||
|
||||
#pragma warning restore SA1129 // Do not use default value type constructor
|
||||
#pragma warning restore SA1200 // Using directives should be placed correctly
|
||||
#pragma warning restore SA1309 // Field names should not begin with underscore
|
||||
#pragma warning restore SA1312 // Variable names should begin with lower-case letter
|
||||
#pragma warning restore SA1403 // File may only contain a single namespace
|
||||
#pragma warning restore SA1649 // File name should match first type name
|
||||
|
||||
11
Assets/Scripts/Generated/MessagePack.Generated.cs.meta
Normal file
11
Assets/Scripts/Generated/MessagePack.Generated.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 06622dddf17e3734bb11f4133d2427d8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
24
Assets/Scripts/InitialSettings.cs
Normal file
24
Assets/Scripts/InitialSettings.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
using MessagePack;
|
||||
using MessagePack.Resolvers;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Assets.Scripts
|
||||
{
|
||||
class InitialSettings
|
||||
{
|
||||
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
|
||||
static void RegisterResolvers()
|
||||
{
|
||||
// NOTE: Currently, CompositeResolver doesn't work on Unity IL2CPP build. Use StaticCompositeResolver instead of it.
|
||||
StaticCompositeResolver.Instance.Register(
|
||||
MagicOnion.Resolvers.MagicOnionResolver.Instance,
|
||||
MessagePack.Resolvers.GeneratedResolver.Instance,
|
||||
BuiltinResolver.Instance,
|
||||
PrimitiveObjectResolver.Instance
|
||||
);
|
||||
|
||||
MessagePackSerializer.DefaultOptions = MessagePackSerializer.DefaultOptions
|
||||
.WithResolver(StaticCompositeResolver.Instance);
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue