From 58b4e59bfa733bb20ba59c334a492695c8a1c280 Mon Sep 17 00:00:00 2001 From: Chomp Date: Tue, 17 Aug 2021 17:32:03 +0100 Subject: [PATCH] Add more bot types --- Generator/BaseBotGenerator.cs | 14 +++++++++++++- Generator/Models/Enums.cs | 7 ++++++- Generator/Program.cs | 11 ++++++++++- 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/Generator/BaseBotGenerator.cs b/Generator/BaseBotGenerator.cs index c87f04e..cc99d7d 100644 --- a/Generator/BaseBotGenerator.cs +++ b/Generator/BaseBotGenerator.cs @@ -30,11 +30,23 @@ namespace Generator var raiderBot = new Bot(BotType.pmcBot); var marksmanBot = new Bot(BotType.marksman); + var bossbully = new Bot(BotType.bossbully); + var bossgluharBot = new Bot(BotType.bossgluhar); + var bosskillaBot = new Bot(BotType.bosskilla); + var bosskojaniyBot = new Bot(BotType.bosskojaniy); + var bosssanitarBot = new Bot(BotType.bosssanitar); + var rawBots = new List { assaultBot, raiderBot, - marksmanBot + marksmanBot, + + bossbully, + bossgluharBot, + bosskillaBot, + bosskojaniyBot, + bosssanitarBot }; foreach (var botToUpdate in rawBots) diff --git a/Generator/Models/Enums.cs b/Generator/Models/Enums.cs index 18afdf4..d5ef6dd 100644 --- a/Generator/Models/Enums.cs +++ b/Generator/Models/Enums.cs @@ -4,6 +4,11 @@ { assault = 1, pmcBot = 2, - marksman = 3 + marksman = 3, + bossbully = 4, + bossgluhar = 5, + bosskilla = 6, + bosskojaniy = 7, + bosssanitar = 8 } } diff --git a/Generator/Program.cs b/Generator/Program.cs index 105e98d..9ec4713 100644 --- a/Generator/Program.cs +++ b/Generator/Program.cs @@ -7,7 +7,16 @@ namespace Generator static void Main(string[] args) { //TODO: pass these into functions to act as whitelist - string[] botTypes = { "assault", "marksman", "pmcbot", "bossbully", "bosskilla" }; + string[] botTypes = { + "assault", + "marksman", + "pmcbot", + "bossbully", + "bossgluhar", + "bosskilla", + "bosskojaniy", + "bosssanitar" + }; // Read raw bot dumps from live and turn into c# objects var workingPath = Directory.GetCurrentDirectory();