initial change of nullables and few more generators
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user