2025-08-06 21:29:00 +03:00
|
|
|
using Nebula.Shared.Configurations;
|
2025-01-29 12:46:23 +03:00
|
|
|
using Nebula.Shared.Models;
|
2025-01-05 17:05:23 +03:00
|
|
|
using Nebula.Shared.Services;
|
2024-12-22 16:38:47 +03:00
|
|
|
|
2025-01-05 17:05:23 +03:00
|
|
|
namespace Nebula.Shared;
|
2024-12-22 16:38:47 +03:00
|
|
|
|
|
|
|
|
public static class CurrentConVar
|
|
|
|
|
{
|
2025-05-02 20:06:33 +03:00
|
|
|
public static readonly ConVar<string[]> EngineManifestUrl =
|
2025-05-03 18:20:24 +03:00
|
|
|
ConVarBuilder.Build<string[]>("engine.manifestUrl", [
|
2025-06-15 16:29:15 +03:00
|
|
|
"https://harpy.durenko.tatar/manifests/manifest",
|
2025-05-03 18:20:24 +03:00
|
|
|
"https://robust-builds.fallback.cdn.spacestation14.com/manifest.json"
|
|
|
|
|
]);
|
2025-01-14 22:10:16 +03:00
|
|
|
|
2025-05-02 20:06:33 +03:00
|
|
|
public static readonly ConVar<string[]> EngineModuleManifestUrl =
|
2025-05-03 18:35:26 +03:00
|
|
|
ConVarBuilder.Build<string[]>("engine.moduleManifestUrl",
|
|
|
|
|
[
|
2025-06-15 16:29:15 +03:00
|
|
|
"https://harpy.durenko.tatar/manifests/modules",
|
2025-05-03 18:20:24 +03:00
|
|
|
"https://robust-builds.fallback.cdn.spacestation14.com/modules.json"
|
|
|
|
|
]);
|
2025-01-14 22:10:16 +03:00
|
|
|
|
2024-12-27 19:15:33 +03:00
|
|
|
public static readonly ConVar<int> ManifestDownloadProtocolVersion =
|
|
|
|
|
ConVarBuilder.Build("engine.manifestDownloadProtocolVersion", 1);
|
2025-01-14 22:10:16 +03:00
|
|
|
|
|
|
|
|
public static readonly ConVar<string> RobustAssemblyName =
|
2024-12-27 19:15:33 +03:00
|
|
|
ConVarBuilder.Build("engine.robustAssemblyName", "Robust.Client");
|
2025-01-14 22:10:16 +03:00
|
|
|
|
2025-01-29 12:46:23 +03:00
|
|
|
public static readonly ConVar<Dictionary<string, EngineVersionInfo>> EngineManifestBackup =
|
|
|
|
|
ConVarBuilder.Build<Dictionary<string, EngineVersionInfo>>("engine.manifest.backup");
|
|
|
|
|
public static readonly ConVar<ModulesInfo> ModuleManifestBackup =
|
|
|
|
|
ConVarBuilder.Build<ModulesInfo>("module.manifest.backup");
|
2025-07-02 21:32:51 +03:00
|
|
|
public static readonly ConVar<Dictionary<string, string>> ServerManifestHash =
|
|
|
|
|
ConVarBuilder.Build<Dictionary<string, string>>("server.manifest.hash",[]);
|
2025-06-15 13:48:56 +03:00
|
|
|
|
|
|
|
|
public static readonly ConVar<Dictionary<string,string>> DotnetUrl = ConVarBuilder.Build<Dictionary<string,string>>("dotnet.url",
|
|
|
|
|
new(){
|
2026-01-16 18:44:09 +03:00
|
|
|
{"win-x64", "https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.2/dotnet-runtime-10.0.2-win-x64.zip"},
|
|
|
|
|
{"win-x86", "https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.2/dotnet-runtime-10.0.2-win-x86.zip"},
|
2026-01-16 18:32:37 +03:00
|
|
|
{"linux-x64", "https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.2/dotnet-runtime-10.0.2-linux-x64.tar.gz"}
|
2025-06-15 13:48:56 +03:00
|
|
|
});
|
2026-01-16 18:32:37 +03:00
|
|
|
|
|
|
|
|
public static readonly ConVar<string> DotnetVersion = ConVarBuilder.Build<string>("dotnet.version", "10.0.2");
|
2024-12-22 16:38:47 +03:00
|
|
|
}
|