Implemented GetValidGameVersion and GetServer

This commit is contained in:
Chomp
2025-01-12 20:06:24 +00:00
parent 5f98f16cd5
commit 85050f69c2
+14 -2
View File
@@ -241,7 +241,15 @@ public class GameController
/// <returns></returns>
public List<ServerDetails> GetServer(string sessionId)
{
throw new NotImplementedException();
return
[
new ServerDetails
{
Ip = _httpConfig.BackendIp,
Port = _httpConfig.BackendPort
}
];
}
/// <summary>
@@ -266,7 +274,11 @@ public class GameController
/// <returns></returns>
public CheckVersionResponse GetValidGameVersion(string sessionId)
{
throw new NotImplementedException();
return new CheckVersionResponse
{
IsValid = true,
LatestVersion = _coreConfig.CompatibleTarkovVersion
};
}
/// <summary>