Merge pull request #6 from CWXDEV/main

move location of generators/controllers and fix namespaces
This commit is contained in:
clodanSPT
2025-01-06 21:06:08 +00:00
committed by GitHub
10 changed files with 4989 additions and 46 deletions
+19
View File
@@ -0,0 +1,19 @@
namespace Core.Controllers;
public class AchievementController
{
public AchievementController()
{
}
public GetAchievementsResponse GetAchievements(string sessionID)
{
throw new NotImplementedException();
}
public CompletedAchievementsResponse GetAchievementStatics(string sessionID)
{
throw new NotImplementedException();
}
}
+92
View File
@@ -0,0 +1,92 @@
using Core.Models.Common;
using Core.Models.Eft.Common.Tables;
using Core.Models.Spt.Config;
namespace Core.Controllers;
public class BotController
{
private BotConfig _botConfig;
private PmcConfig _pmcConfig;
public BotController()
{}
public int GetBotPresetGenerationLimit(string type)
{
throw new NotImplementedException();
}
public BotCore GetBotCoreDifficulty()
{
throw new NotImplementedException();
}
public object GetBotDifficulty(string type, string difficulty) // TODO: return type was: IBotCore | IDifficultyCategories
{
throw new NotImplementedException();
}
public Dictionary<string, object> GetAllBotDifficulties()
{
throw new NotImplementedException();
}
public async Task<List<BotBase>> Generate(GenerateBotsRequestData info, bool playerscav)
{
throw new NotImplementedException();
}
public async Task<List<BotBase>> GenerateMultipleBotsAndCache()
{
throw new NotImplementedException();
}
public GetRaidConfigurationRequestData GetMostRecentRaidSettings()
{
throw new NotImplementedException();
}
public MinMax GetPmcLevelRangeForMap(string location)
{
throw new NotImplementedException();
}
public BotGenerationDetails GetBotGenerationDetailsForWave(Condition condition, PmcData pmcProfile, bool AllPmcsHaveSameNameAsPlayer,
GetRaidConfigurationRequestData raidSettings, int botCountToGenerate, bool generateAsPmc)
{
throw new NotImplementedException();
}
public int GetPlayerLevelFromProfile()
{
throw new NotImplementedException();
}
public int GetBotLimit(string type)
{
throw new NotImplementedException();
}
public bool IsBotPmc(string botRole)
{
throw new NotImplementedException();
}
public bool IsBotBoss(string botRole)
{
throw new NotImplementedException();
}
public bool IsBotFollower(string botRole)
{
throw new NotImplementedException();
}
public int GetBotCap()
{
throw new NotImplementedException();
}
}
@@ -1,6 +1,6 @@
using Core.Models.Eft.Common.Tables;
namespace Core.Models.Spt.Generators;
namespace Core.Generators;
public class BotGenerator
{
@@ -1,6 +1,6 @@
using Core.Models.Eft.Common;
namespace Core.Models.Spt.Generators;
namespace Core.Generators;
public class LocationGenerator
{
@@ -1,4 +1,4 @@
namespace Core.Models.Spt.Generators;
namespace Core.Generators;
public class PMCLootGenerator
{
@@ -1,6 +1,6 @@
using Core.Models.Eft.Common.Tables;
namespace Core.Models.Spt.Generators;
namespace Core.Generators;
public class RagfairAssortGenerator
{
@@ -1,7 +1,7 @@
using Core.Models.Eft.Common.Tables;
using Core.Models.Eft.Ragfair;
namespace Core.Models.Spt.Generators;
namespace Core.Generators;
public class RagfairOfferGenerator
{
File diff suppressed because it is too large Load Diff
+12
View File
@@ -0,0 +1,12 @@
using System.Text.Json.Serialization;
namespace Core.Models.Eft.Common;
public class XY
{
[JsonPropertyName("x")]
public double X { get; set; }
[JsonPropertyName("y")]
public double Y { get; set; }
}
@@ -1,41 +0,0 @@
using Core.Models.Eft.Common.Tables;
namespace Core.Models.Spt.Controllers;
public class BotController
{
public int GetBotLimit(string type)
{
throw new NotImplementedException();
}
public object GetBotDifficulty(string type, string difficulty) // TODO: return type was: IBotCore | IDifficultyCategories
{
throw new NotImplementedException();
}
public bool IsBotPmc(string botRole)
{
throw new NotImplementedException();
}
public bool IsBotBoss(string botRole)
{
throw new NotImplementedException();
}
public bool IsBotFollower(string botRole)
{
throw new NotImplementedException();
}
public List<BotBase> Generate(GenerateBotsRequestData info, bool playerscav)
{
throw new NotImplementedException();
}
public int GetBotCap()
{
throw new NotImplementedException();
}
}