chore: initialize standalone UPM package
Publish UPM package / publish (push) Failing after 1s

This commit is contained in:
2026-08-26 02:50:34 +08:00
commit 8eaaa3040a
139 changed files with 9309 additions and 0 deletions
@@ -0,0 +1,24 @@
using ShrinkNetwork;
namespace ShrinkNetwork.ServerHost.Framework;
public sealed class ServerModuleContext
{
private readonly Dictionary<string, ShrinkNetworkService> _services = new(StringComparer.OrdinalIgnoreCase);
public ServerModuleContext(ServerHostOptions options, ServerAuthStore authStore)
{
Options = options;
AuthStore = authStore;
}
public ServerHostOptions Options { get; }
public ServerAuthStore AuthStore { get; }
public UnityNetworkScanManifest? ScanManifest { get; set; }
public IReadOnlyDictionary<string, ShrinkNetworkService> Services => _services;
public void RegisterService(string transportName, ShrinkNetworkService service)
{
_services[transportName] = service;
}
}