controllers

This commit is contained in:
CWX
2025-01-12 15:31:29 +00:00
parent 44234cf6ad
commit a46ac0b510
2 changed files with 15 additions and 2 deletions
+14 -1
View File
@@ -2,12 +2,21 @@ using Core.Annotations;
using Core.Models.Eft.Common;
using Core.Models.Eft.Game;
using Core.Models.Eft.Profile;
using ILogger = Core.Models.Utils.ILogger;
namespace Core.Controllers;
[Injectable]
public class GameController
{
protected ILogger _logger;
public GameController()
{
}
/// <summary>
/// Handle client/game/start
/// </summary>
@@ -54,7 +63,11 @@ public class GameController
string sessionId,
GameModeRequestData requestData)
{
throw new NotImplementedException();
return new()
{
GameMode = "pve",
BackendUrl = "127.0.0.1:6969"
};
}
/// <summary>
+1 -1
View File
@@ -100,6 +100,6 @@ public class InRaidController
string url,
string sessionId)
{
throw new NotImplementedException();
return _botConfig.AssaultToBossConversion.BossesToConvertToWeights.Keys.ToList();
}
}