Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
343420f1d8 | ||
![]() |
1396c8b1da | ||
![]() |
9900f92133 | ||
![]() |
3be524d169 |
@@ -4,6 +4,7 @@ using System.Linq;
|
|||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Microsoft.Extensions.Configuration;
|
||||||
using Torch.API.Managers;
|
using Torch.API.Managers;
|
||||||
using Torch.API.Session;
|
using Torch.API.Session;
|
||||||
using VRage.Game.ModAPI;
|
using VRage.Game.ModAPI;
|
||||||
@@ -25,6 +26,11 @@ namespace Torch.API
|
|||||||
/// Configuration for the current instance.
|
/// Configuration for the current instance.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
ITorchConfig Config { get; }
|
ITorchConfig Config { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Extended Configuration for the current instance.
|
||||||
|
/// </summary>
|
||||||
|
IConfiguration Configuration { get; }
|
||||||
|
|
||||||
/// <inheritdoc cref="IPluginManager"/>
|
/// <inheritdoc cref="IPluginManager"/>
|
||||||
[Obsolete]
|
[Obsolete]
|
||||||
|
@@ -14,6 +14,9 @@ namespace Torch.API.Managers
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Fired when plugins are loaded.
|
/// Fired when plugins are loaded.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Fired when plugins are loaded and immediately if subscribed after the plugins are loaded.
|
||||||
|
/// </remarks>
|
||||||
event Action<IReadOnlyCollection<ITorchPlugin>> PluginsLoaded;
|
event Action<IReadOnlyCollection<ITorchPlugin>> PluginsLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@@ -17,9 +17,10 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="JorgeSerrano.Json.JsonSnakeCaseNamingPolicy" Version="0.9.0" />
|
<PackageReference Include="JorgeSerrano.Json.JsonSnakeCaseNamingPolicy" Version="0.9.0" />
|
||||||
<PackageReference Include="NLog" Version="5.1.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.4" />
|
||||||
<PackageReference Include="NuGet.Commands" Version="6.4.0" />
|
<PackageReference Include="NLog" Version="5.2.0" />
|
||||||
<PackageReference Include="NuGet.DependencyResolver.Core" Version="6.4.0" />
|
<PackageReference Include="NuGet.Commands" Version="6.6.1" />
|
||||||
|
<PackageReference Include="NuGet.DependencyResolver.Core" Version="6.6.1" />
|
||||||
<PackageReference Include="SemanticVersioning" Version="2.0.2" />
|
<PackageReference Include="SemanticVersioning" Version="2.0.2" />
|
||||||
<PackageReference Include="SpaceEngineersDedicated.ReferenceAssemblies" Version="1.202.120">
|
<PackageReference Include="SpaceEngineersDedicated.ReferenceAssemblies" Version="1.202.120">
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
@@ -8,31 +8,42 @@
|
|||||||
"resolved": "0.9.0",
|
"resolved": "0.9.0",
|
||||||
"contentHash": "xCqODS+wzpUXNtg4bMMvXG5PLbP0iTwRzRn2R+zWHKm83E6tbV2bCagawXp1EnZeNpd5OXpMxehulZWns8efzQ=="
|
"contentHash": "xCqODS+wzpUXNtg4bMMvXG5PLbP0iTwRzRn2R+zWHKm83E6tbV2bCagawXp1EnZeNpd5OXpMxehulZWns8efzQ=="
|
||||||
},
|
},
|
||||||
|
"Microsoft.Extensions.Configuration.Binder": {
|
||||||
|
"type": "Direct",
|
||||||
|
"requested": "[7.0.4, )",
|
||||||
|
"resolved": "7.0.4",
|
||||||
|
"contentHash": "8+XPvJnHZsYgHOQlcMuQe7QNF5KdVKHH1F/wW3nd8/u81Gk/XFAYMDP0Lpz18h7/AM95M662vvqMorcYxCBB4w==",
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.Extensions.Configuration.Abstractions": "7.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"NLog": {
|
"NLog": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[5.1.0, )",
|
"requested": "[5.2.0, )",
|
||||||
"resolved": "5.1.0",
|
"resolved": "5.2.0",
|
||||||
"contentHash": "oW7ekrkRG9okpDMUcEglunWj8Qf2RY8qkgl+/chJoavzg3dbT13y32t19R54FKkmq80fKzw4ZekZkCrRGanKgQ=="
|
"contentHash": "uYBgseY0m/9lQUbZYGsQsTBFOWrfs3iaekzzYMH6vFmpoOAvV8/bp1XxG/suZkwB5h8nAiTJAp7VENWRDKtKPA=="
|
||||||
},
|
},
|
||||||
"NuGet.Commands": {
|
"NuGet.Commands": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[6.4.0, )",
|
"requested": "[6.6.1, )",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "j3ma45boGZADsHpJcu3Y2yq+n2luicC6ezd61TXTTzbOzA452oAPaSsFGUB1stIsuP/DVoqkTzjHXjaCHuJKPQ==",
|
"contentHash": "D1b7gTk1wp7sxscLhS8O/yoErsRVbR4zJvLVD4jo1sgxh42ZOWKpMkhznPUxpvmCxBhw9hAy8/yWrRH91SfdEQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Credentials": "6.4.0",
|
"Microsoft.Extensions.FileProviders.Abstractions": "6.0.0",
|
||||||
"NuGet.ProjectModel": "6.4.0"
|
"Microsoft.Extensions.FileSystemGlobbing": "6.0.0",
|
||||||
|
"NuGet.Credentials": "6.6.1",
|
||||||
|
"NuGet.ProjectModel": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.DependencyResolver.Core": {
|
"NuGet.DependencyResolver.Core": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[6.4.0, )",
|
"requested": "[6.6.1, )",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "AKomZEKuhQlshujuiHbKvwl2cZNGq3SHsXFbpjCfCjMFMLwwA8saJGQQZp1lzsqQWcQWa6hLOcPtm7T3rd0SVg==",
|
"contentHash": "K+EXXLU37PBnwLGx6WnVGxlfWYkdedvUUOeDMERXelNgjg20irtKf3hk+wGB7NmxAdNY9/gGcOgSDOV+M0w3Jg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Configuration": "6.4.0",
|
"NuGet.Configuration": "6.6.1",
|
||||||
"NuGet.LibraryModel": "6.4.0",
|
"NuGet.LibraryModel": "6.6.1",
|
||||||
"NuGet.Protocol": "6.4.0"
|
"NuGet.Protocol": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"SemanticVersioning": {
|
"SemanticVersioning": {
|
||||||
@@ -64,6 +75,32 @@
|
|||||||
"resolved": "6.0.0",
|
"resolved": "6.0.0",
|
||||||
"contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg=="
|
"contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg=="
|
||||||
},
|
},
|
||||||
|
"Microsoft.Extensions.Configuration.Abstractions": {
|
||||||
|
"type": "Transitive",
|
||||||
|
"resolved": "7.0.0",
|
||||||
|
"contentHash": "f34u2eaqIjNO9YLHBz8rozVZ+TcFiFs0F3r7nUJd7FRkVSxk8u4OpoK226mi49MwexHOR2ibP9MFvRUaLilcQQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.Extensions.Primitives": "7.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.FileProviders.Abstractions": {
|
||||||
|
"type": "Transitive",
|
||||||
|
"resolved": "6.0.0",
|
||||||
|
"contentHash": "0pd4/fho0gC12rQswaGQxbU34jOS1TPS8lZPpkFCH68ppQjHNHYle9iRuHeev1LhrJ94YPvzcRd8UmIuFk23Qw==",
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.Extensions.Primitives": "6.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.FileSystemGlobbing": {
|
||||||
|
"type": "Transitive",
|
||||||
|
"resolved": "6.0.0",
|
||||||
|
"contentHash": "ip8jnL1aPiaPeKINCqaTEbvBFDmVx9dXQEBZ2HOBRXPD1eabGNqP/bKlsIcp7U2lGxiXd5xIhoFcmY8nM4Hdiw=="
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.Primitives": {
|
||||||
|
"type": "Transitive",
|
||||||
|
"resolved": "7.0.0",
|
||||||
|
"contentHash": "um1KU5kxcRp3CNuI8o/GrZtD4AIOXDk+RLsytjZ9QPok3ttLUelLKpilVPuaFT3TFjOhSibUAso0odbOaCDj3Q=="
|
||||||
|
},
|
||||||
"Newtonsoft.Json": {
|
"Newtonsoft.Json": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "13.0.1",
|
"resolved": "13.0.1",
|
||||||
@@ -71,75 +108,75 @@
|
|||||||
},
|
},
|
||||||
"NuGet.Common": {
|
"NuGet.Common": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "srECugLk+LB1bXelDCDhHoi6do/EYTXzuntKhjHraS4roVB3NfWohEdCSiAPdpSV9M40Q6jo6MV2Srml9e+jHQ==",
|
"contentHash": "hW5NtShErO3qbdkyv7doCRsFNK9Rlcc7mVjYM+hg1sOAWheTh/oo95DzNbsZthiqyHZfaioopfWtzmoxNw9h4g==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Frameworks": "6.4.0"
|
"NuGet.Frameworks": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Configuration": {
|
"NuGet.Configuration": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "vPjauG9AoacEjiZWGIs+d11FCRVmseqAw78FIApfLvZrYMEbbwc9vc0LdC3PpoW5FxYkktyZSiiXVKXGLu+gXw==",
|
"contentHash": "9WbK8wgwPfRpSwuG+ZhMshE48qUYvPIw7VNLCncrq/in4vE6SGsuawPSxPJkkLBtcKTGbPMez5JDvUf6vEBgKg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Common": "6.4.0",
|
"NuGet.Common": "6.6.1",
|
||||||
"System.Security.Cryptography.ProtectedData": "4.4.0"
|
"System.Security.Cryptography.ProtectedData": "4.4.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Credentials": {
|
"NuGet.Credentials": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "tebsxclknVz3D4FrvE2MzVcsOyf6PffjGNQ77X9Yvbj9x5YpVWfumVPetqETcdsNEgiN0bBzfMre33lhrY7Itw==",
|
"contentHash": "TuOlXcE1ajwdtfnQaUjDv2xO2u/WDS56/b5jHfEBZetKfcpT0W3iNOqInVPO0qxRxXK5/HXUKVr2Pya1LsVVnA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Protocol": "6.4.0"
|
"NuGet.Protocol": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Frameworks": {
|
"NuGet.Frameworks": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "qcufbjJIDtyY/Hah7JJfcRVpRYM3scgPqYBnukjO9kfADCFGr2azvVBozuwzljA6w/cR3w8bXLq6vW5xGrsmHw=="
|
"contentHash": "iRtDhL0zPqVw037fHEK9bQljTKPuOHhfIkz86/IH2P8eetr910HTTe5G8lJTuzZHh592Ze/sYhh173HIFjPSfg=="
|
||||||
},
|
},
|
||||||
"NuGet.LibraryModel": {
|
"NuGet.LibraryModel": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "K6ROQpWr34Aje81G0HfipiznLTB8vD4BO8sF6FEwx1KjJVdFkSmGZPmAhc6L1vZPs8TKY5BqoH72zG13zVzW2w==",
|
"contentHash": "B0KH19sNNUq56YfEozIsIpk8EOyolG0LRT+hqG1/mhuXlQFiP9BgT6pZgwLQVLUl9YBDx3+KWQQbl6pz8Yh/Sw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Common": "6.4.0",
|
"NuGet.Common": "6.6.1",
|
||||||
"NuGet.Versioning": "6.4.0"
|
"NuGet.Versioning": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Packaging": {
|
"NuGet.Packaging": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "aR10aYqcUMGC2mwMGH5rls/MGaz3EVH8DKTTHQ/EC91hXNtrCTTAQonaRR+v1EItcoxtQeZ/WQOorv4z270Tgg==",
|
"contentHash": "GwhFi2Ep4YzAGQFYz1OsMVNfiJ1M46nyCgHQ7xjJSMvxDYFgodR1RqVugWFMbIUUq6I8iYASwp5lpHXvITeuIQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Newtonsoft.Json": "13.0.1",
|
"Newtonsoft.Json": "13.0.1",
|
||||||
"NuGet.Configuration": "6.4.0",
|
"NuGet.Configuration": "6.6.1",
|
||||||
"NuGet.Versioning": "6.4.0",
|
"NuGet.Versioning": "6.6.1",
|
||||||
"System.Security.Cryptography.Cng": "5.0.0",
|
"System.Security.Cryptography.Cng": "5.0.0",
|
||||||
"System.Security.Cryptography.Pkcs": "5.0.0"
|
"System.Security.Cryptography.Pkcs": "5.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.ProjectModel": {
|
"NuGet.ProjectModel": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "eW9Q7vPk8cpXDd5b+vtIPkl8dSDCPkPJPrjXPTfZGxhstldnhJrj1XPaonsDZLQ24YY7LrYCzC0BiHh3iO5zUA==",
|
"contentHash": "CEyRXXvgIoEQBWn3WZupjkIVC6rPcGUAO5p4Gz+fnF8kcefWQOXHfnOE+UKZ0WwAJG5iMWRvXBKAGOuFiFhNpQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.DependencyResolver.Core": "6.4.0"
|
"NuGet.DependencyResolver.Core": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Protocol": {
|
"NuGet.Protocol": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "KIPjsWP0P3EMsDsXaa6YBCTvYKur/zI0luS1kO5G37ci8mHs2kJFsuG5qaMhGvgyHASu54sxlic1n1oza2Pcbw==",
|
"contentHash": "HhKLsK6Q0NNp6qb0T26GLR5gCTRZu+gzqDVK4xqXHZmsolaDVIdIYpn44b2etaVYLzNJCvgRkw+I422u2bIvMw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Packaging": "6.4.0"
|
"NuGet.Packaging": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Versioning": {
|
"NuGet.Versioning": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "YE8p3TpX4jIw+Gb24maE8YRDoqWA4imLmCbdOj5IvslLrZJXQ8akeFOGOplxICNVevON1g1SFYT2+cq4yy0nQQ=="
|
"contentHash": "Wm/AOFICTIrCgbVxv9dNWusraTzcggbo5W4ao7hD8NNVq911an9TGwW+uNuYc8I5PkpTeMuSXneV2u6hbi1P4w=="
|
||||||
},
|
},
|
||||||
"protobuf-net": {
|
"protobuf-net": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
|
@@ -17,8 +17,8 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- <Import Project="$(SolutionDir)\TransformOnBuild.targets" /> -->
|
<!-- <Import Project="$(SolutionDir)\TransformOnBuild.targets" /> -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
|
||||||
<PackageReference Include="NLog" Version="5.1.0" />
|
<PackageReference Include="NLog" Version="5.2.0" />
|
||||||
<PackageReference Include="xunit" Version="2.4.2" />
|
<PackageReference Include="xunit" Version="2.4.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@@ -85,9 +85,9 @@ namespace Torch.Server
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Run()
|
public void Run(IConfiguration configuration)
|
||||||
{
|
{
|
||||||
_server = new TorchServer(Config, ApplicationContext.Current.InstanceDirectory.FullName, ApplicationContext.Current.InstanceName);
|
_server = new TorchServer(Config, ApplicationContext.Current.InstanceDirectory.FullName, ApplicationContext.Current.InstanceName, configuration);
|
||||||
|
|
||||||
if (ApplicationContext.Current.IsService || Config.NoGui)
|
if (ApplicationContext.Current.IsService || Config.NoGui)
|
||||||
{
|
{
|
||||||
@@ -104,8 +104,8 @@ namespace Torch.Server
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SpaceEngineersGame.SetupBasicGameInfo();
|
_server.Init();
|
||||||
SpaceEngineersGame.SetupPerGameSettings();
|
|
||||||
var uiThread = new Thread(() =>
|
var uiThread = new Thread(() =>
|
||||||
{
|
{
|
||||||
var ui = new TorchUI(_server);
|
var ui = new TorchUI(_server);
|
||||||
@@ -118,9 +118,7 @@ namespace Torch.Server
|
|||||||
|
|
||||||
uiThread.SetApartmentState(ApartmentState.STA);
|
uiThread.SetApartmentState(ApartmentState.STA);
|
||||||
uiThread.Start();
|
uiThread.Start();
|
||||||
_server.Init();
|
|
||||||
|
|
||||||
|
|
||||||
if (Config.Autostart || Config.TempAutostart)
|
if (Config.Autostart || Config.TempAutostart)
|
||||||
{
|
{
|
||||||
Config.TempAutostart = false;
|
Config.TempAutostart = false;
|
||||||
|
@@ -7,6 +7,7 @@ using System.Linq;
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Havok;
|
using Havok;
|
||||||
using NLog;
|
using NLog;
|
||||||
@@ -34,8 +35,46 @@ namespace Torch.Server.Managers
|
|||||||
public class InstanceManager : Manager, IInstanceManager
|
public class InstanceManager : Manager, IInstanceManager
|
||||||
{
|
{
|
||||||
private const string CONFIG_NAME = "SpaceEngineers-Dedicated.cfg";
|
private const string CONFIG_NAME = "SpaceEngineers-Dedicated.cfg";
|
||||||
|
|
||||||
|
private Action<ConfigDedicatedViewModel> _instanceLoaded;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the instance loaded event.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Called when the instance is loaded and immediately if subscribed after the instance is loaded.
|
||||||
|
/// </remarks>
|
||||||
|
public event Action<ConfigDedicatedViewModel> InstanceLoaded
|
||||||
|
{
|
||||||
|
add
|
||||||
|
{
|
||||||
|
var action = _instanceLoaded;
|
||||||
|
Action<ConfigDedicatedViewModel> action2;
|
||||||
|
do
|
||||||
|
{
|
||||||
|
action2 = action;
|
||||||
|
var action3 = (Action<ConfigDedicatedViewModel>)Delegate.Combine(action2, value);
|
||||||
|
action = Interlocked.CompareExchange(ref _instanceLoaded, action3, action2);
|
||||||
|
}
|
||||||
|
while (action != action2);
|
||||||
|
|
||||||
|
if (DedicatedConfig is not null)
|
||||||
|
value(DedicatedConfig);
|
||||||
|
}
|
||||||
|
remove
|
||||||
|
{
|
||||||
|
var action = _instanceLoaded;
|
||||||
|
Action<ConfigDedicatedViewModel> action2;
|
||||||
|
do
|
||||||
|
{
|
||||||
|
action2 = action;
|
||||||
|
var action3 = (Action<ConfigDedicatedViewModel>)Delegate.Remove(action2, value);
|
||||||
|
action = Interlocked.CompareExchange(ref _instanceLoaded, action3, action2);
|
||||||
|
}
|
||||||
|
while (action != action2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public event Action<ConfigDedicatedViewModel> InstanceLoaded;
|
|
||||||
public ConfigDedicatedViewModel DedicatedConfig { get; set; }
|
public ConfigDedicatedViewModel DedicatedConfig { get; set; }
|
||||||
private static readonly Logger Log = LogManager.GetLogger(nameof(InstanceManager));
|
private static readonly Logger Log = LogManager.GetLogger(nameof(InstanceManager));
|
||||||
[Dependency]
|
[Dependency]
|
||||||
@@ -102,7 +141,7 @@ namespace Torch.Server.Managers
|
|||||||
|
|
||||||
SelectWorld(DedicatedConfig.LoadWorld ?? DedicatedConfig.Worlds.First().WorldPath, false);
|
SelectWorld(DedicatedConfig.LoadWorld ?? DedicatedConfig.Worlds.First().WorldPath, false);
|
||||||
|
|
||||||
InstanceLoaded?.Invoke(DedicatedConfig);
|
_instanceLoaded?.Invoke(DedicatedConfig);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SelectCreatedWorld(string worldPath)
|
public void SelectCreatedWorld(string worldPath)
|
||||||
|
@@ -39,7 +39,7 @@ namespace Torch.Server
|
|||||||
context.GameBinariesDirectory.FullName);
|
context.GameBinariesDirectory.FullName);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
initializer.Run();
|
initializer.Run(configuration);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void SetupLogging(IApplicationContext context, IConfiguration configuration)
|
private static void SetupLogging(IApplicationContext context, IConfiguration configuration)
|
||||||
|
@@ -34,23 +34,22 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="AutoCompleteTextBox" Version="1.6.0" />
|
<PackageReference Include="AutoCompleteTextBox" Version="1.6.0" />
|
||||||
<PackageReference Include="Ben.Demystifier" Version="0.4.1" />
|
<PackageReference Include="Ben.Demystifier" Version="0.4.1" />
|
||||||
<PackageReference Include="ControlzEx" Version="5.0.2" />
|
<PackageReference Include="ControlzEx" Version="6.0.0" />
|
||||||
<PackageReference Include="MahApps.Metro" Version="2.4.9" />
|
<PackageReference Include="MahApps.Metro" Version="2.4.9" />
|
||||||
<PackageReference Include="MdXaml" Version="1.16.2" />
|
<PackageReference Include="MdXaml" Version="1.20.1" />
|
||||||
<PackageReference Include="Microsoft.Diagnostics.Runtime" Version="2.2.343001" />
|
<PackageReference Include="Microsoft.Diagnostics.Runtime" Version="2.4.416101" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.0" />
|
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="7.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="7.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="7.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="7.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Xml" Version="7.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.Xml" Version="7.0.0" />
|
||||||
<PackageReference Include="NLog" Version="5.1.0" />
|
<PackageReference Include="NLog" Version="5.2.0" />
|
||||||
<PackageReference Include="PropertyChanged.Fody" Version="4.0.3" PrivateAssets="all" />
|
<PackageReference Include="PropertyChanged.Fody" Version="4.1.0" PrivateAssets="all" />
|
||||||
<PackageReference Include="Steamworks.NET" Version="20.1.0">
|
<PackageReference Include="Steamworks.NET" Version="20.1.0">
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<IncludeAssets>compile</IncludeAssets>
|
<IncludeAssets>compile</IncludeAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
|
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
|
||||||
<PackageReference Include="System.Management" Version="7.0.0" />
|
<PackageReference Include="System.Management" Version="7.0.2" />
|
||||||
<PackageReference Include="nulastudio.NetCoreBeauty" Version="1.2.9.3" />
|
<PackageReference Include="nulastudio.NetCoreBeauty" Version="1.2.9.5" />
|
||||||
<PackageReference Include="SpaceEngineersDedicated.ReferenceAssemblies" Version="1.202.120">
|
<PackageReference Include="SpaceEngineersDedicated.ReferenceAssemblies" Version="1.202.120">
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<IncludeAssets>compile</IncludeAssets>
|
<IncludeAssets>compile</IncludeAssets>
|
||||||
|
@@ -8,6 +8,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using Microsoft.Diagnostics.Runtime;
|
using Microsoft.Diagnostics.Runtime;
|
||||||
|
using Microsoft.Extensions.Configuration;
|
||||||
using NLog;
|
using NLog;
|
||||||
using PropertyChanged;
|
using PropertyChanged;
|
||||||
using Sandbox;
|
using Sandbox;
|
||||||
@@ -46,8 +47,9 @@ namespace Torch.Server
|
|||||||
|
|
||||||
//Here to trigger rebuild
|
//Here to trigger rebuild
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public TorchServer(ITorchConfig config, string instancePath, string instanceName) : base(config)
|
public TorchServer(ITorchConfig config, string instancePath, string instanceName, IConfiguration configuration) : base(config)
|
||||||
{
|
{
|
||||||
|
Configuration = configuration;
|
||||||
InstancePath = instancePath;
|
InstancePath = instancePath;
|
||||||
InstanceName = instanceName;
|
InstanceName = instanceName;
|
||||||
DedicatedInstance = new InstanceManager(this);
|
DedicatedInstance = new InstanceManager(this);
|
||||||
@@ -56,7 +58,9 @@ namespace Torch.Server
|
|||||||
AddManager(new EntityControlManager(this));
|
AddManager(new EntityControlManager(this));
|
||||||
AddManager(new RemoteAPIManager(this));
|
AddManager(new RemoteAPIManager(this));
|
||||||
|
|
||||||
|
var sessionManager = Managers.GetManager<ITorchSessionManager>();
|
||||||
|
sessionManager.AddFactory(_ => new MultiplayerManagerDedicated(this));
|
||||||
|
sessionManager.SessionStateChanged += OnSessionStateChanged;
|
||||||
|
|
||||||
// Needs to be done at some point after MyVRageWindows.Init
|
// Needs to be done at some point after MyVRageWindows.Init
|
||||||
// where the debug listeners are registered
|
// where the debug listeners are registered
|
||||||
@@ -126,16 +130,14 @@ namespace Torch.Server
|
|||||||
{
|
{
|
||||||
Log.Info("Initializing server");
|
Log.Info("Initializing server");
|
||||||
base.Init();
|
base.Init();
|
||||||
var sessionManager = Managers.GetManager<ITorchSessionManager>();
|
|
||||||
sessionManager.AddFactory(x => new MultiplayerManagerDedicated(this));
|
|
||||||
sessionManager.SessionStateChanged += OnSessionStateChanged;
|
|
||||||
|
|
||||||
GetManager<InstanceManager>().LoadInstance(InstancePath);
|
GetManager<InstanceManager>().LoadInstance(InstancePath);
|
||||||
CanRun = true;
|
CanRun = true;
|
||||||
Initialized?.Invoke(this);
|
Initialized?.Invoke(this);
|
||||||
Log.Info($"Initialized server '{InstanceName}' at '{InstancePath}'");
|
Log.Info($"Initialized server '{InstanceName}' at '{InstancePath}'");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override IConfiguration Configuration { get; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public override void Start()
|
public override void Start()
|
||||||
{
|
{
|
||||||
|
@@ -19,12 +19,12 @@
|
|||||||
},
|
},
|
||||||
"ControlzEx": {
|
"ControlzEx": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[5.0.2, )",
|
"requested": "[6.0.0, )",
|
||||||
"resolved": "5.0.2",
|
"resolved": "6.0.0",
|
||||||
"contentHash": "f724LoDJ36LxaLR62G4ek9ZAJI8BiiYRJJ04furC/qjXSeIwU0qmHFIe19xB1/FwxyZjevdFguEr9ZUjf3dZgw==",
|
"contentHash": "MEaqj6ienvKR4E7QJ3vwzo2vrdy2Kqw9Z3CudY5iUixR5iMYeLoMlks7EiABsz4WqDsgVLd9u7fixmCOGU+4ow==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.Xaml.Behaviors.Wpf": "1.1.31",
|
"Microsoft.Xaml.Behaviors.Wpf": "1.1.39",
|
||||||
"System.Text.Json": "5.0.1"
|
"System.Text.Json": "5.0.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"MahApps.Metro": {
|
"MahApps.Metro": {
|
||||||
@@ -38,34 +38,25 @@
|
|||||||
},
|
},
|
||||||
"MdXaml": {
|
"MdXaml": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[1.16.2, )",
|
"requested": "[1.20.1, )",
|
||||||
"resolved": "1.16.2",
|
"resolved": "1.20.1",
|
||||||
"contentHash": "UxYWJaXugQ+v4txS7K8sw26bxS6xvjSW+f79U/oMBtm+cVvZSmBGRZkB77rzaoXAyrbixX0Vk0U+1f22TT2uWg==",
|
"contentHash": "fx64BBFK7yO2MHBxMAMV4/b3x24rQ7Gfn64CISaw4dS7Wvr0HGc4vHNyrMY+/CgEpOEATLVgtM1a9liQ+QOesA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AvalonEdit": "6.0.0",
|
"AvalonEdit": "6.0.0",
|
||||||
"MdXaml.Plugins": "1.16.2"
|
"MdXaml.Plugins": "1.20.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.Diagnostics.Runtime": {
|
"Microsoft.Diagnostics.Runtime": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[2.2.343001, )",
|
"requested": "[2.4.416101, )",
|
||||||
"resolved": "2.2.343001",
|
"resolved": "2.4.416101",
|
||||||
"contentHash": "nVwXLEJiXbnnNkQPcWy64DMWNBvMg9XKWpfBBNMVs1gbEJ9HUVTcAA862mOjgyKryAtvGVKkeQ/9cW6pK8YAiA==",
|
"contentHash": "BUGBGNmjLWnRJ+Oqj23aDKjulOqDk6q62oQzeg9FghfphhhuTwlNLGHV88vKKldx+NHjWUzF3eUPUFxhROrcyQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.Diagnostics.NETCore.Client": "0.2.251802",
|
"Microsoft.Diagnostics.NETCore.Client": "0.2.251802",
|
||||||
"System.Collections.Immutable": "5.0.0",
|
"System.Collections.Immutable": "5.0.0",
|
||||||
"System.Runtime.CompilerServices.Unsafe": "5.0.0"
|
"System.Runtime.CompilerServices.Unsafe": "5.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.Extensions.Configuration.Binder": {
|
|
||||||
"type": "Direct",
|
|
||||||
"requested": "[7.0.0, )",
|
|
||||||
"resolved": "7.0.0",
|
|
||||||
"contentHash": "tgU4u7bZsoS9MKVRiotVMAwHtbREHr5/5zSEV+JPhg46+ox47Au84E3D2IacAaB0bk5ePNaNieTlPrfjbbRJkg==",
|
|
||||||
"dependencies": {
|
|
||||||
"Microsoft.Extensions.Configuration.Abstractions": "7.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Microsoft.Extensions.Configuration.CommandLine": {
|
"Microsoft.Extensions.Configuration.CommandLine": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[7.0.0, )",
|
"requested": "[7.0.0, )",
|
||||||
@@ -101,23 +92,23 @@
|
|||||||
},
|
},
|
||||||
"NLog": {
|
"NLog": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[5.1.0, )",
|
"requested": "[5.2.0, )",
|
||||||
"resolved": "5.1.0",
|
"resolved": "5.2.0",
|
||||||
"contentHash": "oW7ekrkRG9okpDMUcEglunWj8Qf2RY8qkgl+/chJoavzg3dbT13y32t19R54FKkmq80fKzw4ZekZkCrRGanKgQ=="
|
"contentHash": "uYBgseY0m/9lQUbZYGsQsTBFOWrfs3iaekzzYMH6vFmpoOAvV8/bp1XxG/suZkwB5h8nAiTJAp7VENWRDKtKPA=="
|
||||||
},
|
},
|
||||||
"nulastudio.NetCoreBeauty": {
|
"nulastudio.NetCoreBeauty": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[1.2.9.3, )",
|
"requested": "[1.2.9.5, )",
|
||||||
"resolved": "1.2.9.3",
|
"resolved": "1.2.9.5",
|
||||||
"contentHash": "ToUOoX/sNCg6oeMcSrHYBBRPjKp1gDS7I5WNnY+59t7iNFPcAojpc2lYmgCm3hxwXW/xCxyQIV4k5agegqc3fg=="
|
"contentHash": "0w2QtE3ir6z9J4fZpW1s3/V93dnceUmVm/E1ADhbt0WJ8z1Q3UhYe0Z7rXCy7Pl3y+zRQwERSV9N0aBuGABLjw=="
|
||||||
},
|
},
|
||||||
"PropertyChanged.Fody": {
|
"PropertyChanged.Fody": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[4.0.3, )",
|
"requested": "[4.1.0, )",
|
||||||
"resolved": "4.0.3",
|
"resolved": "4.1.0",
|
||||||
"contentHash": "vRxEDydahhcetswKaoUug7mQywgpZpHoeHZWa7Opb+H+eWPUQo+f+v37Jy+rrG1RVOCkyziTgCkNetXzNlUXJw==",
|
"contentHash": "6v+f9cI8YjnZH2WBHuOqWEAo8DFFNGFIdU8xD3AsL6fhV6Y8oAmVWd7XKk49t8DpeUBwhR/X+97+6Epvek0Y3A==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Fody": "6.6.3"
|
"Fody": "6.6.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"SpaceEngineersDedicated.ReferenceAssemblies": {
|
"SpaceEngineersDedicated.ReferenceAssemblies": {
|
||||||
@@ -143,9 +134,9 @@
|
|||||||
},
|
},
|
||||||
"System.Management": {
|
"System.Management": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[7.0.0, )",
|
"requested": "[7.0.2, )",
|
||||||
"resolved": "7.0.0",
|
"resolved": "7.0.2",
|
||||||
"contentHash": "A4jed4QUviDOm7fJNKAJObEAEkEUXmkGL/w0iyCYTzrl1rezTj8LGFHfsVst4Vb9JwFcTpboiDrvdST48avBpw==",
|
"contentHash": "/qEUN91mP/MUQmJnM5y5BdT7ZoPuVrtxnFlbJ8a3kBJGhe2wCzBfnPFtK2wTtEEcf3DMGR9J00GZZfg6HRI6yA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.CodeDom": "7.0.0"
|
"System.CodeDom": "7.0.0"
|
||||||
}
|
}
|
||||||
@@ -157,8 +148,8 @@
|
|||||||
},
|
},
|
||||||
"Fody": {
|
"Fody": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.6.3",
|
"resolved": "6.6.4",
|
||||||
"contentHash": "X1WKKgSNYVtLzdO8dK3YWmfmljA4L0soePcWNouq9X6WbVF4bmivuJdlhTZx/2L3ml6tMvhFe8skIbVQ24PAYA=="
|
"contentHash": "vLZS+oa+ndUHYPlx/8n9bBTT3dHkCF0riml4paKq4D663+cZd47x1uagQo32D/gKFZ/sfmV1oqKaLmH0elxq4A=="
|
||||||
},
|
},
|
||||||
"HarmonyX": {
|
"HarmonyX": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
@@ -175,8 +166,8 @@
|
|||||||
},
|
},
|
||||||
"MdXaml.Plugins": {
|
"MdXaml.Plugins": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "1.16.2",
|
"resolved": "1.20.1",
|
||||||
"contentHash": "EOMENHbLkpRk7+UItuutDuETiJpSCZgBATBRk7WSuxO16NUfzrS39ja4RhIQ0Ax8u0RH1wCAS0VINYPZqxfJeg=="
|
"contentHash": "+pLkHJ8LuTVdZ0FM5c9ftjaebN4L7I4ShhXideTSos8rfULFSzLFuBWZot22A9yljuEpn5FbPw04Jrrs/il9ng=="
|
||||||
},
|
},
|
||||||
"Microsoft.Bcl.AsyncInterfaces": {
|
"Microsoft.Bcl.AsyncInterfaces": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
@@ -185,29 +176,27 @@
|
|||||||
},
|
},
|
||||||
"Microsoft.CodeAnalysis.Analyzers": {
|
"Microsoft.CodeAnalysis.Analyzers": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "3.3.3",
|
"resolved": "3.3.4",
|
||||||
"contentHash": "j/rOZtLMVJjrfLRlAMckJLPW/1rze9MT1yfWqSIbUPGRu1m1P0fuo9PmqapwsmePfGB5PJrudQLvmUOAMF0DqQ=="
|
"contentHash": "AxkxcPR+rheX0SmvpLVIGLhOUXAKG56a64kV9VQZ4y9gR9ZmPXnqZvHJnmwLSwzrEP6junUF11vuc+aqo5r68g=="
|
||||||
},
|
},
|
||||||
"Microsoft.CodeAnalysis.Common": {
|
"Microsoft.CodeAnalysis.Common": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "4.4.0",
|
"resolved": "4.6.0",
|
||||||
"contentHash": "JfHupS/B7Jb5MZoYkFFABn3mux0wQgxi2D8F/rJYZeRBK2ZOyk7TjQ2Kq9rh6W/DCh0KNbbSbn5qoFar+ueHqw==",
|
"contentHash": "N3uLvekc7DjvE1BX8YW7UH7ldjA4ps/Tun2YmOoSIItJrh1gnQIMKUbK1c3uQUx2NHbLibVZI4o/VB9xb4B7tA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.CodeAnalysis.Analyzers": "3.3.3",
|
"Microsoft.CodeAnalysis.Analyzers": "3.3.4",
|
||||||
"System.Collections.Immutable": "6.0.0",
|
"System.Collections.Immutable": "7.0.0",
|
||||||
"System.Memory": "4.5.5",
|
"System.Reflection.Metadata": "7.0.0",
|
||||||
"System.Reflection.Metadata": "5.0.0",
|
|
||||||
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
|
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
|
||||||
"System.Text.Encoding.CodePages": "6.0.0",
|
"System.Text.Encoding.CodePages": "7.0.0"
|
||||||
"System.Threading.Tasks.Extensions": "4.5.4"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.CodeAnalysis.CSharp": {
|
"Microsoft.CodeAnalysis.CSharp": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "4.4.0",
|
"resolved": "4.6.0",
|
||||||
"contentHash": "eD2w0xHRoaqK07hjlOKGR9eLNy3nimiGNeCClNax1NDgS/+DBtBqCjXelOa+TNy99kIB3nHhUqDmr46nDXy/RQ==",
|
"contentHash": "9pyFZUN2Lyu3C0Xfs49kezfH+CzQHMibGsQeQPu0P+GWyH2XXDwmyZ6jAaKQGNUXOJfC2OK01hWMJTJY315uDQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.CodeAnalysis.Common": "[4.4.0]"
|
"Microsoft.CodeAnalysis.Common": "[4.6.0]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.Diagnostics.NETCore.Client": {
|
"Microsoft.Diagnostics.NETCore.Client": {
|
||||||
@@ -236,6 +225,14 @@
|
|||||||
"Microsoft.Extensions.Primitives": "7.0.0"
|
"Microsoft.Extensions.Primitives": "7.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Microsoft.Extensions.Configuration.Binder": {
|
||||||
|
"type": "Transitive",
|
||||||
|
"resolved": "7.0.4",
|
||||||
|
"contentHash": "8+XPvJnHZsYgHOQlcMuQe7QNF5KdVKHH1F/wW3nd8/u81Gk/XFAYMDP0Lpz18h7/AM95M662vvqMorcYxCBB4w==",
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.Extensions.Configuration.Abstractions": "7.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"Microsoft.Extensions.Configuration.FileExtensions": {
|
"Microsoft.Extensions.Configuration.FileExtensions": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "7.0.0",
|
"resolved": "7.0.0",
|
||||||
@@ -308,8 +305,8 @@
|
|||||||
},
|
},
|
||||||
"Microsoft.Xaml.Behaviors.Wpf": {
|
"Microsoft.Xaml.Behaviors.Wpf": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "1.1.31",
|
"resolved": "1.1.39",
|
||||||
"contentHash": "LZpuf82ACZWldmfMuv3CTUMDh3o0xo0uHUaybR5HgqVLDBJJ9RZLykplQ/bTJd0/VDt3EhD4iDgUgbdIUAM+Kg=="
|
"contentHash": "8PZKqw9QOcu42xk8puY4P1+EXHL9YGOR9b7qhaYx5cILHul456H073tj99vyPcCt0W0781T9RwHqkx507ZyUpQ=="
|
||||||
},
|
},
|
||||||
"Mono.Cecil": {
|
"Mono.Cecil": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
@@ -369,107 +366,112 @@
|
|||||||
},
|
},
|
||||||
"NuGet.Commands": {
|
"NuGet.Commands": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "j3ma45boGZADsHpJcu3Y2yq+n2luicC6ezd61TXTTzbOzA452oAPaSsFGUB1stIsuP/DVoqkTzjHXjaCHuJKPQ==",
|
"contentHash": "D1b7gTk1wp7sxscLhS8O/yoErsRVbR4zJvLVD4jo1sgxh42ZOWKpMkhznPUxpvmCxBhw9hAy8/yWrRH91SfdEQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Credentials": "6.4.0",
|
"Microsoft.Extensions.FileProviders.Abstractions": "6.0.0",
|
||||||
"NuGet.ProjectModel": "6.4.0"
|
"Microsoft.Extensions.FileSystemGlobbing": "6.0.0",
|
||||||
|
"NuGet.Credentials": "6.6.1",
|
||||||
|
"NuGet.ProjectModel": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Common": {
|
"NuGet.Common": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "srECugLk+LB1bXelDCDhHoi6do/EYTXzuntKhjHraS4roVB3NfWohEdCSiAPdpSV9M40Q6jo6MV2Srml9e+jHQ==",
|
"contentHash": "hW5NtShErO3qbdkyv7doCRsFNK9Rlcc7mVjYM+hg1sOAWheTh/oo95DzNbsZthiqyHZfaioopfWtzmoxNw9h4g==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Frameworks": "6.4.0"
|
"NuGet.Frameworks": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Configuration": {
|
"NuGet.Configuration": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "vPjauG9AoacEjiZWGIs+d11FCRVmseqAw78FIApfLvZrYMEbbwc9vc0LdC3PpoW5FxYkktyZSiiXVKXGLu+gXw==",
|
"contentHash": "9WbK8wgwPfRpSwuG+ZhMshE48qUYvPIw7VNLCncrq/in4vE6SGsuawPSxPJkkLBtcKTGbPMez5JDvUf6vEBgKg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Common": "6.4.0",
|
"NuGet.Common": "6.6.1",
|
||||||
"System.Security.Cryptography.ProtectedData": "4.4.0"
|
"System.Security.Cryptography.ProtectedData": "4.4.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Credentials": {
|
"NuGet.Credentials": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "tebsxclknVz3D4FrvE2MzVcsOyf6PffjGNQ77X9Yvbj9x5YpVWfumVPetqETcdsNEgiN0bBzfMre33lhrY7Itw==",
|
"contentHash": "TuOlXcE1ajwdtfnQaUjDv2xO2u/WDS56/b5jHfEBZetKfcpT0W3iNOqInVPO0qxRxXK5/HXUKVr2Pya1LsVVnA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Protocol": "6.4.0"
|
"NuGet.Protocol": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.DependencyResolver.Core": {
|
"NuGet.DependencyResolver.Core": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "AKomZEKuhQlshujuiHbKvwl2cZNGq3SHsXFbpjCfCjMFMLwwA8saJGQQZp1lzsqQWcQWa6hLOcPtm7T3rd0SVg==",
|
"contentHash": "K+EXXLU37PBnwLGx6WnVGxlfWYkdedvUUOeDMERXelNgjg20irtKf3hk+wGB7NmxAdNY9/gGcOgSDOV+M0w3Jg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Configuration": "6.4.0",
|
"NuGet.Configuration": "6.6.1",
|
||||||
"NuGet.LibraryModel": "6.4.0",
|
"NuGet.LibraryModel": "6.6.1",
|
||||||
"NuGet.Protocol": "6.4.0"
|
"NuGet.Protocol": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Frameworks": {
|
"NuGet.Frameworks": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "qcufbjJIDtyY/Hah7JJfcRVpRYM3scgPqYBnukjO9kfADCFGr2azvVBozuwzljA6w/cR3w8bXLq6vW5xGrsmHw=="
|
"contentHash": "iRtDhL0zPqVw037fHEK9bQljTKPuOHhfIkz86/IH2P8eetr910HTTe5G8lJTuzZHh592Ze/sYhh173HIFjPSfg=="
|
||||||
},
|
},
|
||||||
"NuGet.LibraryModel": {
|
"NuGet.LibraryModel": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "K6ROQpWr34Aje81G0HfipiznLTB8vD4BO8sF6FEwx1KjJVdFkSmGZPmAhc6L1vZPs8TKY5BqoH72zG13zVzW2w==",
|
"contentHash": "B0KH19sNNUq56YfEozIsIpk8EOyolG0LRT+hqG1/mhuXlQFiP9BgT6pZgwLQVLUl9YBDx3+KWQQbl6pz8Yh/Sw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Common": "6.4.0",
|
"NuGet.Common": "6.6.1",
|
||||||
"NuGet.Versioning": "6.4.0"
|
"NuGet.Versioning": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Packaging": {
|
"NuGet.Packaging": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "aR10aYqcUMGC2mwMGH5rls/MGaz3EVH8DKTTHQ/EC91hXNtrCTTAQonaRR+v1EItcoxtQeZ/WQOorv4z270Tgg==",
|
"contentHash": "GwhFi2Ep4YzAGQFYz1OsMVNfiJ1M46nyCgHQ7xjJSMvxDYFgodR1RqVugWFMbIUUq6I8iYASwp5lpHXvITeuIQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Newtonsoft.Json": "13.0.1",
|
"Newtonsoft.Json": "13.0.1",
|
||||||
"NuGet.Configuration": "6.4.0",
|
"NuGet.Configuration": "6.6.1",
|
||||||
"NuGet.Versioning": "6.4.0",
|
"NuGet.Versioning": "6.6.1",
|
||||||
"System.Security.Cryptography.Cng": "5.0.0",
|
"System.Security.Cryptography.Cng": "5.0.0",
|
||||||
"System.Security.Cryptography.Pkcs": "5.0.0"
|
"System.Security.Cryptography.Pkcs": "5.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.ProjectModel": {
|
"NuGet.ProjectModel": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "eW9Q7vPk8cpXDd5b+vtIPkl8dSDCPkPJPrjXPTfZGxhstldnhJrj1XPaonsDZLQ24YY7LrYCzC0BiHh3iO5zUA==",
|
"contentHash": "CEyRXXvgIoEQBWn3WZupjkIVC6rPcGUAO5p4Gz+fnF8kcefWQOXHfnOE+UKZ0WwAJG5iMWRvXBKAGOuFiFhNpQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.DependencyResolver.Core": "6.4.0"
|
"NuGet.DependencyResolver.Core": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Protocol": {
|
"NuGet.Protocol": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "KIPjsWP0P3EMsDsXaa6YBCTvYKur/zI0luS1kO5G37ci8mHs2kJFsuG5qaMhGvgyHASu54sxlic1n1oza2Pcbw==",
|
"contentHash": "HhKLsK6Q0NNp6qb0T26GLR5gCTRZu+gzqDVK4xqXHZmsolaDVIdIYpn44b2etaVYLzNJCvgRkw+I422u2bIvMw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Packaging": "6.4.0"
|
"NuGet.Packaging": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Versioning": {
|
"NuGet.Versioning": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "YE8p3TpX4jIw+Gb24maE8YRDoqWA4imLmCbdOj5IvslLrZJXQ8akeFOGOplxICNVevON1g1SFYT2+cq4yy0nQQ=="
|
"contentHash": "Wm/AOFICTIrCgbVxv9dNWusraTzcggbo5W4ao7hD8NNVq911an9TGwW+uNuYc8I5PkpTeMuSXneV2u6hbi1P4w=="
|
||||||
},
|
},
|
||||||
"protobuf-net": {
|
"protobuf-net": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "3.1.26",
|
"resolved": "3.2.26",
|
||||||
"contentHash": "iy+VROYtWZEqDvkUjS6FfzKZNpWRoVGc5h0cupGQT/37Ox0LxPblRKLnw6V0RT1MPclLo8nZp7E2M0f7PNn/Tw==",
|
"contentHash": "zBzBiKs4yP+tzQOsRA5WbI/zayS6eFv8g0KIKNPI7/RUY1nk9Oe+STmtbUYkNUkO3T3SidEoZv+tF1nmgTSutQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"protobuf-net.Core": "3.1.26"
|
"protobuf-net.Core": "3.2.26"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"protobuf-net.Core": {
|
"protobuf-net.Core": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "3.1.26",
|
"resolved": "3.2.26",
|
||||||
"contentHash": "fuKoDWgAf5ju+ixbJoasVFhnUaT0oWUgrWh1AZ5D0Y5keKHpA93vQB5g6aQNtB4zgeQ4hGEeh0MY9bIbAUPgEw=="
|
"contentHash": "s8oJW9dBVxix4p8uqMbeG++DIGjgzOFAKoP2i5wayeeFOKBqG+cCBO2S/CAC4MAFlb5m1Os2m/miLcqRCgqJ7Q==",
|
||||||
|
"dependencies": {
|
||||||
|
"System.Collections.Immutable": "7.0.0"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"SemanticVersioning": {
|
"SemanticVersioning": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
@@ -491,11 +493,8 @@
|
|||||||
},
|
},
|
||||||
"System.Collections.Immutable": {
|
"System.Collections.Immutable": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.0.0",
|
"resolved": "7.0.0",
|
||||||
"contentHash": "l4zZJ1WU2hqpQQHXz1rvC3etVZN+2DLmQMO79FhOTZHMn8tDRr+WU287sbomD0BETlmKDn0ygUgVy9k5xkkJdA==",
|
"contentHash": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ=="
|
||||||
"dependencies": {
|
|
||||||
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"System.Formats.Asn1": {
|
"System.Formats.Asn1": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
@@ -510,15 +509,13 @@
|
|||||||
"Microsoft.Bcl.AsyncInterfaces": "6.0.0"
|
"Microsoft.Bcl.AsyncInterfaces": "6.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"System.Memory": {
|
|
||||||
"type": "Transitive",
|
|
||||||
"resolved": "4.5.5",
|
|
||||||
"contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw=="
|
|
||||||
},
|
|
||||||
"System.Reflection.Metadata": {
|
"System.Reflection.Metadata": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "5.0.0",
|
"resolved": "7.0.0",
|
||||||
"contentHash": "5NecZgXktdGg34rh1OenY1rFNDCI8xSjFr+Z4OU4cU06AQHUdRnIIEeWENu3Wl4YowbzkymAIMvi3WyK9U53pQ=="
|
"contentHash": "MclTG61lsD9sYdpNz9xsKBzjsmsfCtcMZYXz/IUr2zlhaTaABonlr1ESeompTgM+Xk+IwtGYU7/voh3YWB/fWw==",
|
||||||
|
"dependencies": {
|
||||||
|
"System.Collections.Immutable": "7.0.0"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"System.Runtime.CompilerServices.Unsafe": {
|
"System.Runtime.CompilerServices.Unsafe": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
@@ -556,21 +553,13 @@
|
|||||||
},
|
},
|
||||||
"System.Text.Encoding.CodePages": {
|
"System.Text.Encoding.CodePages": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.0.0",
|
"resolved": "7.0.0",
|
||||||
"contentHash": "ZFCILZuOvtKPauZ/j/swhvw68ZRi9ATCfvGbk1QfydmcXBkIWecWKn/250UH7rahZ5OoDBaiAudJtPvLwzw85A==",
|
"contentHash": "LSyCblMpvOe0N3E+8e0skHcrIhgV2huaNcjUUEa8hRtgEAm36aGkRoC8Jxlb6Ra6GSfF29ftduPNywin8XolzQ=="
|
||||||
"dependencies": {
|
|
||||||
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"System.Text.Json": {
|
"System.Text.Json": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "5.0.1",
|
"resolved": "5.0.2",
|
||||||
"contentHash": "/UM3UK1dXKl8Ybysg/21gM4S8DJgkR+yLU8JwqCVbuNqQNImelntgYFAN5QxR8sJJ1kMx//hOUdf0lltosi8cQ=="
|
"contentHash": "I47dVIGiV6SfAyppphxqupertT/5oZkYLDCX6vC3HpOI4ZLjyoKAreUoem2ie6G0RbRuFrlqz/PcTQjfb2DOfQ=="
|
||||||
},
|
|
||||||
"System.Threading.Tasks.Extensions": {
|
|
||||||
"type": "Transitive",
|
|
||||||
"resolved": "4.5.4",
|
|
||||||
"contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg=="
|
|
||||||
},
|
},
|
||||||
"Torch.SixLabors.ImageSharp": {
|
"Torch.SixLabors.ImageSharp": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
@@ -584,26 +573,27 @@
|
|||||||
"torch": {
|
"torch": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ControlzEx": "[5.0.2, )",
|
"ControlzEx": "[6.0.0, )",
|
||||||
"HarmonyX": "[2.10.2-prerelease.4, )",
|
"HarmonyX": "[2.10.2-prerelease.4, )",
|
||||||
"MahApps.Metro": "[2.4.9, )",
|
"MahApps.Metro": "[2.4.9, )",
|
||||||
"Microsoft.CodeAnalysis.CSharp": "[4.4.0, )",
|
"Microsoft.CodeAnalysis.CSharp": "[4.6.0, )",
|
||||||
"Microsoft.CodeAnalysis.Common": "[4.4.0, )",
|
"Microsoft.CodeAnalysis.Common": "[4.6.0, )",
|
||||||
"MonoModReorg.RuntimeDetour": "[23.3.22.1, )",
|
"MonoModReorg.RuntimeDetour": "[23.3.22.1, )",
|
||||||
"NLog": "[5.1.0, )",
|
"NLog": "[5.2.0, )",
|
||||||
"System.ComponentModel.Annotations": "[5.0.0, )",
|
"System.ComponentModel.Annotations": "[5.0.0, )",
|
||||||
"Torch.API": "[1.0.0, )",
|
"Torch.API": "[1.0.0, )",
|
||||||
"Torch.SixLabors.ImageSharp": "[1.0.0-beta6, )",
|
"Torch.SixLabors.ImageSharp": "[1.0.0-beta6, )",
|
||||||
"protobuf-net": "[3.1.26, )"
|
"protobuf-net": "[3.2.26, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"torch.api": {
|
"torch.api": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"JorgeSerrano.Json.JsonSnakeCaseNamingPolicy": "[0.9.0, )",
|
"JorgeSerrano.Json.JsonSnakeCaseNamingPolicy": "[0.9.0, )",
|
||||||
"NLog": "[5.1.0, )",
|
"Microsoft.Extensions.Configuration.Binder": "[7.0.4, )",
|
||||||
"NuGet.Commands": "[6.4.0, )",
|
"NLog": "[5.2.0, )",
|
||||||
"NuGet.DependencyResolver.Core": "[6.4.0, )",
|
"NuGet.Commands": "[6.6.1, )",
|
||||||
|
"NuGet.DependencyResolver.Core": "[6.6.1, )",
|
||||||
"SemanticVersioning": "[2.0.2, )",
|
"SemanticVersioning": "[2.0.2, )",
|
||||||
"System.Linq.Async": "[6.0.1, )"
|
"System.Linq.Async": "[6.0.1, )"
|
||||||
}
|
}
|
||||||
@@ -618,9 +608,9 @@
|
|||||||
},
|
},
|
||||||
"System.Management": {
|
"System.Management": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[7.0.0, )",
|
"requested": "[7.0.2, )",
|
||||||
"resolved": "7.0.0",
|
"resolved": "7.0.2",
|
||||||
"contentHash": "A4jed4QUviDOm7fJNKAJObEAEkEUXmkGL/w0iyCYTzrl1rezTj8LGFHfsVst4Vb9JwFcTpboiDrvdST48avBpw==",
|
"contentHash": "/qEUN91mP/MUQmJnM5y5BdT7ZoPuVrtxnFlbJ8a3kBJGhe2wCzBfnPFtK2wTtEEcf3DMGR9J00GZZfg6HRI6yA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.CodeDom": "7.0.0"
|
"System.CodeDom": "7.0.0"
|
||||||
}
|
}
|
||||||
@@ -648,11 +638,8 @@
|
|||||||
},
|
},
|
||||||
"System.Text.Encoding.CodePages": {
|
"System.Text.Encoding.CodePages": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.0.0",
|
"resolved": "7.0.0",
|
||||||
"contentHash": "ZFCILZuOvtKPauZ/j/swhvw68ZRi9ATCfvGbk1QfydmcXBkIWecWKn/250UH7rahZ5OoDBaiAudJtPvLwzw85A==",
|
"contentHash": "LSyCblMpvOe0N3E+8e0skHcrIhgV2huaNcjUUEa8hRtgEAm36aGkRoC8Jxlb6Ra6GSfF29ftduPNywin8XolzQ=="
|
||||||
"dependencies": {
|
|
||||||
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -17,8 +17,8 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- <Import Project="$(SolutionDir)\TransformOnBuild.targets" /> -->
|
<!-- <Import Project="$(SolutionDir)\TransformOnBuild.targets" /> -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
|
||||||
<PackageReference Include="NLog" Version="5.1.0" />
|
<PackageReference Include="NLog" Version="5.2.0" />
|
||||||
<PackageReference Include="xunit" Version="2.4.2" />
|
<PackageReference Include="xunit" Version="2.4.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@@ -52,8 +52,40 @@ namespace Torch.Managers
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IReadOnlyDictionary<Guid, ITorchPlugin> Plugins => _plugins.AsReadOnlyObservable();
|
public IReadOnlyDictionary<Guid, ITorchPlugin> Plugins => _plugins.AsReadOnlyObservable();
|
||||||
|
|
||||||
public event Action<IReadOnlyCollection<ITorchPlugin>> PluginsLoaded;
|
private Action<IReadOnlyCollection<ITorchPlugin>> _pluginsLoaded;
|
||||||
|
private bool _loaded;
|
||||||
|
|
||||||
|
public event Action<IReadOnlyCollection<ITorchPlugin>> PluginsLoaded
|
||||||
|
{
|
||||||
|
add
|
||||||
|
{
|
||||||
|
var action = _pluginsLoaded;
|
||||||
|
Action<IReadOnlyCollection<ITorchPlugin>> action2;
|
||||||
|
do
|
||||||
|
{
|
||||||
|
action2 = action;
|
||||||
|
var action3 = (Action<IReadOnlyCollection<ITorchPlugin>>)Delegate.Combine(action2, value);
|
||||||
|
action = Interlocked.CompareExchange(ref _pluginsLoaded, action3, action2);
|
||||||
|
}
|
||||||
|
while (action != action2);
|
||||||
|
|
||||||
|
if (_loaded)
|
||||||
|
value(_plugins.Values.AsReadOnly());
|
||||||
|
}
|
||||||
|
remove
|
||||||
|
{
|
||||||
|
var action = _pluginsLoaded;
|
||||||
|
Action<IReadOnlyCollection<ITorchPlugin>> action2;
|
||||||
|
do
|
||||||
|
{
|
||||||
|
action2 = action;
|
||||||
|
var action3 = (Action<IReadOnlyCollection<ITorchPlugin>>)Delegate.Remove(action2, value);
|
||||||
|
action = Interlocked.CompareExchange(ref _pluginsLoaded, action3, action2);
|
||||||
|
}
|
||||||
|
while (action != action2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public PluginManager(ITorchBase torchInstance) : base(torchInstance)
|
public PluginManager(ITorchBase torchInstance) : base(torchInstance)
|
||||||
{
|
{
|
||||||
if (!Directory.Exists(PluginDir))
|
if (!Directory.Exists(PluginDir))
|
||||||
@@ -145,7 +177,8 @@ namespace Torch.Managers
|
|||||||
plugin.Init(Torch);
|
plugin.Init(Torch);
|
||||||
}
|
}
|
||||||
_log.Info($"Loaded {_plugins.Count} plugins.");
|
_log.Info($"Loaded {_plugins.Count} plugins.");
|
||||||
PluginsLoaded?.Invoke(_plugins.Values.AsReadOnly());
|
_loaded = true;
|
||||||
|
_pluginsLoaded?.Invoke(_plugins.Values.AsReadOnly());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -220,7 +253,8 @@ namespace Torch.Managers
|
|||||||
plugin.Init(Torch);
|
plugin.Init(Torch);
|
||||||
}
|
}
|
||||||
_log.Info($"Loaded {_plugins.Count} plugins.");
|
_log.Info($"Loaded {_plugins.Count} plugins.");
|
||||||
PluginsLoaded?.Invoke(_plugins.Values.AsReadOnly());
|
_loaded = true;
|
||||||
|
_pluginsLoaded?.Invoke(_plugins.Values.AsReadOnly());
|
||||||
}
|
}
|
||||||
|
|
||||||
//debug flag is set when the user asks us to run with a specific plugin for plugin development debug
|
//debug flag is set when the user asks us to run with a specific plugin for plugin development debug
|
||||||
|
@@ -49,8 +49,6 @@ namespace Torch.Session
|
|||||||
public TorchSessionManager(ITorchBase torchInstance) : base(torchInstance)
|
public TorchSessionManager(ITorchBase torchInstance) : base(torchInstance)
|
||||||
{
|
{
|
||||||
_overrideMods = new Dictionary<ulong, MyObjectBuilder_Checkpoint.ModItem>();
|
_overrideMods = new Dictionary<ulong, MyObjectBuilder_Checkpoint.ModItem>();
|
||||||
if (Torch.Config.UgcServiceType == UGCServiceType.Steam)
|
|
||||||
_overrideMods.Add(ModCommunication.MOD_ID, ModItemUtils.Create(ModCommunication.MOD_ID));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
@@ -193,6 +191,8 @@ namespace Torch.Session
|
|||||||
MySession.AfterLoading += SessionLoaded;
|
MySession.AfterLoading += SessionLoaded;
|
||||||
MySession.OnUnloading += SessionUnloading;
|
MySession.OnUnloading += SessionUnloading;
|
||||||
MySession.OnUnloaded += SessionUnloaded;
|
MySession.OnUnloaded += SessionUnloaded;
|
||||||
|
if (Torch.Config.UgcServiceType == UGCServiceType.Steam)
|
||||||
|
_overrideMods.Add(ModCommunication.MOD_ID, ModItemUtils.Create(ModCommunication.MOD_ID));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -23,16 +23,16 @@
|
|||||||
<Import Project="..\Torch.Mod\Torch.Mod.projitems" Label="Shared" />
|
<Import Project="..\Torch.Mod\Torch.Mod.projitems" Label="Shared" />
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="ControlzEx" Version="5.0.2" />
|
<PackageReference Include="ControlzEx" Version="6.0.0" />
|
||||||
<PackageReference Include="HarmonyX" Version="2.10.2-prerelease.4" />
|
<PackageReference Include="HarmonyX" Version="2.10.2-prerelease.4" />
|
||||||
<PackageReference Include="InfoOf.Fody" Version="2.1.1" PrivateAssets="all" />
|
<PackageReference Include="InfoOf.Fody" Version="2.1.1" PrivateAssets="all" />
|
||||||
<PackageReference Include="MahApps.Metro" Version="2.4.9" />
|
<PackageReference Include="MahApps.Metro" Version="2.4.9" />
|
||||||
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.4.0" />
|
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.6.0" />
|
||||||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.4.0" />
|
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.6.0" />
|
||||||
<PackageReference Include="MonoModReorg.RuntimeDetour" Version="23.3.22.1" />
|
<PackageReference Include="MonoModReorg.RuntimeDetour" Version="23.3.22.1" />
|
||||||
<PackageReference Include="NLog" Version="5.1.0" />
|
<PackageReference Include="NLog" Version="5.2.0" />
|
||||||
<PackageReference Include="PropertyChanged.Fody" Version="4.1.0" PrivateAssets="all" />
|
<PackageReference Include="PropertyChanged.Fody" Version="4.1.0" PrivateAssets="all" />
|
||||||
<PackageReference Include="protobuf-net" Version="3.1.26" />
|
<PackageReference Include="protobuf-net" Version="3.2.26" />
|
||||||
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
|
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
|
||||||
<PackageReference Include="Torch.SixLabors.ImageSharp" Version="1.0.0-beta6" />
|
<PackageReference Include="Torch.SixLabors.ImageSharp" Version="1.0.0-beta6" />
|
||||||
<PackageReference Include="SpaceEngineersDedicated.ReferenceAssemblies" Version="1.202.120">
|
<PackageReference Include="SpaceEngineersDedicated.ReferenceAssemblies" Version="1.202.120">
|
||||||
|
@@ -5,6 +5,7 @@ using System.Reflection;
|
|||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Microsoft.Extensions.Configuration;
|
||||||
using NLog;
|
using NLog;
|
||||||
using Sandbox;
|
using Sandbox;
|
||||||
using Sandbox.Game;
|
using Sandbox.Game;
|
||||||
@@ -59,6 +60,8 @@ namespace Torch
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public ITorchConfig Config { get; protected set; }
|
public ITorchConfig Config { get; protected set; }
|
||||||
|
|
||||||
|
public abstract IConfiguration Configuration { get; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public SemanticVersioning.Version TorchVersion { get; }
|
public SemanticVersioning.Version TorchVersion { get; }
|
||||||
public string InstancePath { get; protected init;}
|
public string InstancePath { get; protected init;}
|
||||||
@@ -113,6 +116,12 @@ namespace Torch
|
|||||||
Plugins = new PluginManager(this);
|
Plugins = new PluginManager(this);
|
||||||
#pragma warning restore CS0618
|
#pragma warning restore CS0618
|
||||||
|
|
||||||
|
var sessionManager = new TorchSessionManager(this);
|
||||||
|
sessionManager.AddFactory(_ => Sync.IsServer ? new ChatManagerServer(this) : new ChatManagerClient(this));
|
||||||
|
sessionManager.AddFactory(_ => Sync.IsServer ? new CommandManager(this) : null);
|
||||||
|
sessionManager.AddFactory(_ => new EntityManager(this));
|
||||||
|
|
||||||
|
Managers.AddManager(sessionManager);
|
||||||
Managers.AddManager(new PatchManager(this));
|
Managers.AddManager(new PatchManager(this));
|
||||||
Managers.AddManager(new FilesystemManager(this));
|
Managers.AddManager(new FilesystemManager(this));
|
||||||
Managers.AddManager(new UpdateManager(this));
|
Managers.AddManager(new UpdateManager(this));
|
||||||
@@ -280,15 +289,6 @@ namespace Torch
|
|||||||
Game = new VRageGame(this, TweakGameSettings, SteamAppName, SteamAppId, InstancePath, RunArgs);
|
Game = new VRageGame(this, TweakGameSettings, SteamAppName, SteamAppId, InstancePath, RunArgs);
|
||||||
if (!Game.WaitFor(VRageGame.GameState.Stopped))
|
if (!Game.WaitFor(VRageGame.GameState.Stopped))
|
||||||
Log.Warn("Failed to wait for game to be initialized");
|
Log.Warn("Failed to wait for game to be initialized");
|
||||||
|
|
||||||
var sessionManager = new TorchSessionManager(this);
|
|
||||||
sessionManager.AddFactory((x) => Sync.IsServer ? new ChatManagerServer(this) : new ChatManagerClient(this));
|
|
||||||
sessionManager.AddFactory((x) => Sync.IsServer ? new CommandManager(this) : null);
|
|
||||||
sessionManager.AddFactory((x) => new EntityManager(this));
|
|
||||||
|
|
||||||
Managers.AddManager(sessionManager);
|
|
||||||
|
|
||||||
|
|
||||||
Managers.Attach();
|
Managers.Attach();
|
||||||
_init = true;
|
_init = true;
|
||||||
|
|
||||||
|
@@ -8,6 +8,7 @@ using System.Text;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Havok;
|
using Havok;
|
||||||
|
using Microsoft.Extensions.Configuration;
|
||||||
using NLog;
|
using NLog;
|
||||||
using NLog.Fluent;
|
using NLog.Fluent;
|
||||||
using Sandbox;
|
using Sandbox;
|
||||||
@@ -30,6 +31,7 @@ using VRage.Dedicated;
|
|||||||
using VRage.EOS;
|
using VRage.EOS;
|
||||||
using VRage.FileSystem;
|
using VRage.FileSystem;
|
||||||
using VRage.Game;
|
using VRage.Game;
|
||||||
|
using VRage.Game.ModAPI;
|
||||||
using VRage.Game.ObjectBuilder;
|
using VRage.Game.ObjectBuilder;
|
||||||
using VRage.Game.SessionComponents;
|
using VRage.Game.SessionComponents;
|
||||||
using VRage.GameServices;
|
using VRage.GameServices;
|
||||||
@@ -152,7 +154,6 @@ namespace Torch
|
|||||||
Environment.SetEnvironmentVariable("SteamAppId", _appSteamId.ToString());
|
Environment.SetEnvironmentVariable("SteamAppId", _appSteamId.ToString());
|
||||||
MyVRageWindows.Init("SpaceEngineersDedicated", MySandboxGame.Log, null, false);
|
MyVRageWindows.Init("SpaceEngineersDedicated", MySandboxGame.Log, null, false);
|
||||||
SpaceEngineersGame.SetupPerGameSettings();
|
SpaceEngineersGame.SetupPerGameSettings();
|
||||||
SpaceEngineersGame.SetupBasicGameInfo();
|
|
||||||
MySessionComponentExtDebug.ForceDisable = true;
|
MySessionComponentExtDebug.ForceDisable = true;
|
||||||
MyPerGameSettings.SendLogToKeen = false;
|
MyPerGameSettings.SendLogToKeen = false;
|
||||||
// SpaceEngineersGame.SetupAnalytics();
|
// SpaceEngineersGame.SetupAnalytics();
|
||||||
@@ -169,10 +170,13 @@ namespace Torch
|
|||||||
MyInitializer.InvokeBeforeRun(_appSteamId, _appName, MyVRage.Platform.System.GetRootPath(), _userDataPath);
|
MyInitializer.InvokeBeforeRun(_appSteamId, _appName, MyVRage.Platform.System.GetRootPath(), _userDataPath);
|
||||||
|
|
||||||
_log.Info("Loading Dedicated Config");
|
_log.Info("Loading Dedicated Config");
|
||||||
|
|
||||||
// object created in SpaceEngineersGame.SetupPerGameSettings()
|
// object created in SpaceEngineersGame.SetupPerGameSettings()
|
||||||
MySandboxGame.ConfigDedicated.Load();
|
MySandboxGame.ConfigDedicated.Load();
|
||||||
MyPlatformGameSettings.CONSOLE_COMPATIBLE = MySandboxGame.ConfigDedicated.ConsoleCompatibility;
|
ApplyConfiguration(MySandboxGame.ConfigDedicated);
|
||||||
|
|
||||||
|
MyPlatformGameSettings.CONSOLE_COMPATIBLE = MySandboxGame.ConfigDedicated.ConsoleCompatibility;
|
||||||
|
|
||||||
//Type.GetType("VRage.Steam.MySteamService, VRage.Steam").GetProperty("IsActive").GetSetMethod(true).Invoke(service, new object[] {SteamAPI.Init()});
|
//Type.GetType("VRage.Steam.MySteamService, VRage.Steam").GetProperty("IsActive").GetSetMethod(true).Invoke(service, new object[] {SteamAPI.Init()});
|
||||||
_log.Info("Initializing network services");
|
_log.Info("Initializing network services");
|
||||||
|
|
||||||
@@ -302,6 +306,18 @@ namespace Torch
|
|||||||
MyGlobalTypeMetadata.Static.Init(false);
|
MyGlobalTypeMetadata.Static.Init(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void ApplyConfiguration(IMyConfigDedicated dedicated)
|
||||||
|
{
|
||||||
|
var config = _torch.Configuration.GetSection("DedicatedServer");
|
||||||
|
|
||||||
|
dedicated.ServerPort = config.GetValue("Port", dedicated.ServerPort);
|
||||||
|
dedicated.ConsoleCompatibility = config.GetValue("ConsoleCompatibility", dedicated.ConsoleCompatibility);
|
||||||
|
dedicated.IP = config.GetValue("Ip", dedicated.IP);
|
||||||
|
dedicated.WorldName = config.GetValue("WorldName", dedicated.WorldName);
|
||||||
|
dedicated.ServerName = config.GetValue("ServerName", dedicated.ServerName);
|
||||||
|
dedicated.ServerDescription = config.GetValue("ServerDescription", dedicated.ServerDescription);
|
||||||
|
}
|
||||||
|
|
||||||
private void Destroy()
|
private void Destroy()
|
||||||
{
|
{
|
||||||
_game.Dispose();
|
_game.Dispose();
|
||||||
|
@@ -4,12 +4,12 @@
|
|||||||
"net7.0-windows7.0": {
|
"net7.0-windows7.0": {
|
||||||
"ControlzEx": {
|
"ControlzEx": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[5.0.2, )",
|
"requested": "[6.0.0, )",
|
||||||
"resolved": "5.0.2",
|
"resolved": "6.0.0",
|
||||||
"contentHash": "f724LoDJ36LxaLR62G4ek9ZAJI8BiiYRJJ04furC/qjXSeIwU0qmHFIe19xB1/FwxyZjevdFguEr9ZUjf3dZgw==",
|
"contentHash": "MEaqj6ienvKR4E7QJ3vwzo2vrdy2Kqw9Z3CudY5iUixR5iMYeLoMlks7EiABsz4WqDsgVLd9u7fixmCOGU+4ow==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.Xaml.Behaviors.Wpf": "1.1.31",
|
"Microsoft.Xaml.Behaviors.Wpf": "1.1.39",
|
||||||
"System.Text.Json": "5.0.1"
|
"System.Text.Json": "5.0.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"HarmonyX": {
|
"HarmonyX": {
|
||||||
@@ -41,26 +41,24 @@
|
|||||||
},
|
},
|
||||||
"Microsoft.CodeAnalysis.Common": {
|
"Microsoft.CodeAnalysis.Common": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[4.4.0, )",
|
"requested": "[4.6.0, )",
|
||||||
"resolved": "4.4.0",
|
"resolved": "4.6.0",
|
||||||
"contentHash": "JfHupS/B7Jb5MZoYkFFABn3mux0wQgxi2D8F/rJYZeRBK2ZOyk7TjQ2Kq9rh6W/DCh0KNbbSbn5qoFar+ueHqw==",
|
"contentHash": "N3uLvekc7DjvE1BX8YW7UH7ldjA4ps/Tun2YmOoSIItJrh1gnQIMKUbK1c3uQUx2NHbLibVZI4o/VB9xb4B7tA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.CodeAnalysis.Analyzers": "3.3.3",
|
"Microsoft.CodeAnalysis.Analyzers": "3.3.4",
|
||||||
"System.Collections.Immutable": "6.0.0",
|
"System.Collections.Immutable": "7.0.0",
|
||||||
"System.Memory": "4.5.5",
|
"System.Reflection.Metadata": "7.0.0",
|
||||||
"System.Reflection.Metadata": "5.0.0",
|
|
||||||
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
|
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
|
||||||
"System.Text.Encoding.CodePages": "6.0.0",
|
"System.Text.Encoding.CodePages": "7.0.0"
|
||||||
"System.Threading.Tasks.Extensions": "4.5.4"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.CodeAnalysis.CSharp": {
|
"Microsoft.CodeAnalysis.CSharp": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[4.4.0, )",
|
"requested": "[4.6.0, )",
|
||||||
"resolved": "4.4.0",
|
"resolved": "4.6.0",
|
||||||
"contentHash": "eD2w0xHRoaqK07hjlOKGR9eLNy3nimiGNeCClNax1NDgS/+DBtBqCjXelOa+TNy99kIB3nHhUqDmr46nDXy/RQ==",
|
"contentHash": "9pyFZUN2Lyu3C0Xfs49kezfH+CzQHMibGsQeQPu0P+GWyH2XXDwmyZ6jAaKQGNUXOJfC2OK01hWMJTJY315uDQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.CodeAnalysis.Common": "[4.4.0]"
|
"Microsoft.CodeAnalysis.Common": "[4.6.0]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"MonoModReorg.RuntimeDetour": {
|
"MonoModReorg.RuntimeDetour": {
|
||||||
@@ -78,9 +76,9 @@
|
|||||||
},
|
},
|
||||||
"NLog": {
|
"NLog": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[5.1.0, )",
|
"requested": "[5.2.0, )",
|
||||||
"resolved": "5.1.0",
|
"resolved": "5.2.0",
|
||||||
"contentHash": "oW7ekrkRG9okpDMUcEglunWj8Qf2RY8qkgl+/chJoavzg3dbT13y32t19R54FKkmq80fKzw4ZekZkCrRGanKgQ=="
|
"contentHash": "uYBgseY0m/9lQUbZYGsQsTBFOWrfs3iaekzzYMH6vFmpoOAvV8/bp1XxG/suZkwB5h8nAiTJAp7VENWRDKtKPA=="
|
||||||
},
|
},
|
||||||
"PropertyChanged.Fody": {
|
"PropertyChanged.Fody": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
@@ -93,11 +91,11 @@
|
|||||||
},
|
},
|
||||||
"protobuf-net": {
|
"protobuf-net": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[3.1.26, )",
|
"requested": "[3.2.26, )",
|
||||||
"resolved": "3.1.26",
|
"resolved": "3.2.26",
|
||||||
"contentHash": "iy+VROYtWZEqDvkUjS6FfzKZNpWRoVGc5h0cupGQT/37Ox0LxPblRKLnw6V0RT1MPclLo8nZp7E2M0f7PNn/Tw==",
|
"contentHash": "zBzBiKs4yP+tzQOsRA5WbI/zayS6eFv8g0KIKNPI7/RUY1nk9Oe+STmtbUYkNUkO3T3SidEoZv+tF1nmgTSutQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"protobuf-net.Core": "3.1.26"
|
"protobuf-net.Core": "3.2.26"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"SpaceEngineersDedicated.ReferenceAssemblies": {
|
"SpaceEngineersDedicated.ReferenceAssemblies": {
|
||||||
@@ -142,13 +140,47 @@
|
|||||||
},
|
},
|
||||||
"Microsoft.CodeAnalysis.Analyzers": {
|
"Microsoft.CodeAnalysis.Analyzers": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "3.3.3",
|
"resolved": "3.3.4",
|
||||||
"contentHash": "j/rOZtLMVJjrfLRlAMckJLPW/1rze9MT1yfWqSIbUPGRu1m1P0fuo9PmqapwsmePfGB5PJrudQLvmUOAMF0DqQ=="
|
"contentHash": "AxkxcPR+rheX0SmvpLVIGLhOUXAKG56a64kV9VQZ4y9gR9ZmPXnqZvHJnmwLSwzrEP6junUF11vuc+aqo5r68g=="
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.Configuration.Abstractions": {
|
||||||
|
"type": "Transitive",
|
||||||
|
"resolved": "7.0.0",
|
||||||
|
"contentHash": "f34u2eaqIjNO9YLHBz8rozVZ+TcFiFs0F3r7nUJd7FRkVSxk8u4OpoK226mi49MwexHOR2ibP9MFvRUaLilcQQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.Extensions.Primitives": "7.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.Configuration.Binder": {
|
||||||
|
"type": "Transitive",
|
||||||
|
"resolved": "7.0.4",
|
||||||
|
"contentHash": "8+XPvJnHZsYgHOQlcMuQe7QNF5KdVKHH1F/wW3nd8/u81Gk/XFAYMDP0Lpz18h7/AM95M662vvqMorcYxCBB4w==",
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.Extensions.Configuration.Abstractions": "7.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.FileProviders.Abstractions": {
|
||||||
|
"type": "Transitive",
|
||||||
|
"resolved": "6.0.0",
|
||||||
|
"contentHash": "0pd4/fho0gC12rQswaGQxbU34jOS1TPS8lZPpkFCH68ppQjHNHYle9iRuHeev1LhrJ94YPvzcRd8UmIuFk23Qw==",
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.Extensions.Primitives": "6.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.FileSystemGlobbing": {
|
||||||
|
"type": "Transitive",
|
||||||
|
"resolved": "6.0.0",
|
||||||
|
"contentHash": "ip8jnL1aPiaPeKINCqaTEbvBFDmVx9dXQEBZ2HOBRXPD1eabGNqP/bKlsIcp7U2lGxiXd5xIhoFcmY8nM4Hdiw=="
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.Primitives": {
|
||||||
|
"type": "Transitive",
|
||||||
|
"resolved": "7.0.0",
|
||||||
|
"contentHash": "um1KU5kxcRp3CNuI8o/GrZtD4AIOXDk+RLsytjZ9QPok3ttLUelLKpilVPuaFT3TFjOhSibUAso0odbOaCDj3Q=="
|
||||||
},
|
},
|
||||||
"Microsoft.Xaml.Behaviors.Wpf": {
|
"Microsoft.Xaml.Behaviors.Wpf": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "1.1.31",
|
"resolved": "1.1.39",
|
||||||
"contentHash": "LZpuf82ACZWldmfMuv3CTUMDh3o0xo0uHUaybR5HgqVLDBJJ9RZLykplQ/bTJd0/VDt3EhD4iDgUgbdIUAM+Kg=="
|
"contentHash": "8PZKqw9QOcu42xk8puY4P1+EXHL9YGOR9b7qhaYx5cILHul456H073tj99vyPcCt0W0781T9RwHqkx507ZyUpQ=="
|
||||||
},
|
},
|
||||||
"Mono.Cecil": {
|
"Mono.Cecil": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
@@ -196,99 +228,104 @@
|
|||||||
},
|
},
|
||||||
"NuGet.Commands": {
|
"NuGet.Commands": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "j3ma45boGZADsHpJcu3Y2yq+n2luicC6ezd61TXTTzbOzA452oAPaSsFGUB1stIsuP/DVoqkTzjHXjaCHuJKPQ==",
|
"contentHash": "D1b7gTk1wp7sxscLhS8O/yoErsRVbR4zJvLVD4jo1sgxh42ZOWKpMkhznPUxpvmCxBhw9hAy8/yWrRH91SfdEQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Credentials": "6.4.0",
|
"Microsoft.Extensions.FileProviders.Abstractions": "6.0.0",
|
||||||
"NuGet.ProjectModel": "6.4.0"
|
"Microsoft.Extensions.FileSystemGlobbing": "6.0.0",
|
||||||
|
"NuGet.Credentials": "6.6.1",
|
||||||
|
"NuGet.ProjectModel": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Common": {
|
"NuGet.Common": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "srECugLk+LB1bXelDCDhHoi6do/EYTXzuntKhjHraS4roVB3NfWohEdCSiAPdpSV9M40Q6jo6MV2Srml9e+jHQ==",
|
"contentHash": "hW5NtShErO3qbdkyv7doCRsFNK9Rlcc7mVjYM+hg1sOAWheTh/oo95DzNbsZthiqyHZfaioopfWtzmoxNw9h4g==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Frameworks": "6.4.0"
|
"NuGet.Frameworks": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Configuration": {
|
"NuGet.Configuration": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "vPjauG9AoacEjiZWGIs+d11FCRVmseqAw78FIApfLvZrYMEbbwc9vc0LdC3PpoW5FxYkktyZSiiXVKXGLu+gXw==",
|
"contentHash": "9WbK8wgwPfRpSwuG+ZhMshE48qUYvPIw7VNLCncrq/in4vE6SGsuawPSxPJkkLBtcKTGbPMez5JDvUf6vEBgKg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Common": "6.4.0",
|
"NuGet.Common": "6.6.1",
|
||||||
"System.Security.Cryptography.ProtectedData": "4.4.0"
|
"System.Security.Cryptography.ProtectedData": "4.4.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Credentials": {
|
"NuGet.Credentials": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "tebsxclknVz3D4FrvE2MzVcsOyf6PffjGNQ77X9Yvbj9x5YpVWfumVPetqETcdsNEgiN0bBzfMre33lhrY7Itw==",
|
"contentHash": "TuOlXcE1ajwdtfnQaUjDv2xO2u/WDS56/b5jHfEBZetKfcpT0W3iNOqInVPO0qxRxXK5/HXUKVr2Pya1LsVVnA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Protocol": "6.4.0"
|
"NuGet.Protocol": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.DependencyResolver.Core": {
|
"NuGet.DependencyResolver.Core": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "AKomZEKuhQlshujuiHbKvwl2cZNGq3SHsXFbpjCfCjMFMLwwA8saJGQQZp1lzsqQWcQWa6hLOcPtm7T3rd0SVg==",
|
"contentHash": "K+EXXLU37PBnwLGx6WnVGxlfWYkdedvUUOeDMERXelNgjg20irtKf3hk+wGB7NmxAdNY9/gGcOgSDOV+M0w3Jg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Configuration": "6.4.0",
|
"NuGet.Configuration": "6.6.1",
|
||||||
"NuGet.LibraryModel": "6.4.0",
|
"NuGet.LibraryModel": "6.6.1",
|
||||||
"NuGet.Protocol": "6.4.0"
|
"NuGet.Protocol": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Frameworks": {
|
"NuGet.Frameworks": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "qcufbjJIDtyY/Hah7JJfcRVpRYM3scgPqYBnukjO9kfADCFGr2azvVBozuwzljA6w/cR3w8bXLq6vW5xGrsmHw=="
|
"contentHash": "iRtDhL0zPqVw037fHEK9bQljTKPuOHhfIkz86/IH2P8eetr910HTTe5G8lJTuzZHh592Ze/sYhh173HIFjPSfg=="
|
||||||
},
|
},
|
||||||
"NuGet.LibraryModel": {
|
"NuGet.LibraryModel": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "K6ROQpWr34Aje81G0HfipiznLTB8vD4BO8sF6FEwx1KjJVdFkSmGZPmAhc6L1vZPs8TKY5BqoH72zG13zVzW2w==",
|
"contentHash": "B0KH19sNNUq56YfEozIsIpk8EOyolG0LRT+hqG1/mhuXlQFiP9BgT6pZgwLQVLUl9YBDx3+KWQQbl6pz8Yh/Sw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Common": "6.4.0",
|
"NuGet.Common": "6.6.1",
|
||||||
"NuGet.Versioning": "6.4.0"
|
"NuGet.Versioning": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Packaging": {
|
"NuGet.Packaging": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "aR10aYqcUMGC2mwMGH5rls/MGaz3EVH8DKTTHQ/EC91hXNtrCTTAQonaRR+v1EItcoxtQeZ/WQOorv4z270Tgg==",
|
"contentHash": "GwhFi2Ep4YzAGQFYz1OsMVNfiJ1M46nyCgHQ7xjJSMvxDYFgodR1RqVugWFMbIUUq6I8iYASwp5lpHXvITeuIQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Newtonsoft.Json": "13.0.1",
|
"Newtonsoft.Json": "13.0.1",
|
||||||
"NuGet.Configuration": "6.4.0",
|
"NuGet.Configuration": "6.6.1",
|
||||||
"NuGet.Versioning": "6.4.0",
|
"NuGet.Versioning": "6.6.1",
|
||||||
"System.Security.Cryptography.Cng": "5.0.0",
|
"System.Security.Cryptography.Cng": "5.0.0",
|
||||||
"System.Security.Cryptography.Pkcs": "5.0.0"
|
"System.Security.Cryptography.Pkcs": "5.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.ProjectModel": {
|
"NuGet.ProjectModel": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "eW9Q7vPk8cpXDd5b+vtIPkl8dSDCPkPJPrjXPTfZGxhstldnhJrj1XPaonsDZLQ24YY7LrYCzC0BiHh3iO5zUA==",
|
"contentHash": "CEyRXXvgIoEQBWn3WZupjkIVC6rPcGUAO5p4Gz+fnF8kcefWQOXHfnOE+UKZ0WwAJG5iMWRvXBKAGOuFiFhNpQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.DependencyResolver.Core": "6.4.0"
|
"NuGet.DependencyResolver.Core": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Protocol": {
|
"NuGet.Protocol": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "KIPjsWP0P3EMsDsXaa6YBCTvYKur/zI0luS1kO5G37ci8mHs2kJFsuG5qaMhGvgyHASu54sxlic1n1oza2Pcbw==",
|
"contentHash": "HhKLsK6Q0NNp6qb0T26GLR5gCTRZu+gzqDVK4xqXHZmsolaDVIdIYpn44b2etaVYLzNJCvgRkw+I422u2bIvMw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"NuGet.Packaging": "6.4.0"
|
"NuGet.Packaging": "6.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuGet.Versioning": {
|
"NuGet.Versioning": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.4.0",
|
"resolved": "6.6.1",
|
||||||
"contentHash": "YE8p3TpX4jIw+Gb24maE8YRDoqWA4imLmCbdOj5IvslLrZJXQ8akeFOGOplxICNVevON1g1SFYT2+cq4yy0nQQ=="
|
"contentHash": "Wm/AOFICTIrCgbVxv9dNWusraTzcggbo5W4ao7hD8NNVq911an9TGwW+uNuYc8I5PkpTeMuSXneV2u6hbi1P4w=="
|
||||||
},
|
},
|
||||||
"protobuf-net.Core": {
|
"protobuf-net.Core": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "3.1.26",
|
"resolved": "3.2.26",
|
||||||
"contentHash": "fuKoDWgAf5ju+ixbJoasVFhnUaT0oWUgrWh1AZ5D0Y5keKHpA93vQB5g6aQNtB4zgeQ4hGEeh0MY9bIbAUPgEw=="
|
"contentHash": "s8oJW9dBVxix4p8uqMbeG++DIGjgzOFAKoP2i5wayeeFOKBqG+cCBO2S/CAC4MAFlb5m1Os2m/miLcqRCgqJ7Q==",
|
||||||
|
"dependencies": {
|
||||||
|
"System.Collections.Immutable": "7.0.0"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"SemanticVersioning": {
|
"SemanticVersioning": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
@@ -305,11 +342,8 @@
|
|||||||
},
|
},
|
||||||
"System.Collections.Immutable": {
|
"System.Collections.Immutable": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.0.0",
|
"resolved": "7.0.0",
|
||||||
"contentHash": "l4zZJ1WU2hqpQQHXz1rvC3etVZN+2DLmQMO79FhOTZHMn8tDRr+WU287sbomD0BETlmKDn0ygUgVy9k5xkkJdA==",
|
"contentHash": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ=="
|
||||||
"dependencies": {
|
|
||||||
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"System.Formats.Asn1": {
|
"System.Formats.Asn1": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
@@ -324,15 +358,13 @@
|
|||||||
"Microsoft.Bcl.AsyncInterfaces": "6.0.0"
|
"Microsoft.Bcl.AsyncInterfaces": "6.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"System.Memory": {
|
|
||||||
"type": "Transitive",
|
|
||||||
"resolved": "4.5.5",
|
|
||||||
"contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw=="
|
|
||||||
},
|
|
||||||
"System.Reflection.Metadata": {
|
"System.Reflection.Metadata": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "5.0.0",
|
"resolved": "7.0.0",
|
||||||
"contentHash": "5NecZgXktdGg34rh1OenY1rFNDCI8xSjFr+Z4OU4cU06AQHUdRnIIEeWENu3Wl4YowbzkymAIMvi3WyK9U53pQ=="
|
"contentHash": "MclTG61lsD9sYdpNz9xsKBzjsmsfCtcMZYXz/IUr2zlhaTaABonlr1ESeompTgM+Xk+IwtGYU7/voh3YWB/fWw==",
|
||||||
|
"dependencies": {
|
||||||
|
"System.Collections.Immutable": "7.0.0"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"System.Runtime.CompilerServices.Unsafe": {
|
"System.Runtime.CompilerServices.Unsafe": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
@@ -363,29 +395,22 @@
|
|||||||
},
|
},
|
||||||
"System.Text.Encoding.CodePages": {
|
"System.Text.Encoding.CodePages": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "6.0.0",
|
"resolved": "7.0.0",
|
||||||
"contentHash": "ZFCILZuOvtKPauZ/j/swhvw68ZRi9ATCfvGbk1QfydmcXBkIWecWKn/250UH7rahZ5OoDBaiAudJtPvLwzw85A==",
|
"contentHash": "LSyCblMpvOe0N3E+8e0skHcrIhgV2huaNcjUUEa8hRtgEAm36aGkRoC8Jxlb6Ra6GSfF29ftduPNywin8XolzQ=="
|
||||||
"dependencies": {
|
|
||||||
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"System.Text.Json": {
|
"System.Text.Json": {
|
||||||
"type": "Transitive",
|
"type": "Transitive",
|
||||||
"resolved": "5.0.1",
|
"resolved": "5.0.2",
|
||||||
"contentHash": "/UM3UK1dXKl8Ybysg/21gM4S8DJgkR+yLU8JwqCVbuNqQNImelntgYFAN5QxR8sJJ1kMx//hOUdf0lltosi8cQ=="
|
"contentHash": "I47dVIGiV6SfAyppphxqupertT/5oZkYLDCX6vC3HpOI4ZLjyoKAreUoem2ie6G0RbRuFrlqz/PcTQjfb2DOfQ=="
|
||||||
},
|
|
||||||
"System.Threading.Tasks.Extensions": {
|
|
||||||
"type": "Transitive",
|
|
||||||
"resolved": "4.5.4",
|
|
||||||
"contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg=="
|
|
||||||
},
|
},
|
||||||
"torch.api": {
|
"torch.api": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"JorgeSerrano.Json.JsonSnakeCaseNamingPolicy": "[0.9.0, )",
|
"JorgeSerrano.Json.JsonSnakeCaseNamingPolicy": "[0.9.0, )",
|
||||||
"NLog": "[5.1.0, )",
|
"Microsoft.Extensions.Configuration.Binder": "[7.0.4, )",
|
||||||
"NuGet.Commands": "[6.4.0, )",
|
"NLog": "[5.2.0, )",
|
||||||
"NuGet.DependencyResolver.Core": "[6.4.0, )",
|
"NuGet.Commands": "[6.6.1, )",
|
||||||
|
"NuGet.DependencyResolver.Core": "[6.6.1, )",
|
||||||
"SemanticVersioning": "[2.0.2, )",
|
"SemanticVersioning": "[2.0.2, )",
|
||||||
"System.Linq.Async": "[6.0.1, )"
|
"System.Linq.Async": "[6.0.1, )"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user