initial change of nullables and few more generators

This commit is contained in:
CWX
2025-01-08 13:16:38 +00:00
parent 7b7f5cf9d2
commit 3ca974de8a
118 changed files with 1050 additions and 947 deletions
@@ -0,0 +1,24 @@
namespace Core.Generators.WeaponGen.Implementations;
public class BarrelInvetoryMagGen : InventoryMagGen
{
public BarrelInvetoryMagGen()
{
}
public int GetPriority()
{
return 50;
}
public bool CanHandleInventoryMagGen(InventoryMagGen inventoryMagGen)
{
throw new NotImplementedException();
}
public void Process(InventoryMagGen inventoryMagGen)
{
throw new NotImplementedException();
}
}
@@ -0,0 +1,31 @@
using Core.Models.Eft.Common.Tables;
namespace Core.Generators.WeaponGen.Implementations;
public class ExternalInventoryMagGen : InventoryMagGen
{
public ExternalInventoryMagGen()
{
}
public int GetPriority()
{
return 99;
}
public bool CanHandleInventoryMagGen(InventoryMagGen inventoryMagGen)
{
throw new NotImplementedException();
}
public void Process(InventoryMagGen inventoryMagGen)
{
throw new NotImplementedException();
}
public TemplateItem? GetRandomExternalMagazineForInternalMagazineGun(string weaponTpl, List<string> magazineBlacklist)
{
throw new NotImplementedException();
}
}
@@ -0,0 +1,24 @@
namespace Core.Generators.WeaponGen.Implementations;
public class InternalMagazineInventoryMagGen : InventoryMagGen
{
public InternalMagazineInventoryMagGen()
{
}
public int GetPriority()
{
return 0;
}
public bool CanHandleInventoryMagGen(InventoryMagGen inventoryMagGen)
{
throw new NotImplementedException();
}
public void Process(InventoryMagGen inventoryMagGen)
{
throw new NotImplementedException();
}
}
@@ -1,42 +0,0 @@
using Core.Models.Eft.Common.Tables;
namespace Core.Generators.WeaponGen.Implementations;
public class InventoryMagGen
{
private GenerationData _magCounts;
private TemplateItem _magazineTemplate;
private TemplateItem _weaponTemplate;
private TemplateItem _ammoTemplate;
private BotBaseInventory _pmcInventory;
public InventoryMagGen()
{
}
public GenerationData GetMagCount()
{
return _magCounts;
}
public TemplateItem GetMagazineTemplate()
{
return _magazineTemplate;
}
public TemplateItem GetWeaponTemplate()
{
return _weaponTemplate;
}
public TemplateItem GetAmmoTemplate()
{
return _ammoTemplate;
}
public BotBaseInventory GetPmcInventory()
{
return _pmcInventory;
}
}
@@ -0,0 +1,24 @@
namespace Core.Generators.WeaponGen.Implementations;
public class UbglExternalMagGen : InventoryMagGen
{
public UbglExternalMagGen()
{
}
public int GetPriority()
{
return 1;
}
public bool CanHandleInventoryMagGen(InventoryMagGen inventoryMagGen)
{
throw new NotImplementedException();
}
public void Process(InventoryMagGen inventoryMagGen)
{
throw new NotImplementedException();
}
}