Add obsolete markers from 4.1

This commit is contained in:
Archangel
2025-11-14 18:10:02 +01:00
parent 8ad3073450
commit 87b2597ebc
@@ -10,6 +10,7 @@ using LogLevel = SPTarkov.Server.Core.Models.Spt.Logging.LogLevel;
namespace SPTarkov.Server.Core.Servers;
[Injectable(InjectionType.Singleton)]
[Obsolete("This class will be removed in SPT 4.2 in favor for directly injecting the configuration into classes")]
public class ConfigServer
{
protected readonly FrozenSet<string> acceptableFileExtensions = ["json", "jsonc"];
@@ -30,6 +31,7 @@ public class ConfigServer
}
}
[Obsolete("This method will be removed in SPT 4.2 in favor for directly injecting the configuration into classes")]
public T GetConfig<T>()
where T : BaseConfig
{