Просмотр исходного кода

建立机器人工程,抽出共享库,建立共享工程,方便机器人工程使用

tanghai 4 лет назад
Родитель
Сommit
9a065264c5

+ 94 - 15
Client-Server.sln

@@ -27,12 +27,26 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Unity.HotfixView", "Unity\U
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Unity.ModelView", "Unity\Unity.ModelView.csproj", "{2F8409C1-DA01-D464-DBF2-00C6449E459E}"
 EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Server.ThirdParty", "Server\ThirdParty\Server.ThirdParty.csproj", "{5CC830C4-3F2E-46AD-8160-3A0B032ACA5B}"
-EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Proto2CS", "Tools\Proto2CS\Proto2CS.csproj", "{8CE3862F-0F7C-4759-A0E5-266AC3991E32}"
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExcelExporter", "Tools\ExcelExporter\ExcelExporter.csproj", "{E2F0B649-1A7B-4F01-A48B-A2825223C2B4}"
 EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Robot", "Robot", "{0CFA1E78-9E36-48A3-A134-6EC704815CC8}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Robot.App", "Robot\App\Robot.App.csproj", "{3743C043-A5B7-4D63-8009-19E8C2FB89D4}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Robot.Model", "Robot\Model\Robot.Model.csproj", "{405D6513-704F-4715-ACC9-F1C0C07EE39F}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Robot.Hotfix", "Robot\Hotfix\Robot.Hotfix.csproj", "{57098A03-52D4-455F-9B88-3A0951D651DF}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ThirdParty", "ThirdParty", "{D885C55E-8E9B-4837-938D-15A919188607}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "protobuf-net", "ThirdParty\protobuf-net\protobuf-net.csproj", "{919D81EA-AE2A-4B5E-B965-300582C7B546}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnityEngine", "ThirdParty\UnityEngine\UnityEngine.csproj", "{9F66DBC1-55AB-40D4-B4C4-B707CB39E624}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShareLib", "ThirdParty\ShareLib\ShareLib.csproj", "{EC8FBBC4-59C8-438C-AE16-1762C269B928}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
@@ -151,18 +165,6 @@ Global
 		{2F8409C1-DA01-D464-DBF2-00C6449E459E}.Release|x64.Build.0 = Release|Any CPU
 		{2F8409C1-DA01-D464-DBF2-00C6449E459E}.Release|x86.ActiveCfg = Release|Any CPU
 		{2F8409C1-DA01-D464-DBF2-00C6449E459E}.Release|x86.Build.0 = Release|Any CPU
