forked from chomp/BotGenerator
9ddbc91977
- Drastically improve performance, where non-threaded perf is now better than previous threaded perf - Process all data in-line, as opposed to building huge lists of bot data that is then processed in groups later - Memory footprint should now be relatively static no matter the amount of dumps
19 lines
538 B
C#
19 lines
538 B
C#
using Common.Models.Input;
|
|
using Common.Models.Output;
|
|
using Generator.Helpers.Gear;
|
|
using System.Diagnostics;
|
|
|
|
namespace Generator
|
|
{
|
|
public static class BotGearGenerator
|
|
{
|
|
public static void AddGear(Bot botToUpdate, Datum rawBotData)
|
|
{
|
|
GearHelpers.AddEquippedGear(botToUpdate, rawBotData);
|
|
GearHelpers.AddAmmo(botToUpdate, rawBotData);
|
|
GearHelpers.AddEquippedMods(botToUpdate, rawBotData);
|
|
//GearHelpers.AddCartridges(botToUpdate, rawBotData);
|
|
}
|
|
}
|
|
}
|