Bot generation performance (#231)
* chore: Bot generation performance improvements (#227) * Bot generation performance improvements * Revert debug logging logic * Get rid of Info log which is bound to be printed inevitably at each bot wave generation * Use assault const * Removed comments Removed lowercase side constants Renamed equipment role to better explain its purpose Fixed `Blocks` property being serialised to client Updated `_slotsWithNoCompatIssues` to use existing enum type Reduced log line to be debug * Fixed `GetRandomTextThatMatchesPartialKey` incorrectly checking eft locales instead of spt locales * Updated various methods to be protected --------- Co-authored-by: hulkhan22 <clandestine984@gmail.com> Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace SPTarkov.Server.Core.Constants;
|
||||
|
||||
public static class Containers
|
||||
{
|
||||
public const string ArmorVest = "ArmorVest";
|
||||
public const string Earpiece = "Earpiece";
|
||||
public const string FaceCover = "FaceCover";
|
||||
public const string Headwear = "Headwear";
|
||||
public const string Eyewear = "Eyewear";
|
||||
public const string Collapsible = "Collapsible";
|
||||
public const string LeftStance = "LeftStance";
|
||||
public const string Folding = "Folding";
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace SPTarkov.Server.Core.Constants;
|
||||
|
||||
public class Roles
|
||||
{
|
||||
public const string Assault = "assault";
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace SPTarkov.Server.Core.Constants;
|
||||
|
||||
public static class Sides
|
||||
{
|
||||
public const string Usec = "Usec";
|
||||
public const string Bear = "Bear";
|
||||
public const string Savage = "Savage";
|
||||
public const string PmcUsec = "pmcUSEC";
|
||||
public const string PmcBear = "pmcBEAR";
|
||||
|
||||
public const string PmcEquipmentRole = "pmc";
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace SPTarkov.Server.Core.Constants;
|
||||
|
||||
public static class Slots
|
||||
{
|
||||
public const string Dogtag = "Dogtag";
|
||||
}
|
||||
Reference in New Issue
Block a user