Skip to content

Commit

Permalink
2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed Jul 1, 2019
1 parent 4718e86 commit 9e29940
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 16 deletions.
9 changes: 8 additions & 1 deletion MagicOnion.sln
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,14 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{5A3F
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ChatApp.Server", "samples\ChatApp\ChatApp.Server\ChatApp.Server.csproj", "{7B7CFF27-CB38-4661-9CFC-473B4E38F0DE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MagicOnion.OpenTelemetry", "src\MagicOnion.OpenTelemetry\MagicOnion.OpenTelemetry.csproj", "{39136B3A-3CD6-42EC-ACFB-4067230D241E}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MagicOnion.OpenTelemetry", "src\MagicOnion.OpenTelemetry\MagicOnion.OpenTelemetry.csproj", "{39136B3A-3CD6-42EC-ACFB-4067230D241E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{15598FE3-201F-4255-9ADA-622B52D2A6ED}"
ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore
.circleci\config.yml = .circleci\config.yml
README.md = README.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
32 changes: 17 additions & 15 deletions src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnionGenerated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,20 @@ internal static class MagicOnionResolverGetFormatterHelper

static MagicOnionResolverGetFormatterHelper()
{
lookup = new global::System.Collections.Generic.Dictionary<Type, int>(11)
lookup = new global::System.Collections.Generic.Dictionary<Type, int>(12)
{
{typeof(global::MagicOnion.DynamicArgumentTuple<global::UnityEngine.Vector3, global::UnityEngine.Quaternion>), 0 },
{typeof(global::MagicOnion.DynamicArgumentTuple<int, int, int>), 1 },
{typeof(global::MagicOnion.DynamicArgumentTuple<int, int>), 2 },
{typeof(global::MagicOnion.DynamicArgumentTuple<int, string, double>), 3 },
{typeof(global::MagicOnion.DynamicArgumentTuple<string, string, global::UnityEngine.Vector3, global::UnityEngine.Quaternion>), 4 },
{typeof(global::MagicOnion.DynamicArgumentTuple<string, string>), 5 },
{typeof(global::Sandbox.NetCoreServer.Hubs.Player[]), 6 },
{typeof(global::Sandbox.NetCoreServer.Hubs.TestObject[]), 7 },
{typeof(global::Sandbox.NetCoreServer.Services.OreOreResponse[]), 8 },
{typeof(global::System.Collections.Generic.List<global::Sandbox.NetCoreServer.Services.OreOreResponse>), 9 },
{typeof(global::Sandbox.NetCoreServer.Services.TestEnum), 10 },
{typeof(global::MagicOnion.DynamicArgumentTuple<string, long>), 4 },
{typeof(global::MagicOnion.DynamicArgumentTuple<string, string, global::UnityEngine.Vector3, global::UnityEngine.Quaternion>), 5 },
{typeof(global::MagicOnion.DynamicArgumentTuple<string, string>), 6 },
{typeof(global::Sandbox.NetCoreServer.Hubs.Player[]), 7 },
{typeof(global::Sandbox.NetCoreServer.Hubs.TestObject[]), 8 },
{typeof(global::Sandbox.NetCoreServer.Services.OreOreResponse[]), 9 },
{typeof(global::System.Collections.Generic.List<global::Sandbox.NetCoreServer.Services.OreOreResponse>), 10 },
{typeof(global::Sandbox.NetCoreServer.Services.TestEnum), 11 },
};
}

Expand All @@ -114,13 +115,14 @@ internal static object GetFormatter(Type t)
case 1: return new global::MagicOnion.DynamicArgumentTupleFormatter<int, int, int>(default(int), default(int), default(int));
case 2: return new global::MagicOnion.DynamicArgumentTupleFormatter<int, int>(default(int), default(int));
case 3: return new global::MagicOnion.DynamicArgumentTupleFormatter<int, string, double>(default(int), default(string), default(double));
case 4: return new global::MagicOnion.DynamicArgumentTupleFormatter<string, string, global::UnityEngine.Vector3, global::UnityEngine.Quaternion>(default(string), default(string), default(global::UnityEngine.Vector3), default(global::UnityEngine.Quaternion));
case 5: return new global::MagicOnion.DynamicArgumentTupleFormatter<string, string>(default(string), default(string));
case 6: return new global::MessagePack.Formatters.ArrayFormatter<global::Sandbox.NetCoreServer.Hubs.Player>();
case 7: return new global::MessagePack.Formatters.ArrayFormatter<global::Sandbox.NetCoreServer.Hubs.TestObject>();
case 8: return new global::MessagePack.Formatters.ArrayFormatter<global::Sandbox.NetCoreServer.Services.OreOreResponse>();
case 9: return new global::MessagePack.Formatters.ListFormatter<global::Sandbox.NetCoreServer.Services.OreOreResponse>();
case 10: return new MagicOnion.Formatters.TestEnumFormatter();
case 4: return new global::MagicOnion.DynamicArgumentTupleFormatter<string, long>(default(string), default(long));
case 5: return new global::MagicOnion.DynamicArgumentTupleFormatter<string, string, global::UnityEngine.Vector3, global::UnityEngine.Quaternion>(default(string), default(string), default(global::UnityEngine.Vector3), default(global::UnityEngine.Quaternion));
case 6: return new global::MagicOnion.DynamicArgumentTupleFormatter<string, string>(default(string), default(string));
case 7: return new global::MessagePack.Formatters.ArrayFormatter<global::Sandbox.NetCoreServer.Hubs.Player>();
case 8: return new global::MessagePack.Formatters.ArrayFormatter<global::Sandbox.NetCoreServer.Hubs.TestObject>();
case 9: return new global::MessagePack.Formatters.ArrayFormatter<global::Sandbox.NetCoreServer.Services.OreOreResponse>();
case 10: return new global::MessagePack.Formatters.ListFormatter<global::Sandbox.NetCoreServer.Services.OreOreResponse>();
case 11: return new MagicOnion.Formatters.TestEnumFormatter();
default: return null;
}
}
Expand Down

0 comments on commit 9e29940

Please sign in to comment.