public ENetServer StartupInstance(ENetServer instance) { Console.WriteLine($"Starting up Instance {instance.InstanceId}"); _logger.LogInformation("Starting up InstanceId {instance}", instance.InstanceId); _ENetServers[instance.InstanceId] = instance; instance.Run(); return(instance); }
public void ShutdownInstance(ENetServer instance) => ShutdownInstance(instance.InstanceId);