mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 15:07:03 +01:00
Remove old interop stuff
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
/datum/tgs_api/v4
|
||||
var/access_identifier
|
||||
var/instance_name
|
||||
var/host_path
|
||||
var/json_path
|
||||
var/chat_channels_json_path
|
||||
var/chat_commands_json_path
|
||||
@@ -67,7 +66,6 @@
|
||||
|
||||
access_identifier = cached_json["accessIdentifier"]
|
||||
instance_name = text2num(cached_json["instanceName"])
|
||||
host_path = cached_json["hostPath"]
|
||||
if(cached_json["apiValidateOnly"])
|
||||
TGS_INFO_LOG("Validating API and exiting...")
|
||||
Export(TGS4_COMM_VALIDATE)
|
||||
@@ -106,6 +104,7 @@
|
||||
Export(TGS4_COMM_SERVER_PRIMED)
|
||||
var/tgs4_secret_sleep_offline_sauce = 24051994
|
||||
var/old_sleep_offline = world.sleep_offline
|
||||
world.sleep_offline = tgs4_secret_sleep_offline_sauce
|
||||
sleep(1)
|
||||
if(world.sleep_offline == tgs4_secret_sleep_offline_sauce) //if not someone changed it
|
||||
world.sleep_offline = old_sleep_offline
|
||||
|
||||
@@ -6,8 +6,6 @@ namespace Tgstation.Server.Host.Components.Watchdog
|
||||
sealed class InteropInfo
|
||||
{
|
||||
public string AccessIdentifier { get; set; }
|
||||
|
||||
public string HostPath { get; set; }
|
||||
|
||||
public bool ApiValidateOnly { get; set; }
|
||||
|
||||
|
||||
@@ -116,7 +116,6 @@ namespace Tgstation.Server.Host.Components.Watchdog
|
||||
ChatChannelsJson = JsonFile("chat_channels"),
|
||||
ChatCommandsJson = JsonFile("chat_commands"),
|
||||
ServerCommandsJson = JsonFile("server_commands"),
|
||||
HostPath = application.HostingPath,
|
||||
InstanceName = instance.Name,
|
||||
Revision = dmbProvider.CompileJob.RevisionInformation
|
||||
};
|
||||
|
||||
@@ -40,9 +40,6 @@ namespace Tgstation.Server.Host.Core
|
||||
/// </summary>
|
||||
public string VersionPrefix => "tgstation-server";
|
||||
|
||||
/// <inheritdoc />
|
||||
public string HostingPath => serverAddresses.Addresses.First();
|
||||
|
||||
/// <inheritdoc />
|
||||
public Version Version { get; }
|
||||
|
||||
|
||||
@@ -22,11 +22,6 @@ namespace Tgstation.Server.Host.Core
|
||||
/// </summary>
|
||||
Version Version { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The url the server can be reached at locally
|
||||
/// </summary>
|
||||
string HostingPath { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Mark the <see cref="IApplication"/> as ready to run
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user