Add BuildController.cs

This commit is contained in:
Cj
2025-01-06 19:49:49 -05:00
parent 210ee10362
commit e5481361cf
2 changed files with 73 additions and 2 deletions
+6 -1
View File
@@ -1,4 +1,5 @@
using Core.Models.Common;
using Core.Models.Eft.Common;
using Core.Models.Eft.Common.Tables;
using Core.Models.Spt.Config;
@@ -84,9 +85,13 @@ public class BotController
throw new NotImplementedException();
}
public int GetBotCap()
{
throw new NotImplementedException();
}
public object GetAiBotBrainTypes() // TODO: Returns `any` in the node server
{
throw new NotImplementedException();
}
}
+66
View File
@@ -0,0 +1,66 @@
using Core.Models.Eft.Profile;
namespace Core.Controllers;
public class BuildController
{
/// <summary>
/// Handle client/handbook/builds/my/list
/// </summary>
/// <param name="sessionID"></param>
/// <returns></returns>
public UserBuilds GetUserBuilds(string sessionID)
{
throw new NotImplementedException();
}
/// <summary>
/// Handle client/builds/weapon/save
/// </summary>
/// <param name="sessionId"></param>
/// <param name="body"></param>
public void SaveWeaponBuild(string sessionId, PresetBuildActionRequestData body)
{
throw new NotImplementedException();
}
/// <summary>
/// Handle client/builds/equipment/save event
/// </summary>
/// <param name="sessionId"></param>
/// <param name="request"></param>
public void SaveEquipmentBuild(string sessionId, PresetBuildActionRequestData request)
{
throw new NotImplementedException();
}
/// <summary>
/// Handle client/builds/delete
/// </summary>
/// <param name="sessionId"></param>
/// <param name="request"></param>
public void RemoveBuild(string sessionId, RemoveBuildReqestData request)
{
RemovePlayerBuild(request.id, sessionId);
}
/// <summary>
/// Handle client/builds/magazine/save
/// </summary>
/// <param name="sessionId"></param>
/// <param name="request"></param>
public void CreateMagazineTemplate(string sessionId, SetMagazineRequest request)
{
throw new NotImplementedException();
}
/// <summary>
///
/// </summary>
/// <param name="idToRemove"></param>
/// <param name="sessionId"></param>
private void RemovePlayerBuild(string idToRemove, string sessionId)
{
throw new NotImplementedException();
}
}