-		{5CC830C4-3F2E-46AD-8160-3A0B032ACA5B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{5CC830C4-3F2E-46AD-8160-3A0B032ACA5B}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{5CC830C4-3F2E-46AD-8160-3A0B032ACA5B}.Debug|x64.ActiveCfg = Debug|Any CPU
-		{5CC830C4-3F2E-46AD-8160-3A0B032ACA5B}.Debug|x64.Build.0 = Debug|Any CPU
-		{5CC830C4-3F2E-46AD-8160-3A0B032ACA5B}.Debug|x86.ActiveCfg = Debug|Any CPU
-		{5CC830C4-3F2E-46AD-8160-3A0B032ACA5B}.Debug|x86.Build.0 = Debug|Any CPU
-		{5CC830C4-3F2E-46AD-8160-3A0B032ACA5B}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{5CC830C4-3F2E-46AD-8160-3A0B032ACA5B}.Release|Any CPU.Build.0 = Release|Any CPU
-		{5CC830C4-3F2E-46AD-8160-3A0B032ACA5B}.Release|x64.ActiveCfg = Release|Any CPU
-		{5CC830C4-3F2E-46AD-8160-3A0B032ACA5B}.Release|x64.Build.0 = Release|Any CPU
-		{5CC830C4-3F2E-46AD-8160-3A0B032ACA5B}.Release|x86.ActiveCfg = Release|Any CPU
-		{5CC830C4-3F2E-46AD-8160-3A0B032ACA5B}.Release|x86.Build.0 = Release|Any CPU
 		{8CE3862F-0F7C-4759-A0E5-266AC3991E32}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{8CE3862F-0F7C-4759-A0E5-266AC3991E32}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{8CE3862F-0F7C-4759-A0E5-266AC3991E32}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -187,6 +189,78 @@ Global
 		{E2F0B649-1A7B-4F01-A48B-A2825223C2B4}.Release|x64.Build.0 = Release|Any CPU
 		{E2F0B649-1A7B-4F01-A48B-A2825223C2B4}.Release|x86.ActiveCfg = Release|Any CPU
 		{E2F0B649-1A7B-4F01-A48B-A2825223C2B4}.Release|x86.Build.0 = Release|Any CPU
+		{3743C043-A5B7-4D63-8009-19E8C2FB89D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{3743C043-A5B7-4D63-8009-19E8C2FB89D4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{3743C043-A5B7-4D63-8009-19E8C2FB89D4}.Debug|x64.ActiveCfg = Debug|Any CPU
+		{3743C043-A5B7-4D63-8009-19E8C2FB89D4}.Debug|x64.Build.0 = Debug|Any CPU
+		{3743C043-A5B7-4D63-8009-19E8C2FB89D4}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{3743C043-A5B7-4D63-8009-19E8C2FB89D4}.Debug|x86.Build.0 = Debug|Any CPU
+		{3743C043-A5B7-4D63-8009-19E8C2FB89D4}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{3743C043-A5B7-4D63-8009-19E8C2FB89D4}.Release|Any CPU.Build.0 = Release|Any CPU
+		{3743C043-A5B7-4D63-8009-19E8C2FB89D4}.Release|x64.ActiveCfg = Release|Any CPU
+		{3743C043-A5B7-4D63-8009-19E8C2FB89D4}.Release|x64.Build.0 = Release|Any CPU
+		{3743C043-A5B7-4D63-8009-19E8C2FB89D4}.Release|x86.ActiveCfg = Release|Any CPU
+		{3743C043-A5B7-4D63-8009-19E8C2FB89D4}.Release|x86.Build.0 = Release|Any CPU
+		{405D6513-704F-4715-ACC9-F1C0C07EE39F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{405D6513-704F-4715-ACC9-F1C0C07EE39F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{405D6513-704F-4715-ACC9-F1C0C07EE39F}.Debug|x64.ActiveCfg = Debug|Any CPU
+		{405D6513-704F-4715-ACC9-F1C0C07EE39F}.Debug|x64.Build.0 = Debug|Any CPU
+		{405D6513-704F-4715-ACC9-F1C0C07EE39F}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{405D6513-704F-4715-ACC9-F1C0C07EE39F}.Debug|x86.Build.0 = Debug|Any CPU
+		{405D6513-704F-4715-ACC9-F1C0C07EE39F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{405D6513-704F-4715-ACC9-F1C0C07EE39F}.Release|Any CPU.Build.0 = Release|Any CPU
+		{405D6513-704F-4715-ACC9-F1C0C07EE39F}.Release|x64.ActiveCfg = Release|Any CPU
+		{405D6513-704F-4715-ACC9-F1C0C07EE39F}.Release|x64.Build.0 = Release|Any CPU
+		{405D6513-704F-4715-ACC9-F1C0C07EE39F}.Release|x86.ActiveCfg = Release|Any CPU
+		{405D6513-704F-4715-ACC9-F1C0C07EE39F}.Release|x86.Build.0 = Release|Any CPU
+		{57098A03-52D4-455F-9B88-3A0951D651DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{57098A03-52D4-455F-9B88-3A0951D651DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{57098A03-52D4-455F-9B88-3A0951D651DF}.Debug|x64.ActiveCfg = Debug|Any CPU
+		{57098A03-52D4-455F-9B88-3A0951D651DF}.Debug|x64.Build.0 = Debug|Any CPU
+		{57098A03-52D4-455F-9B88-3A0951D651DF}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{57098A03-52D4-455F-9B88-3A0951D651DF}.Debug|x86.Build.0 = Debug|Any CPU
+		{57098A03-52D4-455F-9B88-3A0951D651DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{57098A03-52D4-455F-9B88-3A0951D651DF}.Release|Any CPU.Build.0 = Release|Any CPU
+		{57098A03-52D4-455F-9B88-3A0951D651DF}.Release|x64.ActiveCfg = Release|Any CPU
+		{57098A03-52D4-455F-9B88-3A0951D651DF}.Release|x64.Build.0 = Release|Any CPU
+		{57098A03-52D4-455F-9B88-3A0951D651DF}.Release|x86.ActiveCfg = Release|Any CPU
+		{57098A03-52D4-455F-9B88-3A0951D651DF}.Release|x86.Build.0 = Release|Any CPU
+		{919D81EA-AE2A-4B5E-B965-300582C7B546}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{919D81EA-AE2A-4B5E-B965-300582C7B546}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{919D81EA-AE2A-4B5E-B965-300582C7B546}.Debug|x64.ActiveCfg = Debug|Any CPU
+		{919D81EA-AE2A-4B5E-B965-300582C7B546}.Debug|x64.Build.0 = Debug|Any CPU
+		{919D81EA-AE2A-4B5E-B965-300582C7B546}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{919D81EA-AE2A-4B5E-B965-300582C7B546}.Debug|x86.Build.0 = Debug|Any CPU
+		{919D81EA-AE2A-4B5E-B965-300582C7B546}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{919D81EA-AE2A-4B5E-B965-300582C7B546}.Release|Any CPU.Build.0 = Release|Any CPU
+		{919D81EA-AE2A-4B5E-B965-300582C7B546}.Release|x64.ActiveCfg = Release|Any CPU
+		{919D81EA-AE2A-4B5E-B965-300582C7B546}.Release|x64.Build.0 = Release|Any CPU
+		{919D81EA-AE2A-4B5E-B965-300582C7B546}.Release|x86.ActiveCfg = Release|Any CPU
+		{919D81EA-AE2A-4B5E-B965-300582C7B546}.Release|x86.Build.0 = Release|Any CPU
+		{9F66DBC1-55AB-40D4-B4C4-B707CB39E624}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{9F66DBC1-55AB-40D4-B4C4-B707CB39E624}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{9F66DBC1-55AB-40D4-B4C4-B707CB39E624}.Debug|x64.ActiveCfg = Debug|Any CPU
+		{9F66DBC1-55AB-40D4-B4C4-B707CB39E624}.Debug|x64.Build.0 = Debug|Any CPU
+		{9F66DBC1-55AB-40D4-B4C4-B707CB39E624}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{9F66DBC1-55AB-40D4-B4C4-B707CB39E624}.Debug|x86.Build.0 = Debug|Any CPU
+		{9F66DBC1-55AB-40D4-B4C4-B707CB39E624}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{9F66DBC1-55AB-40D4-B4C4-B707CB39E624}.Release|Any CPU.Build.0 = Release|Any CPU
+		{9F66DBC1-55AB-40D4-B4C4-B707CB39E624}.Release|x64.ActiveCfg = Release|Any CPU
+		{9F66DBC1-55AB-40D4-B4C4-B707CB39E624}.Release|x64.Build.0 = Release|Any CPU
+		{9F66DBC1-55AB-40D4-B4C4-B707CB39E624}.Release|x86.ActiveCfg = Release|Any CPU
+		{9F66DBC1-55AB-40D4-B4C4-B707CB39E624}.Release|x86.Build.0 = Release|Any CPU
+		{EC8FBBC4-59C8-438C-AE16-1762C269B928}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{EC8FBBC4-59C8-438C-AE16-1762C269B928}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{EC8FBBC4-59C8-438C-AE16-1762C269B928}.Debug|x64.ActiveCfg = Debug|Any CPU
+		{EC8FBBC4-59C8-438C-AE16-1762C269B928}.Debug|x64.Build.0 = Debug|Any CPU
+		{EC8FBBC4-59C8-438C-AE16-1762C269B928}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{EC8FBBC4-59C8-438C-AE16-1762C269B928}.Debug|x86.Build.0 = Debug|Any CPU
+		{EC8FBBC4-59C8-438C-AE16-1762C269B928}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{EC8FBBC4-59C8-438C-AE16-1762C269B928}.Release|Any CPU.Build.0 = Release|Any CPU
+		{EC8FBBC4-59C8-438C-AE16-1762C269B928}.Release|x64.ActiveCfg = Release|Any CPU
+		{EC8FBBC4-59C8-438C-AE16-1762C269B928}.Release|x64.Build.0 = Release|Any CPU
+		{EC8FBBC4-59C8-438C-AE16-1762C269B928}.Release|x86.ActiveCfg = Release|Any CPU
+		{EC8FBBC4-59C8-438C-AE16-1762C269B928}.Release|x86.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE
@@ -201,9 +275,14 @@ Global
 		{CFBC0A95-3456-3439-6B2E-60FDE0FE5EE1} = {914C77C9-212A-4DD0-8D9A-074620E77FAA}
 		{D31345DE-9B88-525C-8E9C-744C99AE7509} = {914C77C9-212A-4DD0-8D9A-074620E77FAA}
 		{2F8409C1-DA01-D464-DBF2-00C6449E459E} = {914C77C9-212A-4DD0-8D9A-074620E77FAA}
-		{5CC830C4-3F2E-46AD-8160-3A0B032ACA5B} = {46008B91-6EC0-448B-8D1A-D8C6D2EEBEF4}
 		{8CE3862F-0F7C-4759-A0E5-266AC3991E32} = {4BC66C3C-D55F-4FAA-A2F5-29E8EB1797AE}
 		{E2F0B649-1A7B-4F01-A48B-A2825223C2B4} = {4BC66C3C-D55F-4FAA-A2F5-29E8EB1797AE}
+		{3743C043-A5B7-4D63-8009-19E8C2FB89D4} = {0CFA1E78-9E36-48A3-A134-6EC704815CC8}
+		{405D6513-704F-4715-ACC9-F1C0C07EE39F} = {0CFA1E78-9E36-48A3-A134-6EC704815CC8}
+		{57098A03-52D4-455F-9B88-3A0951D651DF} = {0CFA1E78-9E36-48A3-A134-6EC704815CC8}
+		{919D81EA-AE2A-4B5E-B965-300582C7B546} = {D885C55E-8E9B-4837-938D-15A919188607}
+		{9F66DBC1-55AB-40D4-B4C4-B707CB39E624} = {D885C55E-8E9B-4837-938D-15A919188607}
+		{EC8FBBC4-59C8-438C-AE16-1762C269B928} = {D885C55E-8E9B-4837-938D-15A919188607}
 	EndGlobalSection
 	GlobalSection(ExtensibilityGlobals) = postSolution
 		SolutionGuid = {EABC01E3-3EB5-47EF-B46E-AAD8BB3585F1}

+ 12 - 0
Robot/App/Program.cs

@@ -0,0 +1,12 @@
+using System;
+
+namespace ET
+{
+    class Program
+    {
+        static void Main(string[] args)
+        {
+            Console.WriteLine("Hello World!");
+        }
+    }
+}

+ 13 - 0
Robot/App/Robot.App.csproj

@@ -0,0 +1,13 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+    <PropertyGroup>
+        <OutputType>Exe</OutputType>
+        <TargetFramework>net5.0</TargetFramework>
+        <RootNamespace>ET</RootNamespace>
+    </PropertyGroup>
+
+    <ItemGroup>
+      <ProjectReference Include="..\Model\Robot.Model.csproj" />
+    </ItemGroup>
+
+</Project>

+ 12 - 0
Robot/Hotfix/Robot.Hotfix.csproj

@@ -0,0 +1,12 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+    <PropertyGroup>
+        <TargetFramework>net5.0</TargetFramework>
+        <RootNamespace>ET</RootNamespace>
+    </PropertyGroup>
+
+    <ItemGroup>
+      <ProjectReference Include="..\Model\Robot.Model.csproj" />
+    </ItemGroup>
+
+</Project>

+ 8 - 0
Robot/Model/Robot.Model.csproj

@@ -0,0 +1,8 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+    <PropertyGroup>
+        <TargetFramework>net5.0</TargetFramework>
+        <RootNamespace>ET</RootNamespace>
+    </PropertyGroup>
+
+</Project>

+ 6 - 1
Server/Model/Server.Model.csproj

@@ -138,10 +138,15 @@
   <ItemGroup>
     <PackageReference Include="CommandLineParser" Version="2.2.1" />
     <PackageReference Include="Microsoft.CodeAnalysis.Scripting" Version="2.9.0" />
+    <PackageReference Include="mongocsharpdriver" Version="2.13.0" />
+    <PackageReference Include="MongoDB.Bson" Version="2.13.0" />
+    <PackageReference Include="MongoDB.Driver" Version="2.13.0" />
     <PackageReference Include="NLog" Version="4.5.4" />
     <PackageReference Include="SharpZipLib" Version="1.0.0-alpha2" />
   </ItemGroup>
   <ItemGroup>
-    <ProjectReference Include="..\ThirdParty\Server.ThirdParty.csproj" />
+    <ProjectReference Include="..\..\ThirdParty\protobuf-net\protobuf-net.csproj" />
+    <ProjectReference Include="..\..\ThirdParty\ShareLib\ShareLib.csproj" />
+    <ProjectReference Include="..\..\ThirdParty\UnityEngine\UnityEngine.csproj" />
   </ItemGroup>
 </Project>

+ 0 - 0
Server/ThirdParty/Recast/RecastInterface.cs → ThirdParty/ShareLib/Recast/RecastInterface.cs


+ 16 - 21
Server/ThirdParty/Server.ThirdParty.csproj → ThirdParty/ShareLib/ShareLib.csproj

@@ -2,42 +2,27 @@
 
     <PropertyGroup>
         <TargetFramework>net5.0</TargetFramework>
-        <RootNamespace>ET</RootNamespace>
-        <LangVersion>8</LangVersion>
     </PropertyGroup>
 
     <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
-        <DefineConstants>TRACE;SERVER;FEAT_SAFE</DefineConstants>
-        <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-        <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+      <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     </PropertyGroup>
 
     <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
-        <DefineConstants>TRACE;SERVER;FEAT_SAFE</DefineConstants>
-        <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+      <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     </PropertyGroup>
 
-    <ItemGroup>
-        <PackageReference Include="MongoDB.Driver" Version="2.11.5" />
-    </ItemGroup>
-
-    <ItemGroup>
-        <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\**\*.cs">
-            <Link>protobuf-net\%(RecursiveDir)%(FileName)%(Extension)</Link>
-        </Compile>
-    </ItemGroup>
-
     <ItemGroup>
       <Content Include="..\..\Libs\RecastNavMesh\libRecastNavDll.dylib">
         <Link>libRecastNavDll.dylib</Link>
         <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       </Content>
-      <Content Include="..\..\Libs\RecastNavMesh\RecastNavDll.dll">
-        <Link>RecastNavDll.dll</Link>
+      <Content Include="..\..\Libs\RecastNavMesh\libRecastNavDll.so">
+        <Link>libRecastNavDll.so</Link>
         <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       </Content>
-	  <Content Include="..\..\Libs\RecastNavMesh\libRecastNavDll.so">
-        <Link>libRecastNavDll.so</Link>
+      <Content Include="..\..\Libs\RecastNavMesh\RecastNavDll.dll">
+        <Link>RecastNavDll.dll</Link>
         <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       </Content>
       <Content Include="..\..\Unity\Assets\Plugins\MacOS\libkcp.dylib">
@@ -50,4 +35,14 @@
       </Content>
     </ItemGroup>
 
+    <ItemGroup>
+      <ProjectReference Include="..\UnityEngine\UnityEngine.csproj" />
+    </ItemGroup>
+
+    <ItemGroup>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\ShareLib\Kcp\Kcp.cs">
+        <Link>Kcp\Kcp.cs</Link>
+      </Compile>
+    </ItemGroup>
+
 </Project>

+ 0 - 0
Server/ThirdParty/UnityEngine/Mathf.cs → ThirdParty/UnityEngine/Mathf.cs


+ 0 - 0
Server/ThirdParty/UnityEngine/Matrix3x3.cs → ThirdParty/UnityEngine/Matrix3x3.cs


+ 0 - 0
Server/ThirdParty/UnityEngine/Matrix4x4.cs → ThirdParty/UnityEngine/Matrix4x4.cs


+ 0 - 11
Server/ThirdParty/UnityEngine/Quaternion.cs → ThirdParty/UnityEngine/Quaternion.cs

@@ -64,17 +64,6 @@ namespace UnityEngine
             this.w = (float) ((double) num9 * (double) num6 * (double) num3 + (double) num8 * (double) num5 * (double) num2);
         }
         
-#if !SERVER
-        public static implicit operator UnityEngine.Quaternion(Quaternion q)
-        {
-            return new UnityEngine.Quaternion(q.x, q.y, q.z, q.w);
-        }
-        
-        public static implicit operator Quaternion(UnityEngine.Quaternion q)
-        {
-            return new Quaternion(q.x, q.y, q.z, q.w);
-        }
-#endif
 
         public override string ToString()
         {

+ 16 - 0
ThirdParty/UnityEngine/UnityEngine.csproj

@@ -0,0 +1,16 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+    <PropertyGroup>
+        <TargetFramework>net5.0</TargetFramework>
+        <LangVersion>8</LangVersion>
+    </PropertyGroup>
+
+    <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
+      <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    </PropertyGroup>
+
+    <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
+      <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    </PropertyGroup>
+
+</Project>

+ 0 - 0
Server/ThirdParty/UnityEngine/Vector2.cs → ThirdParty/UnityEngine/Vector2.cs


+ 0 - 0
Server/ThirdParty/UnityEngine/Vector3.cs → ThirdParty/UnityEngine/Vector3.cs


+ 0 - 0
Server/ThirdParty/UnityEngine/Vector4.cs → ThirdParty/UnityEngine/Vector4.cs


+ 307 - 0
ThirdParty/protobuf-net/protobuf-net.csproj

@@ -0,0 +1,307 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+    <PropertyGroup>
+        <TargetFramework>net5.0</TargetFramework>
+        <RootNamespace>protobuf_net</RootNamespace>
+    </PropertyGroup>
+
+    <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
+      <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    </PropertyGroup>
+
+    <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
+      <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    </PropertyGroup>
+
+    <ItemGroup>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\BclHelpers.cs">
+        <Link>protobuf-net\BclHelpers.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\BufferExtension.cs">
+        <Link>protobuf-net\BufferExtension.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\BufferPool.cs">
+        <Link>protobuf-net\BufferPool.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\CallbackAttributes.cs">
+        <Link>protobuf-net\CallbackAttributes.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Compiler\CompilerContext.cs">
+        <Link>protobuf-net\Compiler\CompilerContext.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Compiler\CompilerDelegates.cs">
+        <Link>protobuf-net\Compiler\CompilerDelegates.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Compiler\Local.cs">
+        <Link>protobuf-net\Compiler\Local.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\DataFormat.cs">
+        <Link>protobuf-net\DataFormat.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\DiscriminatedUnion.cs">
+        <Link>protobuf-net\DiscriminatedUnion.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\DiscriminatedUnion.Serializable.cs">
+        <Link>protobuf-net\DiscriminatedUnion.Serializable.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Extensible.cs">
+        <Link>protobuf-net\Extensible.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ExtensibleUtil.cs">
+        <Link>protobuf-net\ExtensibleUtil.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\GlobalSuppressions.cs">
+        <Link>protobuf-net\GlobalSuppressions.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Helpers.cs">
+        <Link>protobuf-net\Helpers.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\IExtensible.cs">
+        <Link>protobuf-net\IExtensible.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\IExtension.cs">
+        <Link>protobuf-net\IExtension.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ImplicitFields.cs">
+        <Link>protobuf-net\ImplicitFields.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\IProtoInputT.cs">
+        <Link>protobuf-net\IProtoInputT.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\IProtoOutputT.cs">
+        <Link>protobuf-net\IProtoOutputT.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\KeyValuePairProxy.cs">
+        <Link>protobuf-net\KeyValuePairProxy.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Meta\AttributeMap.cs">
+        <Link>protobuf-net\Meta\AttributeMap.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Meta\BasicList.cs">
+        <Link>protobuf-net\Meta\BasicList.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Meta\CallbackSet.cs">
+        <Link>protobuf-net\Meta\CallbackSet.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Meta\MetaType.cs">
+        <Link>protobuf-net\Meta\MetaType.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Meta\ProtoSyntax.cs">
+        <Link>protobuf-net\Meta\ProtoSyntax.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Meta\RuntimeTypeModel.cs">
+        <Link>protobuf-net\Meta\RuntimeTypeModel.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Meta\SubType.cs">
+        <Link>protobuf-net\Meta\SubType.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Meta\TypeFormatEventArgs.cs">
+        <Link>protobuf-net\Meta\TypeFormatEventArgs.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Meta\TypeModel.cs">
+        <Link>protobuf-net\Meta\TypeModel.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Meta\TypeModel.InputOutput.cs">
+        <Link>protobuf-net\Meta\TypeModel.InputOutput.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Meta\ValueMember.cs">
+        <Link>protobuf-net\Meta\ValueMember.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\NetObjectCache.cs">
+        <Link>protobuf-net\NetObjectCache.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\PrefixStyle.cs">
+        <Link>protobuf-net\PrefixStyle.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Properties\AssemblyInfo.cs">
+        <Link>protobuf-net\Properties\AssemblyInfo.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ProtoContractAttribute.cs">
+        <Link>protobuf-net\ProtoContractAttribute.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ProtoConverterAttribute.cs">
+        <Link>protobuf-net\ProtoConverterAttribute.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ProtoEnumAttribute.cs">
+        <Link>protobuf-net\ProtoEnumAttribute.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ProtoException.cs">
+        <Link>protobuf-net\ProtoException.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ProtoIgnoreAttribute.cs">
+        <Link>protobuf-net\ProtoIgnoreAttribute.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ProtoIncludeAttribute.cs">
+        <Link>protobuf-net\ProtoIncludeAttribute.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ProtoMapAttribute.cs">
+        <Link>protobuf-net\ProtoMapAttribute.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ProtoMemberAttribute.cs">
+        <Link>protobuf-net\ProtoMemberAttribute.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ProtoReader.cs">
+        <Link>protobuf-net\ProtoReader.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ProtoWriter.cs">
+        <Link>protobuf-net\ProtoWriter.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\SerializationContext.cs">
+        <Link>protobuf-net\SerializationContext.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializer.cs">
+        <Link>protobuf-net\Serializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\ArrayDecorator.cs">
+        <Link>protobuf-net\Serializers\ArrayDecorator.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\BlobSerializer.cs">
+        <Link>protobuf-net\Serializers\BlobSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\BooleanSerializer.cs">
+        <Link>protobuf-net\Serializers\BooleanSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\ByteSerializer.cs">
+        <Link>protobuf-net\Serializers\ByteSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\CharSerializer.cs">
+        <Link>protobuf-net\Serializers\CharSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\CompiledSerializer.cs">
+        <Link>protobuf-net\Serializers\CompiledSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\DateTimeSerializer.cs">
+        <Link>protobuf-net\Serializers\DateTimeSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\DecimalSerializer.cs">
+        <Link>protobuf-net\Serializers\DecimalSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\DefaultValueDecorator.cs">
+        <Link>protobuf-net\Serializers\DefaultValueDecorator.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\DoubleSerializer.cs">
+        <Link>protobuf-net\Serializers\DoubleSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\EnumSerializer.cs">
+        <Link>protobuf-net\Serializers\EnumSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\FieldDecorator.cs">
+        <Link>protobuf-net\Serializers\FieldDecorator.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\GuidSerializer.cs">
+        <Link>protobuf-net\Serializers\GuidSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\ImmutableCollectionDecorator.cs">
+        <Link>protobuf-net\Serializers\ImmutableCollectionDecorator.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\Int16Serializer.cs">
+        <Link>protobuf-net\Serializers\Int16Serializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\Int32Serializer.cs">
+        <Link>protobuf-net\Serializers\Int32Serializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\Int64Serializer.cs">
+        <Link>protobuf-net\Serializers\Int64Serializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\IProtoSerializer.cs">
+        <Link>protobuf-net\Serializers\IProtoSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\IProtoTypeSerializer.cs">
+        <Link>protobuf-net\Serializers\IProtoTypeSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\ISerializerProxy.cs">
+        <Link>protobuf-net\Serializers\ISerializerProxy.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\ListDecorator.cs">
+        <Link>protobuf-net\Serializers\ListDecorator.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\MapDecorator.cs">
+        <Link>protobuf-net\Serializers\MapDecorator.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\MemberSpecifiedDecorator.cs">
+        <Link>protobuf-net\Serializers\MemberSpecifiedDecorator.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\NetObjectSerializer.cs">
+        <Link>protobuf-net\Serializers\NetObjectSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\NullDecorator.cs">
+        <Link>protobuf-net\Serializers\NullDecorator.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\ParseableSerializer.cs">
+        <Link>protobuf-net\Serializers\ParseableSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\PropertyDecorator.cs">
+        <Link>protobuf-net\Serializers\PropertyDecorator.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\ProtoDecoratorBase.cs">
+        <Link>protobuf-net\Serializers\ProtoDecoratorBase.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\ReflectedUriDecorator.cs">
+        <Link>protobuf-net\Serializers\ReflectedUriDecorator.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\SByteSerializer.cs">
+        <Link>protobuf-net\Serializers\SByteSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\SingleSerializer.cs">
+        <Link>protobuf-net\Serializers\SingleSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\StringSerializer.cs">
+        <Link>protobuf-net\Serializers\StringSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\SubItemSerializer.cs">
+        <Link>protobuf-net\Serializers\SubItemSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\SurrogateSerializer.cs">
+        <Link>protobuf-net\Serializers\SurrogateSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\SystemTypeSerializer.cs">
+        <Link>protobuf-net\Serializers\SystemTypeSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\TagDecorator.cs">
+        <Link>protobuf-net\Serializers\TagDecorator.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\TimeSpanSerializer.cs">
+        <Link>protobuf-net\Serializers\TimeSpanSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\TupleSerializer.cs">
+        <Link>protobuf-net\Serializers\TupleSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\TypeSerializer.cs">
+        <Link>protobuf-net\Serializers\TypeSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\UInt16Serializer.cs">
+        <Link>protobuf-net\Serializers\UInt16Serializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\UInt32Serializer.cs">
+        <Link>protobuf-net\Serializers\UInt32Serializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\UInt64Serializer.cs">
+        <Link>protobuf-net\Serializers\UInt64Serializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\Serializers\UriDecorator.cs">
+        <Link>protobuf-net\Serializers\UriDecorator.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ServiceModel\ProtoBehaviorAttribute.cs">
+        <Link>protobuf-net\ServiceModel\ProtoBehaviorAttribute.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ServiceModel\ProtoBehaviorExtensionElement.cs">
+        <Link>protobuf-net\ServiceModel\ProtoBehaviorExtensionElement.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ServiceModel\ProtoEndpointBehavior.cs">
+        <Link>protobuf-net\ServiceModel\ProtoEndpointBehavior.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ServiceModel\ProtoOperationBehavior.cs">
+        <Link>protobuf-net\ServiceModel\ProtoOperationBehavior.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\ServiceModel\XmlProtoSerializer.cs">
+        <Link>protobuf-net\ServiceModel\XmlProtoSerializer.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\SubItemToken.cs">
+        <Link>protobuf-net\SubItemToken.cs</Link>
+      </Compile>
+      <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\WireType.cs">
+        <Link>protobuf-net\WireType.cs</Link>
+      </Compile>
+    </ItemGroup>
+
+</Project>

+ 5 - 4
Tools/ExcelExporter/ExcelExporter.csproj

@@ -25,6 +25,7 @@
     <ItemGroup>
       <PackageReference Include="EPPlus" Version="5.5.2" />
       <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.9.0" />
+      <PackageReference Include="MongoDB.Bson" Version="2.13.0" />
     </ItemGroup>
     
     <ItemGroup>
@@ -33,10 +34,6 @@
       </None>
     </ItemGroup>
     
-    <ItemGroup>
-      <ProjectReference Include="..\..\Server\ThirdParty\Server.ThirdParty.csproj" />
-    </ItemGroup>
-    
     <ItemGroup>
       <Compile Include="..\..\Unity\Assets\Model\Core\Object\BaseAttribute.cs">
         <Link>BaseAttribute.cs</Link>
@@ -48,5 +45,9 @@
         <Link>IConfig.cs</Link>
       </Compile>
     </ItemGroup>
+    
+    <ItemGroup>
+      <ProjectReference Include="..\..\ThirdParty\protobuf-net\protobuf-net.csproj" />
+    </ItemGroup>
 
 </Project>

+ 8 - 0
Unity/Assets/ThirdParty/ShareLib.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: a7d6cba2a382c4973b5d1aad55b5d5d9
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 8 - 0
Unity/Assets/ThirdParty/ShareLib/Kcp.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 96533933eb80840fea1fde1774562a3d
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 0 - 0
Unity/Assets/Model/Module/Network/Kcp.cs → Unity/Assets/ThirdParty/ShareLib/Kcp/Kcp.cs


+ 1 - 1
Unity/Assets/Model/Module/Network/Kcp.cs.meta → Unity/Assets/ThirdParty/ShareLib/Kcp/Kcp.cs.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: 37f82d29b2a0bee4c8962fa1559031fb
+guid: 5ec0efad891a843b6bf70a38240a5d43
 MonoImporter:
   externalObjects: {}
   serializedVersion: 2